OSID Logo
OSID Specifications
contact package
Version 3.1.0
Interfaceosid.contact.ContactProxyManager
Implementsosid.OsidProxyManager
osid.contact.ContactProfile
Used Byosid.orchestration.OrchestrationManager
Description

The contact manager provides access to contact sessions and provides interoperability tests for various aspects of this service. Methods in this manager accept a Proxy for passing information from a server environment. The sessions included in this manager are:

  • ContactSession: a session to get available contacts for a resource
  • ContactLookupSession: a session to lookup contacts
  • ContactQuerySession: a session to query contacts
  • ContactSearchSession: a session to search contacts
  • ContactAdminSession: a session to manage contacts
  • ContactNotificationSession: a session to subscribe to notifications of contact changes
  • ContactAddressBookSession: a session to lookup contact address book mappings
  • ContactAddressBookAssignmentSession: a session to manage contact address book mappings
  • ContactSmartAddressBookSession: a session to manage smart address books of contacts
  • AddressLookupSession: a session to retrieve addresses
  • AddressQuerySession: a session to query addresses
  • AddressSearchSession: a session to search for addresses
  • AddressAdminSession: a session to create, update and delete addresses
  • AddressNotificationSession: a session to receive notifications for changes in addresses
  • AddressAddressBookSession: a session to lookup address address book mappings
  • AddressAddressBookAssignmentSession: a session to manage address address book mappings
  • AddressSmartAddressBookSession: a session to manage smart address books of addresses
  • AddressBookLookupSession: a session to retrieve address books
  • AddressBookQuerySession: a session to query address books
  • AddressBookSearchSession: a session to search for address books
  • AddressBookAdminSession: a session to create, update and delete address books
  • AddressBookNotificationSession: a session to receive notifications for changes in address books
  • AddressBookHierarchyTraversalSession: a session to traverse hierarchies of address books
  • AddressBookHierarchyDesignSession: a session to manage hierarchies of address books

The contact manager also provides a profile for determing the supported search types supported by this service.

MethodgetContactSession
Description

Gets the OsidSession associated with the contact service.

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

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

Parametersosid.id.IdaddressId the Id of the Address
osid.proxy.Proxyproxy a proxy
Returnosid.contact.ContactSession a ContactLookupSession
ErrorsNOT_FOUND no Address found by the given Id
NULL_ARGUMENT addressId or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsContact() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsContact() and supportsVisibleFederation() are true
MethodgetContactLookupSession
Description

Gets the OsidSession associated with the contact lookup service.

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

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

Parametersosid.id.IdaddressId the Id of the Address
osid.proxy.Proxyproxy a proxy
Returnosid.contact.ContactLookupSession a ContactLookupSession
ErrorsNOT_FOUND no Address found by the given Id
NULL_ARGUMENT addressId or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsContactLookup() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsContactLookup() and supportsVisibleFederation() are true
MethodgetContactQuerySession
Description

Gets the OsidSession associated with the contact query service.

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

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

Parametersosid.id.IdaddressId the Id of the Address
osid.proxy.Proxyproxy a proxy
Returnosid.contact.ContactQuerySession a ContactQuerySession
ErrorsNOT_FOUND no Contact found by the given Id
NULL_ARGUMENT addressId or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsContactQuery() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsContactQuery() and supportsVisibleFederation() are true
MethodgetContactSearchSession
Description

Gets the OsidSession associated with the contact search service.

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

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

Parametersosid.id.IdaddressId the Id of the Address
osid.proxy.Proxyproxy a proxy
Returnosid.contact.ContactSearchSession a ContactSearchSession
ErrorsNOT_FOUND no Contact found by the given Id
NULL_ARGUMENT addressId or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsContactSearch() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsContactSearch() and supportsVisibleFederation() are true
MethodgetContactAdminSession
Description

Gets the OsidSession associated with the contact administration service.

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

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

