Interface ContactSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing contact searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetContactSearchRecord(Type contactSearchRecordType) Gets the contact search record corresponding to the given contact search recordType.voidorderContactResults(ContactSearchOrder contactSearchOrder) Specify an ordering to the search results.voidsearchAmongContacts(IdList contactIds) Execute this search among the given list of contacts.Methods inherited from interface Extensible
getRecordTypes, hasRecordTypeModifier and TypeMethodDescriptionGets the record types available in this object.booleanhasRecordType(Type recordType) Tests if this object supports the given recordType.Methods inherited from interface OsidSearch
limitResultSetModifier and TypeMethodDescriptionvoidlimitResultSet(long start, long end) By default, searches return all matching results.
-
Method Details
-
searchAmongContacts
Execute this search among the given list of contacts.- Parameters:
contactIds- list of contacts- Throws:
NullArgumentException-contactIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderContactResults
Specify an ordering to the search results.- Parameters:
contactSearchOrder- contact search order- Throws:
NullArgumentException-contactSearchOrderisnullUnsupportedException-contactSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getContactSearchRecord
ContactSearchRecord getContactSearchRecord(Type contactSearchRecordType) throws OperationFailedException Gets the contact search record corresponding to the given contact search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
contactSearchRecordType- a contact search record type- Returns:
- the contact search record
- Throws:
NullArgumentException-contactSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(contactSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-