OSID Logo
OSID Specifications
contact rules package
Version 3.0.0
Release Candidate Preview
Interfaceosid.contact.rules.ContactRulesProxyManager
Implementsosid.OsidProxyManager
osid.contact.rules.ContactRulesProfile
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_ARGUMENT proxy is null
OPERATION_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
osid.proxy.Proxyproxya proxy
Returnosid.contact.rules.ContactEnablerLookupSessiona ContactEnablerLookupSession
ErrorsNOT_FOUNDno AddressBook found by the given Id
NULL_ARGUMENT addressBookId or proxy 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.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.contact.rules.ContactEnablerQuerySessiona ContactEnablerQuerySession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_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
osid.proxy.Proxyproxya proxy
Returnosid.contact.rules.ContactEnablerQuerySessiona ContactEnablerQuerySession
ErrorsNOT_FOUNDno AddressBook found by the given Id
NULL_ARGUMENT addressBookId or proxy 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.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.contact.rules.ContactEnablerSearchSessiona ContactEnablerSearchSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_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
osid.proxy.Proxyproxya proxy
Returnosid.contact.rules.ContactEnablerSearchSessiona ContactEnablerSearchSession
ErrorsNOT_FOUNDno AddressBook found by the given Id
NULL_ARGUMENT addressBookId or proxy 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.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.contact.rules.ContactEnablerAdminSessiona ContactEnablerAdminSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_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
osid.proxy.Proxyproxya proxy
Returnosid.contact.rules.ContactEnablerAdminSessiona ContactEnablerAdminSession
ErrorsNOT_FOUNDno AddressBook found by the given Id
NULL_ARGUMENT addressBookId or proxy 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
osid.proxy.Proxyproxya proxy
Returnosid.contact.rules.ContactEnablerNotificationSessiona ContactEnablerNotificationSession
ErrorsNULL_ARGUMENT contactEnablerReceiver or proxy 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
osid.proxy.Proxyproxya proxy
Returnosid.contact.rules.ContactEnablerNotificationSessiona ContactEnablerNotificationSession
ErrorsNOT_FOUNDno address book found by the given Id
NULL_ARGUMENT contactEnablerReceiver, addressBookId or proxy 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.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.contact.rules.ContactEnablerAddressBookSessiona ContactEnablerAddressBookSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_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.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.contact.rules.ContactEnablerAddressBookAssignmentSessiona ContactEnablerAddressBookAssignmentSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_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
osid.proxy.Proxyproxya proxy
Returnosid.contact.rules.ContactEnablerSmartAddressBookSessiona ContactEnablerSmartAddressBookSession
ErrorsNOT_FOUNDno AddressBook found by the given Id
NULL_ARGUMENT addressBookId or proxy 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 for looking up the rules applied to the address book.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.contact.rules.ContactEnablerRuleLookupSessiona ContactEnablerRuleLookupSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_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 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_ARGUMENT addressBookId or proxy 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.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.contact.rules.ContactEnablerRuleApplicationSessiona ContactEnablerRuleApplicationSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_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.

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_ARGUMENT addressBookId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsContactEnablerRuleApplication() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsContactEnablerRuleApplication() and supportsVisibleFederation() are true.