OSID Logo
OSID Specifications
contact rules package
Version 3.0.0
Release Candidate Preview
Interfaceosid.contact.rules.ContactRulesManager
Implementsosid.OsidManager
osid.contact.rules.ContactRulesProfile
Description

The contact rules manager provides access to address book rules sessions and provides interoperability tests for various aspects of this service. The sessions included in this manager are:

  • ContactEnablerLookupSession: a session to retrieve contact enablers
  • ContactEnablerQuerySession: a session to query for contact enablers
  • ContactEnablerSearchSession: a session to search for contact enablers
  • ContactEnablerAdminSession: a session to create and delete contact enablers
  • ContactEnablerNotificationSession: a session to receive notifications pertaining to contact enabler changes
  • ContactEnablerAddressBookSession: a session to look up contact enabler address book mappings
  • ContactEnablerAddressBookAssignmentSession: a session to manage contact enabler to address book mappings
  • ContactEnablerSmartAddressBookSession: a session to manage dynamic address books of contact enablers
  • ContactEnablerRuleLookupSession: a session to look up contact enabler to contact mappings
  • ContactEnablerRuleApplicationSession: a session to apply contact enablers to contacts
MethodgetContactEnablerLookupSession
Description

Gets the OsidSession associated with the contact enabler lookup service.

Returnosid.contact.rules.ContactEnablerLookupSessiona ContactEnablerLookupSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsContactEnablerLookup() is false
ComplianceoptionalThis method must be implemented if supportsContactEnablerLookup() is true.
MethodgetContactEnablerLookupSessionForAddressBook
Description

Gets the OsidSession associated with the contact enabler lookup service for the given address book.

Parametersosid.id.IdaddressBookIdthe Id of the AddressBook
Returnosid.contact.rules.ContactEnablerLookupSessiona ContactEnablerLookupSession
ErrorsNOT_FOUNDno AddressBook found by the given Id
NULL_ARGUMENT addressBookId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsContactEnablerLookup() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsContactEnablerLookup() and supportsVisibleFederation() are true.
MethodgetContactEnablerQuerySession
Description

Gets the OsidSession associated with the contact enabler query service.

Returnosid.contact.rules.ContactEnablerQuerySessiona ContactEnablerQuerySession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsContactEnablerQuery() is false
ComplianceoptionalThis method must be implemented if supportsContactEnablerQuery() is true.
MethodgetContactEnablerQuerySessionForAddressBook
Description

Gets the OsidSession associated with the contact enabler query service for the given address book.

Parametersosid.id.IdaddressBookIdthe Id of the AddressBook
Returnosid.contact.rules.ContactEnablerQuerySessiona ContactEnablerQuerySession
ErrorsNOT_FOUNDno AddressBook found by the given Id
NULL_ARGUMENT addressBookId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsContactEnablerQuery() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsContactEnablerQuery() and supportsVisibleFederation() are true.
MethodgetContactEnablerSearchSession
Description

Gets the OsidSession associated with the contact enabler search service.

Returnosid.contact.rules.ContactEnablerSearchSessiona ContactEnablerSearchSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsContactEnablerSearch() is false
ComplianceoptionalThis method must be implemented if supportsContactEnablerSearch() is true.
MethodgetContactEnablerSearchSessionForAddressBook
Description

Gets the OsidSession associated with the contact enablers earch service for the given address book.

Parametersosid.id.IdaddressBookIdthe Id of the AddressBook
Returnosid.contact.rules.ContactEnablerSearchSessiona ContactEnablerSearchSession
ErrorsNOT_FOUNDno AddressBook found by the given Id
NULL_ARGUMENT addressBookId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsContactEnablerSearch() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsContactEnablerSearch() and supportsVisibleFederation() are true.
MethodgetContactEnablerAdminSession
Description

Gets the OsidSession associated with the contact enabler administration service.

Returnosid.contact.rules.ContactEnablerAdminSessiona ContactEnablerAdminSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsContactEnablerAdmin() is false
ComplianceoptionalThis method must be implemented if supportsContactEnablerAdmin() is true.
MethodgetContactEnablerAdminSessionForAddressBook
Description

Gets the OsidSession associated with the contact enabler administration service for the given address book.

Parametersosid.id.IdaddressBookIdthe Id of the AddressBook
Returnosid.contact.rules.ContactEnablerAdminSessiona ContactEnablerAdminSession
ErrorsNOT_FOUNDno AddressBook found by the given Id
NULL_ARGUMENT addressBookId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsContactEnablerAdmin() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsContactEnablerAdmin() and supportsVisibleFederation() are true.
MethodgetContactEnablerNotificationSession
Description

