Interface ChainSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing chain searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetChainSearchRecord(Type chainSearchRecordType) Gets the chain search record corresponding to the given chain search recordType.voidorderChainResults(ChainSearchOrder chainSearchOrder) Specify an ordering to the search results.voidsearchAmongChains(IdList chainIds) Execute this search among the given list of chains.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
-
searchAmongChains
Execute this search among the given list of chains.- Parameters:
chainIds- list of chains- Throws:
NullArgumentException-chainIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderChainResults
Specify an ordering to the search results.- Parameters:
chainSearchOrder- chain search order- Throws:
NullArgumentException-chainSearchOrderisnullUnsupportedException-chainSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getChainSearchRecord
Gets the chain search record corresponding to the given chain search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
chainSearchRecordType- a chain search record type- Returns:
- the chain search interface
- Throws:
NullArgumentException-chainSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(chainSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-