Interface PositionSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing position searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetPositionSearchRecord(Type positionSearchRecordType) Gets the record corresponding to the given position search recordType.voidorderPositionResults(PositionSearchOrder positionSearchOrder) Specify an ordering to the search results.voidsearchAmongPositions(IdList positionIds) Execute this search among the given list of positions.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
-
searchAmongPositions
Execute this search among the given list of positions.- Parameters:
positionIds- list of positions- Throws:
NullArgumentException-positionIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderPositionResults
Specify an ordering to the search results.- Parameters:
positionSearchOrder- position search order- Throws:
NullArgumentException-positionSearchOrderisnullUnsupportedException-positionSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getPositionSearchRecord
PositionSearchRecord getPositionSearchRecord(Type positionSearchRecordType) throws OperationFailedException Gets the record corresponding to the given position search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
positionSearchRecordType- a position search record type- Returns:
- the position search record
- Throws:
NullArgumentException-positionSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(positionSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-