Interface | osid.contact.ContactSmartAddressBookSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session manages queries and sequencing to create
"smart" dynamic catalogs. A This | ||
Method | getAddressBookId | ||
Description |
Gets the | ||
Return | osid.id.Id | the AddressBook Id associated with this session | |
Compliance | mandatory | This method must be implemented. | |
Method | getAddressBook | ||
Description |
Gets the | ||
Return | osid.contact.AddressBook | the AddressBook associated with this session | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | canManageSmartAddressBooks | ||
Description |
Tests if this user can manage smart address books. A
return of true does not guarantee successful
authorization. A return of false indicates that it is
known methods in this session will result in a | ||
Return | boolean | false if smart address book management is not authorized,
true otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | getContactQuery | ||
Description |
Gets a contact query. | ||
Return | osid.contact.ContactQuery | the contact query | |
Compliance | mandatory | This method must be implemented. | |
Method | getContactSearchOrder | ||
Description |
Gets a contact search order. | ||
Return | osid.contact.ContactSearchOrder | the contact search order | |
Compliance | mandatory | This method must be implemented. | |
Method | applyContactQuery | ||
Description |
Applies a contact query to this address book. | ||
Parameters | osid.contact.ContactQuery | contactQuery | the contact query |
Errors | NULL_ARGUMENT | contactQuery is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure occurred | ||
UNSUPPORTED | contactQuery not of this service | ||
Compliance | mandatory | This method must be implemented. | |
Method | inspectContactQuery | ||
Description |
Gets a contact query inspector for this address book. | ||
Return | osid.contact.ContactQueryInspector | the contact query inspector | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure occurred | ||
Compliance | mandatory | This method must be implemented. | |
Method | applyContactSequencing | ||
Description |
Applies a contact search order to this address book. | ||
Parameters | osid.contact.ContactSearchOrder | contactSearchOrder | the contact search order |
Errors | NULL_ARGUMENT | contactSearchOrder is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure occurred | ||
UNSUPPORTED | contactSearchOrder not of this service | ||
Compliance | mandatory | This method must be implemented. | |
Method | getContactQueryFromInspector | ||
Description |
Gets a contact query from an inspector. | ||
Parameters | osid.contact.ContactQueryInspector | contactQueryInspector | a query inspector |
Return | osid.contact.ContactQuery | the contact query | |
Errors | NULL_ARGUMENT | contactQueryInspector is null | |
UNSUPPORTED | contactQueryInspector is not of this service | ||
Compliance | mandatory | This method must be implemented. |