Interface ObstacleSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing obstacle searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetObstacleSearchRecord(Type obstacleSearchRecordType) Gets the record corresponding to the given obstacle search recordType.voidorderObstacleResults(ObstacleSearchOrder obstacleSearchOrder) Specify an ordering to the search results.voidsearchAmongObstacles(IdList obstacleIds) Execute this search among the given list of obstacle.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
-
searchAmongObstacles
Execute this search among the given list of obstacle.- Parameters:
obstacleIds- list of obstacle- Throws:
NullArgumentException-obstacleIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderObstacleResults
Specify an ordering to the search results.- Parameters:
obstacleSearchOrder- obstacle search order- Throws:
NullArgumentException-obstacleSearchOrderisnullUnsupportedException-obstacleSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getObstacleSearchRecord
ObstacleSearchRecord getObstacleSearchRecord(Type obstacleSearchRecordType) throws OperationFailedException Gets the record corresponding to the given obstacle search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
obstacleSearchRecordType- an obstacle search record type- Returns:
- the obstacle search record
- Throws:
NullArgumentException-obstacleSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(obstacleSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-