Parametersosid.id.IdaddressId the Id of the Address
osid.proxy.Proxyproxy a proxy
Returnosid.contact.ContactAdminSession a ContactAdminSession
ErrorsNOT_FOUND no Contact found by the given Id
NULL_ARGUMENT addressId or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsContactAdmin() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsContactAdmin() and supportsVisibleFederation() are true
MethodgetContactNotificationSession
Description

Gets the OsidSession associated with the contact notification service.

Parametersosid.contact.ContactReceivercontactReceiver the receiver
osid.proxy.Proxyproxy a proxy
Returnosid.contact.ContactNotificationSession a ContactNotificationSession
ErrorsNULL_ARGUMENT contactReceiver or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsContactNotification() is false
Complianceoptional This method must be implemented if supportsContactNotification() is true.
MethodgetContactNotificationSessionForAddressBook
Description

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

Parametersosid.contact.ContactReceivercontactReceiver the receiver
osid.id.IdaddressId the Id of the Address
osid.proxy.Proxyproxy a proxy
Returnosid.contact.ContactNotificationSession a ContactNotificationSession
ErrorsNOT_FOUND no Contact found by the given Id
NULL_ARGUMENT contactReceiver, addressId or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsContactNotification() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsContactNotification() and supportsVisibleFederation() are true
MethodgetContactAddressBookSession
Description

Gets the session for retrieving contact to address book mappings.

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

Gets the session for assigning contact to address book mappings.

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

Gets the session associated with the contact smart address book for the given address book.

Parametersosid.id.IdaddressBookId the Id of the contact book
osid.proxy.Proxyproxy a proxy
Returnosid.contact.ContactSmartAddressBookSession a ContactSmartAddressBookSession
ErrorsNOT_FOUND contactBookId not found
NULL_ARGUMENT contactBookId or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsContactSmartAddressBook() is false
Complianceoptional This method must be implemented if supportsContactSmartAddressBook() is true.
MethodgetAddressLookupSession
Description

Gets the OsidSession associated with the address lookup service.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.contact.AddressLookupSession an AddressLookupSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsAddressLookup() is false
Complianceoptional This method must be implemented if supportsAddressLookup() is true.
MethodgetAddressLookupSessionForAddressBook
Description

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

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

Gets the OsidSession associated with the address query service.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.contact.AddressQuerySession an AddressQuerySession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsAddressQuery() is false
Complianceoptional This method must be implemented if supportsAddressQuery() is true.
MethodgetAddressQuerySessionForAddressBook
Description

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

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

Gets the OsidSession associated with the address search service.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.contact.AddressSearchSession an AddressSearchSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsAddressSearch() is false
Complianceoptional This method must be implemented if supportsAddressSearch() is true.
MethodgetAddressSearchSessionForAddressBook
Description

Gets the OsidSession associated with the address search service for the given address book.

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

Gets the OsidSession associated with the address administrative service.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.contact.AddressAdminSession an AddressAdminSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsAddressAdmin() is false
Complianceoptional This method must be implemented if supportsAddressAdmin() is true.
MethodgetAddressAdminSessionForAddressBook
Description

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

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

Gets the OsidSession associated with the address notification service.

Parametersosid.contact.AddressReceiveraddressReceiver the receiver
osid.proxy.Proxyproxy a proxy
Returnosid.contact.AddressNotificationSession an AddressNotificationSession
ErrorsNULL_ARGUMENT addressReceiver or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsAddressNotification() is false
Complianceoptional This method must be implemented if supportsAddressNotification() is true.
MethodgetAddressNotificationSessionForAddressBook
Description

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

Parametersosid.contact.AddressReceiveraddressReceiver the receiver
osid.id.IdaddressBookId the Id of the AddressBook
osid.proxy.Proxyproxy a proxy
Returnosid.contact.AddressNotificationSession an AddressNotificationSession
ErrorsNOT_FOUND no Address found by the given Id
NULL_ARGUMENT addressReceiver, addressBookId or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsAddressNotification() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsAddressNotification() and supportsVisibleFederation() are true
MethodgetAddressAddressBookSession
Description

