| Interface | osid.contact.AddressBookQuery | ||
|---|---|---|---|
| Implements | osid.OsidCatalogQuery | ||
| Description |
This is the query for searching for address books. Each
method specifies an | ||
| Method | matchContactId | ||
| Description |
Sets the contact | ||
| Parameters | osid.id.Id | contactId | a contact Id |
boolean | match | true for a positive match, false for a
negative match | |
| Errors | NULL_ARGUMENT | contactId is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearContactIdTerms | ||
| Description |
Clears the contact | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | supportsContactQuery | ||
| Description |
Tests if a contact query is available. | ||
| Return | boolean | true if a contact query is available, false
otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getContactQuery | ||
| Description |
Gets the query for an address book. | ||
| Return | osid.contact.ContactQuery | the contact query | |
| Errors | UNIMPLEMENTED | supportsContactQuery() is false | |
| Compliance | optional | This method must be implemented if supportsContactQuery() is
true. | |
| Method | matchAnyContact | ||
| Description |
Matches address books with any contact. | ||
| Parameters | boolean | match | true to match address books with any contact, false
to match address books with no contacts |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearContactTerms | ||
| Description |
Clears the contact terms. | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | matchAddressId | ||
| Description |
Sets the address | ||
| Parameters | osid.id.Id | addressId | an address Id |
boolean | match | true for a positive match, false for a
negative match | |
| Errors | NULL_ARGUMENT | addressId is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearAddressIdTerms | ||
| Description |
Clears the address | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | supportsAddressQuery | ||
| Description |
Tests if an | ||
| Return | boolean | true if an address query is available, false
otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getAddressQuery | ||
| Description |
Gets the query for an address query. Multiple
retrievals produce a nested | ||
| Return | osid.contact.AddressQuery | the address query | |
| Errors | UNIMPLEMENTED | supportsAddressQuery() is false | |
| Compliance | optional | This method must be implemented if supportsAddressQuery() is
true. | |
| Method | matchAnyAddress | ||
| Description |
Matches address books with any address. | ||
| Parameters | boolean | match | true to match address books with any address, false
to match address books with no addresses |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearAddressTerms | ||
| Description |
Clears the address terms. | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | matchAncestorAddressBookId | ||
| Description |
Sets the address book | ||
| Parameters | osid.id.Id | addressBookId | an address book Id |
boolean | match | true for a positive match, false for a
negative match | |
| Errors | NULL_ARGUMENT | addressBookId is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearAncestorAddressBookIdTerms | ||
| Description |
Clears the ancestor address book | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | supportsAncestorAddressBookQuery | ||
| Description |
Tests if an | ||
| Return | boolean | true if an address book query is available, false
otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getAncestorAddressBookQuery | ||
| Description |
Gets the query for an address book. Multiple retrievals
produce a nested | ||
| Return | osid.contact.AddressBookQuery | the address book query | |
| Errors | UNIMPLEMENTED | supportsAncestorAddressBookQuery() is false | |
| Compliance | optional | This method must be implemented if
supportsAncestorAddressBookQuery() is true. | |
| Method | matchAnyAncestorAddressBook | ||
| Description |
Matches address books with any ancestor. | ||
| Parameters | boolean | match | true to match address books with any ancestor, false
to match root address books |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearAncestorAddressBookTerms | ||
| Description |
Clears the ancestor address book terms. | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | matchDescendantAddressBookId | ||
| Description |
Sets the address book | ||
| Parameters | osid.id.Id | addressBookId | an address book Id |
boolean | match | true for a positive match, false for a
negative match | |
| Errors | NULL_ARGUMENT | addressBookId is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearDescendantAddressBookIdTerms | ||
| Description |
Clears the descendant address book | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | supportsDescendantAddressBookQuery | ||
| Description |
Tests if an | ||
| Return | boolean | true if an address book query is available, false
otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getDescendantAddressBookQuery | ||
| Description |
Gets the query for an address book. Multiple retrievals
produce a nested | ||
| Return | osid.contact.AddressBookQuery | the address book query | |
| Errors | UNIMPLEMENTED | supportsDescendantAddressBookQuery() is false | |
| Compliance | optional | This method must be implemented if
supportsDescendantAddressBookQuery() is true. | |
| Method | matchAnyDescendantAddressBook | ||
| Description |
Matches address books with any descendant. | ||
| Parameters | boolean | match | true to match address books with any descendant,
false to match leaf address books |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearDescendantAddressBookTerms | ||
| Description |
Clears the descendant address book terms. | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getAddressBookQueryRecord | ||
| Description |
Gets the query record corresponding to the given | ||
| Parameters | osid.type.Type | addressBookRecordType | an address book record type |
| Return | osid.contact.records.AddressBookQueryRecord | the address book query record | |
| Errors | NULL_ARGUMENT | addressBookRecordType is null | |
| OPERATION_FAILED | unable to complete request | ||
| UNSUPPORTED | hasRecordType(addressBookRecordType) is false | ||
| Compliance | mandatory | This method must be implemented. | |