Gets the OsidSession associated with the contact enabler notification service.

Parametersosid.contact.rules.ContactEnablerReceivercontactEnablerReceiverthe notification callback
Returnosid.contact.rules.ContactEnablerNotificationSessiona ContactEnablerNotificationSession
ErrorsNULL_ARGUMENT contactEnablerReceiver is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsContactEnablerNotification() is false
ComplianceoptionalThis method must be implemented if supportsContactEnablerNotification() is true.
MethodgetContactEnablerNotificationSessionForAddressBook
Description

Gets the OsidSession associated with the contact enabler notification service for the given address book.

Parametersosid.contact.rules.ContactEnablerReceivercontactEnablerReceiverthe notification callback
osid.id.IdaddressBookIdthe Id of the AddressBook
Returnosid.contact.rules.ContactEnablerNotificationSessiona ContactEnablerNotificationSession
ErrorsNOT_FOUNDno address book found by the given Id
NULL_ARGUMENT contactEnablerReceiver or addressBookId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsContactEnablerNotification() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsContactEnablerNotification() and supportsVisibleFederation() are true.
MethodgetContactEnablerAddressBookSession
Description

Gets the OsidSession to lookup contact enabler/address book mappings for contact enablers.

Returnosid.contact.rules.ContactEnablerAddressBookSessiona ContactEnablerAddressBookSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsContactEnablerAddressBook() is false
ComplianceoptionalThis method must be implemented if supportsContactEnablerAddressBook() is true.
MethodgetContactEnablerAddressBookAssignmentSession
Description

Gets the OsidSession associated with assigning contact enablers to address books for contact.

Returnosid.contact.rules.ContactEnablerAddressBookAssignmentSessiona ContactEnablerAddressBookAssignmentSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsContactEnablerAddressBookAssignment() is false
ComplianceoptionalThis method must be implemented if supportsContactEnablerAddressBookAssignment() is true.
MethodgetContactEnablerSmartAddressBookSession
Description

Gets the OsidSession to manage contact enabler smart address books.

Parametersosid.id.IdaddressBookIdthe Id of the AddressBook
Returnosid.contact.rules.ContactEnablerSmartAddressBookSessiona ContactEnablerSmartAddressBookSession
ErrorsNOT_FOUNDno AddressBook found by the given Id
NULL_ARGUMENT addressBookId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsContactEnablerSmartAddressBook() is false
ComplianceoptionalThis method must be implemented if supportsContactEnablerSmartAddressBook() is true.
MethodgetContactEnablerRuleLookupSession
Description

Gets the OsidSession associated with the contact enabler mapping lookup service.

Returnosid.contact.rules.ContactEnablerRuleLookupSessiona ContactEnablertRuleLookupSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsContactEnablerRuleLookup() is false
ComplianceoptionalThis method must be implemented if supportsContactEnablerRuleLookup() is true.
MethodgetContactEnablerRuleLookupSessionForAddressBook
Description

Gets the OsidSession associated with the contact enabler mapping lookup service for the given address book.

Parametersosid.id.IdaddressBookIdthe Id of the AddressBook
Returnosid.contact.rules.ContactEnablerRuleLookupSessiona ContactEnablerRuleLookupSession
ErrorsNOT_FOUNDno AddressBook found by the given Id
NULL_ARGUMENT addressBookId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsContactEnablerRuleLookup() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsContactEnablerRuleLookup() and supportsVisibleFederation() are true.
MethodgetContactEnablerRuleApplicationSession
Description

Gets the OsidSession associated with the contact enabler assignment service to apply enablers.

Returnosid.contact.rules.ContactEnablerRuleApplicationSessiona ContactEnablerRuleApplicationSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsContactEnablerRuleApplication() is false
ComplianceoptionalThis method must be implemented if supportsContactEnablerRuleApplication() is true.
MethodgetContactEnablerRuleApplicationSessionForAddressBook
Description

Gets the OsidSession associated with the contact enabler assignment service for the given address book to apply enablers.

Parametersosid.id.IdaddressBookIdthe Id of the AddressBook
Returnosid.contact.rules.ContactEnablerRuleApplicationSessiona ContactEnablerRuleApplicationSession
ErrorsNOT_FOUNDno AddressBook found by the given Id
NULL_ARGUMENT addressBookId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsContactEnablerRuleApplication() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsContactEnablerRuleApplication() and supportsVisibleFederation() are true.