Interface DirectionSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing direction searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetDirectionSearchRecord(Type directionSearchRecordType) Gets the direction search record corresponding to the given direction search recordType.voidorderDirectionResults(DirectionSearchOrder directionSearchOrder) Specify an ordering to the search results.voidsearchAmongDirections(IdList directionIds) Execute this search among the given list of directions.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
-
searchAmongDirections
Execute this search among the given list of directions.- Parameters:
directionIds- list of directions- Throws:
NullArgumentException-directionIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderDirectionResults
Specify an ordering to the search results.- Parameters:
directionSearchOrder- direction search order- Throws:
NullArgumentException-directionSearchOrderisnullUnsupportedException-directionSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getDirectionSearchRecord
DirectionSearchRecord getDirectionSearchRecord(Type directionSearchRecordType) throws OperationFailedException, PermissionDeniedException Gets the direction search record corresponding to the given direction search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
directionSearchRecordType- a direction search record type- Returns:
- the direction search record
- Throws:
NullArgumentException-directionSearchRecordTypeisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure occurredUnsupportedException-hasRecordType(directionSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-