| Interface | osid.contact.AddressSmartAddressBookSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description |
This session manages queries and sequencing to create
"smart" dynamic catalogs. An 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 | getAddressQuery | ||
| Description |
Gets an address query. | ||
| Return | osid.contact.AddressQuery | the address query | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getAddressSearchOrder | ||
| Description |
Gets an address search order. | ||
| Return | osid.contact.AddressSearchOrder | the address search order | |
| Compliance | mandatory | This method must be implemented. | |
| Method | applyAddressQuery | ||
| Description |
Applies an address query to this address book. | ||
| Parameters | osid.contact.AddressQuery | addressQuery | the address query |
| Errors | NULL_ARGUMENT | addressQuery is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| UNSUPPORTED | addressQuery not of this service | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | inspectAddressQuery | ||
| Description |
Gets an address query inspector for this address book. | ||
| Return | osid.contact.AddressQueryInspector | the address query inspector | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure occurred | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | applyAddressSequencing | ||
| Description |
Applies an address search order to this address book. | ||
| Parameters | osid.contact.AddressSearchOrder | addressSearchOrder | the address search order |
| Errors | NULL_ARGUMENT | addressSearchOrder is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| UNSUPPORTED | addressSearchOrder not of this service | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getAddressQueryFromInspector | ||
| Description |
Gets an address query from an inspector. | ||
| Parameters | osid.contact.AddressQueryInspector | addressQueryInspector | a query inspector |
| Return | osid.contact.AddressQuery | the address query | |
| Errors | NULL_ARGUMENT | addressQueryInspector is null | |
| UNSUPPORTED | addressQueryInspector is not of this service | ||
| Compliance | mandatory | This method must be implemented. | |