OSID Logo
OSID Specifications
contact rules package
Version 3.1.0
Interfaceosid.contact.rules.ContactRulesProxyManager
Implementsosid.OsidProxyManager
osid.contact.rules.ContactRulesProfile
Used Byosid.contact.ContactProxyManager
Description

The contact rules proxy manager provides access to contact rules sessions and provides interoperability tests for various aspects of this service. Methods in this manager pass a Proxy for passing information from server environments. 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.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.contact.rules.ContactEnablerLookupSession a ContactEnablerLookupSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsContactEnablerLookup() is false
Complianceoptional This 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.IdaddressBookId the Id of the AddressBook
osid.proxy.Proxyproxy a proxy
Returnosid.contact.rules.ContactEnablerLookupSession a ContactEnablerLookupSession
ErrorsNOT_FOUND no AddressBook found by the given Id
NULL_ARGUMENT addressBookId or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsContactEnablerLookup() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsContactEnablerLookup() and supportsVisibleFederation() are true.
MethodgetContactEnablerQuerySession
Description

Gets the OsidSession associated with the contact enabler query service.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.contact.rules.ContactEnablerQuerySession a ContactEnablerQuerySession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsContactEnablerQuery() is false
Complianceoptional This 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.IdaddressBookId the Id of the AddressBook
osid.proxy.Proxyproxy a proxy
Returnosid.contact.rules.ContactEnablerQuerySession a ContactEnablerQuerySession
ErrorsNOT_FOUND no AddressBook found by the given Id
NULL_ARGUMENT addressBookId or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsContactEnablerQuery() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsContactEnablerQuery() and supportsVisibleFederation() are true.
MethodgetContactEnablerSearchSession
Description

Gets the OsidSession associated with the contact enabler search service.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.contact.rules.ContactEnablerSearchSession a ContactEnablerSearchSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsContactEnablerSearch() is false
Complianceoptional This 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.IdaddressBookId the Id of the AddressBook
osid.proxy.Proxyproxy a proxy
Returnosid.contact.rules.ContactEnablerSearchSession a ContactEnablerSearchSession
ErrorsNOT_FOUND no AddressBook found by the given Id
NULL_ARGUMENT addressBookId or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsContactEnablerSearch() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsContactEnablerSearch() and supportsVisibleFederation() are true.
MethodgetContactEnablerAdminSession
Description

Gets the OsidSession associated with the contact enabler administration service.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.contact.rules.ContactEnablerAdminSession a ContactEnablerAdminSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsContactEnablerAdmin() is false
Complianceoptional This 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.IdaddressBookId the Id of the AddressBook
osid.proxy.Proxyproxy a proxy
Returnosid.contact.rules.ContactEnablerAdminSession a ContactEnablerAdminSession
ErrorsNOT_FOUND no AddressBook found by the given Id
NULL_ARGUMENT addressBookId or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsContactEnablerAdmin() or supportsVisibleFederation() is false
Complianceoptional This 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.ContactEnablerReceivercontactEnablerReceiver the notification callback
osid.proxy.Proxyproxy a proxy
Returnosid.contact.rules.ContactEnablerNotificationSession a ContactEnablerNotificationSession
ErrorsNULL_ARGUMENT contactEnablerReceiver or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsContactEnablerNotification() is false
Complianceoptional This 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.ContactEnablerReceivercontactEnablerReceiver the notification callback
osid.id.IdaddressBookId the Id of the AddressBook
osid.proxy.Proxyproxy a proxy
Returnosid.contact.rules.ContactEnablerNotificationSession a ContactEnablerNotificationSession
ErrorsNOT_FOUND no address book found by the given Id
NULL_ARGUMENT contactEnablerReceiver, addressBookId or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsContactEnablerNotification() or supportsVisibleFederation() is false
Complianceoptional This 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.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.contact.rules.ContactEnablerAddressBookSession a ContactEnablerAddressBookSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsContactEnablerAddressBook() is false
Complianceoptional This method must be implemented if supportsContactEnablerAddressBook() is true.
MethodgetContactEnablerAddressBookAssignmentSession
Description

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

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.contact.rules.ContactEnablerAddressBookAssignmentSession a ContactEnablerAddressBookAssignmentSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsContactEnablerAddressBookAssignment() is false
Complianceoptional This method must be implemented if supportsContactEnablerAddressBookAssignment() is true.
MethodgetContactEnablerSmartAddressBookSession
Description

Gets the OsidSession to manage contact enabler smart address books.

Parametersosid.id.IdaddressBookId the Id of the AddressBook
osid.proxy.Proxyproxy a proxy
Returnosid.contact.rules.ContactEnablerSmartAddressBookSession a ContactEnablerSmartAddressBookSession
ErrorsNOT_FOUND no AddressBook found by the given Id
NULL_ARGUMENT addressBookId or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsContactEnablerSmartAddressBook() is false
Complianceoptional This method must be implemented if supportsContactEnablerSmartAddressBook() is true.
MethodgetContactEnablerRuleLookupSession
Description

Gets the OsidSession associated with the contact enabler mapping lookup service for looking up the rules applied to the address book.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.contact.rules.ContactEnablerRuleLookupSession a ContactEnablerRuleLookupSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsContactEnablerRuleLookup() is false
Complianceoptional This 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 for looking up rules applied to an address book.

Parametersosid.id.IdaddressBookId the Id of the AddressBook
osid.proxy.Proxyproxy a proxy
Returnosid.contact.rules.ContactEnablerRuleLookupSession a ContactEnablerRuleLookupSession
ErrorsNOT_FOUND no AddressBook found by the given Id
NULL_ARGUMENT addressBookId or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsContactEnablerRuleLookup() or supportsVisibleFederation() is false
Complianceoptional This 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.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.contact.rules.ContactEnablerRuleApplicationSession a ContactEnablerRuleApplicationSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsContactEnablerRuleApplication() is false
Complianceoptional This 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.

Parametersosid.id.IdaddressBookId the Id of the AddressBook
osid.proxy.Proxyproxy a proxy
Returnosid.contact.rules.ContactEnablerRuleApplicationSession a ContactEnablerRuleApplicationSession
ErrorsNOT_FOUND no AddressBook found by the given Id
NULL_ARGUMENT addressBookId or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsContactEnablerRuleApplication() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsContactEnablerRuleApplication() and supportsVisibleFederation() are true.