OSID Logo
OSID Specifications
contact package
Version 3.1.0
Interfaceosid.contact.ContactManager
Implementsosid.OsidManager
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. 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.

Returnosid.contact.ContactSession a ContactSession
ErrorsOPERATION_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.IdaddressBookId the Id of the AddressBook
Returnosid.contact.ContactSession a ContactSession
ErrorsNOT_FOUND no AddressBook found by the given Id
NULL_ARGUMENT addressBookId 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.

Returnosid.contact.ContactLookupSession a ContactLookupSession
ErrorsOPERATION_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.IdaddressBookId the Id of the AddressBook
Returnosid.contact.ContactLookupSession a ContactLookupSession
ErrorsNOT_FOUND no AddressBook found by the given Id
NULL_ARGUMENT addressBookId 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.

Returnosid.contact.ContactQuerySession a ContactQuerySession
ErrorsOPERATION_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.IdaddressBookId the Id of the AddressBook
Returnosid.contact.ContactQuerySession a ContactQuerySession
ErrorsNOT_FOUND no AddressBook found by the given Id
NULL_ARGUMENT addressBookId 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.

Returnosid.contact.ContactSearchSession a ContactSearchSession
ErrorsOPERATION_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.IdaddressBookId the Id of the AddressBook
Returnosid.contact.ContactSearchSession a ContactSearchSession
ErrorsNOT_FOUND no AddressBook found by the given Id
NULL_ARGUMENT addressBookId 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.

Returnosid.contact.ContactAdminSession a ContactAdminSession
ErrorsOPERATION_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.IdaddressBookId the Id of the AddressBook
Returnosid.contact.ContactAdminSession a ContactAdminSession
ErrorsNOT_FOUND no AddressBook found by the given Id
NULL_ARGUMENT addressBookId 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
Returnosid.contact.ContactNotificationSession a ContactNotificationSession
ErrorsNULL_ARGUMENT contactReceiver 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.IdaddressBookId the Id of the AddressBook
Returnosid.contact.ContactNotificationSession a ContactNotificationSession
ErrorsNOT_FOUND no AddressBook found by the given Id
NULL_ARGUMENT contactReceiver or addressBookId 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.

Returnosid.contact.ContactAddressBookSession a ContactAddressBookSession
ErrorsOPERATION_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.

Returnosid.contact.ContactAddressBookAssignmentSession a ContactAddressBookAssignmentSession
ErrorsOPERATION_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
Returnosid.contact.ContactSmartAddressBookSession a ContactSmartAddressBookSession
ErrorsNOT_FOUND contactBookId not found
NULL_ARGUMENT contactBookId 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.

Returnosid.contact.AddressLookupSession an AddressLookupSession
ErrorsOPERATION_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 Address
Returnosid.contact.AddressLookupSession an AddressLookupSession
ErrorsNOT_FOUND no AddressBook found by the given Id
NULL_ARGUMENT addressBookId 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.

Returnosid.contact.AddressQuerySession an AddressQuerySession
ErrorsOPERATION_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 Address
Returnosid.contact.AddressQuerySession an AddressQuerySession
ErrorsNOT_FOUND no AddressBook found by the given Id
NULL_ARGUMENT addressBookId 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.

Returnosid.contact.AddressSearchSession an AddressSearchSession
ErrorsOPERATION_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 Address
Returnosid.contact.AddressSearchSession an AddressSearchSession
ErrorsNOT_FOUND no AddressBook found by the given Id
NULL_ARGUMENT addressBookId 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.

Returnosid.contact.AddressAdminSession an AddressAdminSession
ErrorsOPERATION_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 administrative service for the given address book.

Parametersosid.id.IdaddressBookId the Id of the Address
Returnosid.contact.AddressAdminSession an AddressAdminSession
ErrorsNOT_FOUND no AddressBook found by the given Id
NULL_ARGUMENT addressBookId 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
Returnosid.contact.AddressNotificationSession an AddressNotificationSession
ErrorsNULL_ARGUMENT addressReceiver 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
Returnosid.contact.AddressNotificationSession an AddressNotificationSession
ErrorsNOT_FOUND no AddressBook found by the given Id
NULL_ARGUMENT addressReceiver 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.

Returnosid.contact.AddressAddressBookSession an AddressAddressBookSession
ErrorsOPERATION_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.

Returnosid.contact.AddressAddressBookAssignmentSession an AddressAddressBookAssignmentSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsAddressAddressBookAssignment() is false
Complianceoptional This method must be implemented if supportsAddressAddressBookAssignment() is true.
MethodgetAddressSmartAddressBookSession
Description

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

Parametersosid.id.IdaddressBookId the Id of the address book
Returnosid.contact.AddressSmartAddressBookSession an AddressSmartAddressBookSession
ErrorsNOT_FOUND addressBookId not found
NULL_ARGUMENT addressBookId 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.

Returnosid.contact.AddressBookLookupSession an AddressBookLookupSession
ErrorsOPERATION_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.

Returnosid.contact.AddressBookQuerySession an AddressBookQuerySession
ErrorsOPERATION_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.

Returnosid.contact.AddressBookSearchSession an AddressBookSearchSession
ErrorsOPERATION_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.

Returnosid.contact.AddressBookAdminSession an AddressBookAdminSession
ErrorsOPERATION_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
Returnosid.contact.AddressBookNotificationSession an AddressBookNotificationSession
ErrorsNULL_ARGUMENT addressBookReceiver 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.

Returnosid.contact.AddressBookHierarchySession an AddressBookHierarchySession
ErrorsOPERATION_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.

Returnosid.contact.AddressBookHierarchyDesignSession an AddressBookHierarchyDesignSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsAddressBookHierarchyDesign() is false
Complianceoptional This method must be implemented if supportsAddressBookHierarchyDesign() is true.
MethodgetContactBatchManager
Description

Gets the ContactBatchManager.

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

Gets the ContactRulesManager.

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