Gets the session for retrieving address to address book mappings.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.contact.AddressAddressBookSession an AddressAddressBookSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsAddressAddressBook() is false
Complianceoptional This method must be implemented if supportsAddressAddressBook() is true.
MethodgetAddressAddressBookAssignmentSession
Description

Gets the session for assigning address to address book mappings.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.contact.AddressAddressBookAssignmentSession an AddressAddressBookAssignmentSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsAddressAddressBookAssignment() is false
Complianceoptional This method must be implemented if supportsAddressAddressBookAssignment() is true.
MethodgetAddressSmartAddressBookSession
Description

Gets the session for managing dynamic address address books for the given address book.

Parametersosid.id.IdaddressBookId the Id of an address book
osid.proxy.Proxyproxy a proxy
Returnosid.contact.AddressSmartAddressBookSession an AddressSmartAddressBookSession
ErrorsNOT_FOUND addressBookId is not found
NULL_ARGUMENT addressBookId or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsAddressSmartAddressBook() is false
Complianceoptional This method must be implemented if supportsAddressSmartAddressBook() is true.
MethodgetAddressBookLookupSession
Description

Gets the OsidSession associated with the address book lookup service.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.contact.AddressBookLookupSession an AddressBookLookupSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsAddressBookLookup() is false
Complianceoptional This method must be implemented if supportsAddressBookLookup() is true.
MethodgetAddressBookQuerySession
Description

Gets the OsidSession associated with the address book query service.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.contact.AddressBookQuerySession an AddressBookQuerySession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsAddressBookQuery() is false
Complianceoptional This method must be implemented if supportsAddressBookQuery() is true.
MethodgetAddressBookSearchSession
Description

Gets the OsidSession associated with the address book search service.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.contact.AddressBookSearchSession an AddressBookSearchSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsAddressBookSearch() is false
Complianceoptional This method must be implemented if supportsAddressBookSearch() is true.
MethodgetAddressBookAdminSession
Description

Gets the OsidSession associated with the address book administrative service.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.contact.AddressBookAdminSession an AddressBookAdminSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsAddressBookAdmin() is false
Complianceoptional This method must be implemented if supportsAddressBookAdmin() is true.
MethodgetAddressBookNotificationSession
Description

Gets the OsidSession associated with the address book notification service.

Parametersosid.contact.AddressBookReceiveraddressBookReceiver the receiver
osid.proxy.Proxyproxy a proxy
Returnosid.contact.AddressBookNotificationSession an AddressBookNotificationSession
ErrorsNULL_ARGUMENT addressBookReceiver or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsAddressBookNotification() is false
Complianceoptional This method must be implemented if supportsAddressBookNotification() is true.
MethodgetAddressBookHierarchySession
Description

Gets the OsidSession associated with the address book hierarchy service.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.contact.AddressBookHierarchySession an AddressBookHierarchySession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsAddressBookHierarchy() is false
Complianceoptional This method must be implemented if supportsAddressBookHierarchy() is true.
MethodgetAddressBookHierarchyDesignSession
Description

Gets the OsidSession associated with the address book hierarchy design service.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.contact.AddressBookHierarchyDesignSession an AddressBookHierarchyDesignSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsAddressBookHierarchyDesign() is false
Complianceoptional This method must be implemented if supportsAddressBookHierarchyDesign() is true.
MethodgetContactBatchProxyManager
Description

Gets the ContactBatchProxyManager.

Returnosid.contact.batch.ContactBatchProxyManager a ContactBatchProxyManager
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsContactBatch() is false
Complianceoptional This method must be implemented if supportsContactBatch() is true.
MethodgetContactRulesProxyManager
Description

Gets the ContactRulesProxyManager.

Returnosid.contact.rules.ContactRulesProxyManager a ContactRulesProxyManager
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsContactRules() is false
Complianceoptional This method must be implemented if supportsContactRules() is true.