Interface | osid.contact.ContactManager | ||
---|---|---|---|
Implements | osid.OsidManager | ||
osid.contact.ContactProfile | |||
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:
The contact manager also provides a profile for determing the supported search types supported by this service. | ||
Method | getContactSession | ||
Description |
Gets the | ||
Return | osid.contact.ContactSession | a ContactSession | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsContact() is false | ||
Compliance | optional | This method must be implemented if supportsContact() is
true. | |
Method | getContactSessionForAddressBook | ||
Description |
Gets the | ||
Parameters | osid.id.Id | addressBookId | the Id of the AddressBook |
Return | osid.contact.ContactSession | a ContactSession | |
Errors | NOT_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 | ||
Compliance | optional | This method must be implemented if supportsContact() and
supportsVisibleFederation() are true | |
Method | getContactLookupSession | ||
Description |
Gets the | ||
Return | osid.contact.ContactLookupSession | a ContactLookupSession | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsContactLookup() is false | ||
Compliance | optional | This method must be implemented if supportsContactLookup()
is true. | |
Method | getContactLookupSessionForAddressBook | ||
Description |
Gets the | ||
Parameters | osid.id.Id | addressBookId | the Id of the AddressBook |
Return | osid.contact.ContactLookupSession | a ContactLookupSession | |
Errors | NOT_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 | ||
Compliance | optional | This method must be implemented if supportsContactLookup()
and supportsVisibleFederation() are true | |
Method | getContactQuerySession | ||
Description |
Gets the | ||
Return | osid.contact.ContactQuerySession | a ContactQuerySession | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsContactQuery() is false | ||
Compliance | optional | This method must be implemented if supportsContactQuery() is
true. | |
Method | getContactQuerySessionForAddressBook | ||
Description |
Gets the | ||
Parameters | osid.id.Id | addressBookId | the Id of the AddressBook |
Return | osid.contact.ContactQuerySession | a ContactQuerySession | |
Errors | NOT_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 | ||
Compliance | optional | This method must be implemented if supportsContactQuery()
and supportsVisibleFederation() are true | |
Method | getContactSearchSession | ||
Description |
Gets the | ||
Return | osid.contact.ContactSearchSession | a ContactSearchSession | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsContactSearch() is false | ||
Compliance | optional | This method must be implemented if supportsContactSearch()
is true. | |
Method | getContactSearchSessionForAddressBook | ||
Description |
Gets the | ||
Parameters | osid.id.Id | addressBookId | the Id of the AddressBook |
Return | osid.contact.ContactSearchSession | a ContactSearchSession | |
Errors | NOT_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 | ||
Compliance | optional | This method must be implemented if supportsContactSearch()
and supportsVisibleFederation() are true | |
Method | getContactAdminSession | ||
Description |
Gets the | ||
Return | osid.contact.ContactAdminSession | a ContactAdminSession | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsContactAdmin() is false | ||
Compliance | optional | This method must be implemented if supportsContactAdmin() is
true. | |
Method | getContactAdminSessionForAddressBook | ||
Description |
Gets the | ||
Parameters | osid.id.Id | addressBookId | the Id of the AddressBook |
Return | osid.contact.ContactAdminSession | a ContactAdminSession | |
Errors | NOT_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 | ||
Compliance | optional | This method must be implemented if supportsContactAdmin()
and supportsVisibleFederation() are true | |
Method | getContactNotificationSession | ||
Description |
Gets the | ||
Parameters | osid.contact.ContactReceiver | contactReceiver | the receiver |
Return | osid.contact.ContactNotificationSession | a ContactNotificationSession | |
Errors | NULL_ARGUMENT | contactReceiver is null | |
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsContactNotification() is false | ||
Compliance | optional | This method must be implemented if supportsContactNotification()
is true. | |
Method | getContactNotificationSessionForAddressBook | ||
Description |
Gets the | ||
Parameters | osid.contact.ContactReceiver | contactReceiver | the receiver |
osid.id.Id | addressBookId | the Id of the AddressBook | |
Return | osid.contact.ContactNotificationSession | a ContactNotificationSession | |
Errors | NOT_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 | ||
Compliance | optional | This method must be implemented if supportsContactNotification()
and supportsVisibleFederation() are true | |
Method | getContactAddressBookSession | ||
Description |
Gets the session for retrieving contact to address book mappings. | ||
Return | osid.contact.ContactAddressBookSession | a ContactAddressBookSession | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsContactAddressBook() is false | ||
Compliance | optional | This method must be implemented if supportsContactAddressBook()
is true. | |
Method | getContactAddressBookAssignmentSession | ||
Description |
Gets the session for assigning contact to address book mappings. | ||
Return | osid.contact.ContactAddressBookAssignmentSession | a ContactAddressBookAssignmentSession | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsContactAddressBookAssignment() is false
| ||
Compliance | optional | This method must be implemented if
supportsContactAddressBookAssignment() is true. | |
Method | getContactSmartAddressBookSession | ||
Description |
Gets the session associated with the contact smart address book for the given address book. | ||
Parameters | osid.id.Id | addressBookId | the Id of the contact book |
Return | osid.contact.ContactSmartAddressBookSession | a ContactSmartAddressBookSession | |
Errors | NOT_FOUND | contactBookId not found | |
NULL_ARGUMENT | contactBookId is null | ||
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsContactSmartAddressBook() is false | ||
Compliance | optional | This method must be implemented if supportsContactSmartAddressBook()
is true. | |
Method | getAddressLookupSession | ||
Description |
Gets the | ||
Return | osid.contact.AddressLookupSession | an AddressLookupSession | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsAddressLookup() is false | ||
Compliance | optional | This method must be implemented if supportsAddressLookup()
is true. | |
Method | getAddressLookupSessionForAddressBook | ||
Description |
Gets the | ||
Parameters | osid.id.Id | addressBookId | the Id of the Address |
Return | osid.contact.AddressLookupSession | an AddressLookupSession | |
Errors | NOT_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 | ||
Compliance | optional | This method must be implemented if supportsAddressLookup()
and supportsVisibleFederation() are true | |
Method | getAddressQuerySession | ||
Description |
Gets the | ||
Return | osid.contact.AddressQuerySession | an AddressQuerySession | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsAddressQuery() is false | ||
Compliance | optional | This method must be implemented if supportsAddressQuery() is
true. | |
Method | getAddressQuerySessionForAddressBook | ||
Description |
Gets the | ||
Parameters | osid.id.Id | addressBookId | the Id of the Address |
Return | osid.contact.AddressQuerySession | an AddressQuerySession | |
Errors | NOT_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 | ||
Compliance | optional | This method must be implemented if supportsAddressQuery()
and supportsVisibleFederation() are true | |
Method | getAddressSearchSession | ||
Description |
Gets the | ||
Return | osid.contact.AddressSearchSession | an AddressSearchSession | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsAddressSearch() is false | ||
Compliance | optional | This method must be implemented if supportsAddressSearch()
is true. | |
Method | getAddressSearchSessionForAddressBook | ||
Description |
Gets the | ||
Parameters | osid.id.Id | addressBookId | the Id of the Address |
Return | osid.contact.AddressSearchSession | an AddressSearchSession | |
Errors | NOT_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 | ||
Compliance | optional | This method must be implemented if supportsAddressSearch()
and supportsVisibleFederation() are true | |
Method | getAddressAdminSession | ||
Description |
Gets the | ||
Return | osid.contact.AddressAdminSession | an AddressAdminSession | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsAddressAdmin() is false | ||
Compliance | optional | This method must be implemented if supportsAddressAdmin() is
true. | |
Method | getAddressAdminSessionForAddressBook | ||
Description |
Gets the | ||
Parameters | osid.id.Id | addressBookId | the Id of the Address |
Return | osid.contact.AddressAdminSession | an AddressAdminSession | |
Errors | NOT_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 | ||
Compliance | optional | This method must be implemented if supportsAddressAdmin()
and supportsVisibleFederation() are true | |
Method | getAddressNotificationSession | ||
Description |
Gets the | ||
Parameters | osid.contact.AddressReceiver | addressReceiver | the receiver |
Return | osid.contact.AddressNotificationSession | an AddressNotificationSession | |
Errors | NULL_ARGUMENT | addressReceiver is null | |
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsAddressNotification() is false | ||
Compliance | optional | This method must be implemented if supportsAddressNotification()
is true. | |
Method | getAddressNotificationSessionForAddressBook | ||
Description |
Gets the | ||
Parameters | osid.contact.AddressReceiver | addressReceiver | the receiver |
osid.id.Id | addressBookId | the Id of the AddressBook | |
Return | osid.contact.AddressNotificationSession | an AddressNotificationSession | |
Errors | NOT_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 | ||
Compliance | optional | This method must be implemented if supportsAddressNotification()
and supportsVisibleFederation() are true | |
Method | getAddressAddressBookSession | ||
Description |
Gets the session for retrieving address to address book mappings. | ||
Return | osid.contact.AddressAddressBookSession | an AddressAddressBookSession | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsAddressAddressBook() is false | ||
Compliance | optional | This method must be implemented if supportsAddressAddressBook()
is true. | |
Method | getAddressAddressBookAssignmentSession | ||
Description |
Gets the session for assigning address to address book mappings. | ||
Return | osid.contact.AddressAddressBookAssignmentSession | an AddressAddressBookAssignmentSession | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsAddressAddressBookAssignment() is false
| ||
Compliance | optional | This method must be implemented if
supportsAddressAddressBookAssignment() is true. | |
Method | getAddressSmartAddressBookSession | ||
Description |
Gets the session associated with the address smart address book for the given address book. | ||
Parameters | osid.id.Id | addressBookId | the Id of the address book |
Return | osid.contact.AddressSmartAddressBookSession | an AddressSmartAddressBookSession | |
Errors | NOT_FOUND | addressBookId not found | |
NULL_ARGUMENT | addressBookId is null | ||
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsAddressSmartAddressBook() is false | ||
Compliance | optional | This method must be implemented if supportsAddressSmartAddressBook()
is true. | |
Method | getAddressBookLookupSession | ||
Description |
Gets the | ||
Return | osid.contact.AddressBookLookupSession | an AddressBookLookupSession | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsAddressBookLookup() is false | ||
Compliance | optional | This method must be implemented if supportsAddressBookLookup()
is true. | |
Method | getAddressBookQuerySession | ||
Description |
Gets the | ||
Return | osid.contact.AddressBookQuerySession | an AddressBookQuerySession | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsAddressBookQuery() is false | ||
Compliance | optional | This method must be implemented if supportsAddressBookQuery()
is true. | |
Method | getAddressBookSearchSession | ||
Description |
Gets the | ||
Return | osid.contact.AddressBookSearchSession | an AddressBookSearchSession | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsAddressBookSearch() is false | ||
Compliance | optional | This method must be implemented if supportsAddressBookSearch()
is true. | |
Method | getAddressBookAdminSession | ||
Description |
Gets the | ||
Return | osid.contact.AddressBookAdminSession | an AddressBookAdminSession | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsAddressBookAdmin() is false | ||
Compliance | optional | This method must be implemented if supportsAddressBookAdmin()
is true. | |
Method | getAddressBookNotificationSession | ||
Description |
Gets the | ||
Parameters | osid.contact.AddressBookReceiver | addressBookReceiver | the receiver |
Return | osid.contact.AddressBookNotificationSession | an AddressBookNotificationSession | |
Errors | NULL_ARGUMENT | addressBookReceiver is null | |
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsAddressBookNotification() is false | ||
Compliance | optional | This method must be implemented if supportsAddressBookNotification()
is true. | |
Method | getAddressBookHierarchySession | ||
Description |
Gets the | ||
Return | osid.contact.AddressBookHierarchySession | an AddressBookHierarchySession | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsAddressBookHierarchy() is false | ||
Compliance | optional | This method must be implemented if supportsAddressBookHierarchy()
is true. | |
Method | getAddressBookHierarchyDesignSession | ||
Description |
Gets the | ||
Return | osid.contact.AddressBookHierarchyDesignSession | an AddressBookHierarchyDesignSession | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsAddressBookHierarchyDesign() is false | ||
Compliance | optional | This method must be implemented if
supportsAddressBookHierarchyDesign() is true. | |
Method | getContactBatchManager | ||
Description |
Gets the | ||
Return | osid.contact.batch.ContactBatchManager | a ContactBatchManager | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsContactBatch() is false | ||
Compliance | optional | This method must be implemented if supportsContactBatch() is
true. | |
Method | getContactRulesManager | ||
Description |
Gets the | ||
Return | osid.contact.rules.ContactRulesManager | a ContactRulesManager | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsContactRules() is false | ||
Compliance | optional | This method must be implemented if supportsContactRules() is
true. |