Interface KeySearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
KeySearch defines options for governing key searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetKeySearchRecord(Type keySearchRecordType) Gets the record corresponding to the given key search recordType.voidorderKeyResults(KeySearchOrder keySearchOrder) Specify an ordering to the search results.voidsearchAmongKeys(IdList agentIds) Execute this search among the given list of keys.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
-
searchAmongKeys
Execute this search among the given list of keys.- Parameters:
agentIds- list of agents- Throws:
NullArgumentException-agentIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderKeyResults
Specify an ordering to the search results.- Parameters:
keySearchOrder- key search order- Throws:
NullArgumentException-keySearchOrderisnullUnsupportedException-keySearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getKeySearchRecord
Gets the record corresponding to the given key search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
keySearchRecordType- a key search record type- Returns:
- the key search record
- Throws:
NullArgumentException-keySearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(keySearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-