Interface StateSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing state searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetStateSearchRecord(Type stateSearchRecordType) Gets the state seaqrch record corresponding to the given state search recordType.voidorderStateResults(StateSearchOrder stateSearchOrder) Specify an ordering to the search results.voidsearchAmongStates(IdList stateIds) Execute this search among the given list of states.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
-
searchAmongStates
Execute this search among the given list of states.- Parameters:
stateIds- list of stateIds- Throws:
NullArgumentException-stateIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderStateResults
Specify an ordering to the search results.- Parameters:
stateSearchOrder- state search order- Throws:
NullArgumentException-stateSearchOrderisnullUnsupportedException-stateSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getStateSearchRecord
Gets the state seaqrch record corresponding to the given state search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
stateSearchRecordType- a state search record type- Returns:
- the state search record
- Throws:
NullArgumentException-stateSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordTypeType(stateSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-