Interface RouteSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing route searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetRouteSearchRecord(Type routeSearchRecordType) Gets the route search record corresponding to the given route search recordType.voidorderRouteResults(RouteSearchOrder routeSearchOrder) Specify an ordering to the search results.voidsearchAmongRoutes(IdList routeIds) Execute this search among the given list of routes.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
-
searchAmongRoutes
Execute this search among the given list of routes.- Parameters:
routeIds- list of routes- Throws:
NullArgumentException-routeIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderRouteResults
Specify an ordering to the search results.- Parameters:
routeSearchOrder- route search order- Throws:
NullArgumentException-routeSearchOrderisnullUnsupportedException-routeSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getRouteSearchRecord
Gets the route search record corresponding to the given route search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
routeSearchRecordType- a route search record type- Returns:
- the route search record
- Throws:
NullArgumentException-routeSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(routeSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-