OSID Logo
OSID Specifications
contact rules package
Version 3.0.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.Proxyproxya proxy
Returnosid.contact.rules.ContactEnablerLookupSessiona ContactEnablerLookupSession
ErrorsNULL_ARGUMENTproxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsContactEnablerLookup() 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
osid.proxy.Proxyproxya proxy
Returnosid.contact.rules.ContactEnablerLookupSessiona ContactEnablerLookupSession
ErrorsNOT_FOUNDno AddressBook found by the given Id
NULL_ARGUMENTaddressBookId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsContactEnablerLookup() 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.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.contact.rules.ContactEnablerQuerySessiona ContactEnablerQuerySession
ErrorsNULL_ARGUMENTproxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsContactEnablerQuery() 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
osid.proxy.Proxyproxya proxy
Returnosid.contact.rules.ContactEnablerQuerySessiona ContactEnablerQuerySession
ErrorsNOT_FOUNDno AddressBook found by the given Id
NULL_ARGUMENTaddressBookId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsContactEnablerQuery() 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.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.contact.rules.ContactEnablerSearchSessiona ContactEnablerSearchSession
ErrorsNULL_ARGUMENTproxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsContactEnablerSearch() 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
osid.proxy.Proxyproxya proxy
Returnosid.contact.rules.ContactEnablerSearchSessiona ContactEnablerSearchSession
ErrorsNOT_FOUNDno AddressBook found by the given Id
NULL_ARGUMENTaddressBookId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsContactEnablerSearch() 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.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.contact.rules.ContactEnablerAdminSessiona ContactEnablerAdminSession
ErrorsNULL_ARGUMENTproxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsContactEnablerAdmin() 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
osid.proxy.Proxyproxya proxy
Returnosid.contact.rules.ContactEnablerAdminSessiona ContactEnablerAdminSession
ErrorsNOT_FOUNDno AddressBook found by the given Id
NULL_ARGUMENTaddressBookId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsContactEnablerAdmin() 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
osid.proxy.Proxyproxya proxy
Returnosid.contact.rules.ContactEnablerNotificationSessiona ContactEnablerNotificationSession
ErrorsNULL_ARGUMENTcontactEnablerReceiver or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsContactEnablerNotification() 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
osid.proxy.Proxyproxya proxy
Returnosid.contact.rules.ContactEnablerNotificationSessiona ContactEnablerNotificationSession
ErrorsNOT_FOUNDno address book found by the given Id
NULL_ARGUMENTcontactEnablerReceiver, addressBookId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsContactEnablerNotification() 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.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.contact.rules.ContactEnablerAddressBookSessiona ContactEnablerAddressBookSession
ErrorsNULL_ARGUMENTproxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsContactEnablerAddressBook() 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.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.contact.rules.ContactEnablerAddressBookAssignmentSessiona ContactEnablerAddressBookAssignmentSession
ErrorsNULL_ARGUMENTproxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsContactEnablerAddressBookAssignment() 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
osid.proxy.Proxyproxya proxy
Returnosid.contact.rules.ContactEnablerSmartAddressBookSessiona ContactEnablerSmartAddressBookSession
ErrorsNOT_FOUNDno AddressBook found by the given Id
NULL_ARGUMENTaddressBookId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsContactEnablerSmartAddressBook() is false
ComplianceoptionalThis 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.Proxyproxya proxy
Returnosid.contact.rules.ContactEnablerRuleLookupSessiona ContactEnablerRuleLookupSession
ErrorsNULL_ARGUMENTproxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsContactEnablerRuleLookup() 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 for looking up rules applied to an address book.

Parametersosid.id.IdaddressBookIdthe Id of the AddressBook
osid.proxy.Proxyproxya proxy
Returnosid.contact.rules.ContactEnablerRuleLookupSessiona ContactEnablerRuleLookupSession
ErrorsNOT_FOUNDno AddressBook found by the given Id
NULL_ARGUMENTaddressBookId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsContactEnablerRuleLookup() 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.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.contact.rules.ContactEnablerRuleApplicationSessiona ContactEnablerRuleApplicationSession
ErrorsNULL_ARGUMENTproxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsContactEnablerRuleApplication() 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.

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