Interface RouteSearch

All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable

public interface RouteSearch extends OsidSearch

The search interface for governing route searches.

  • Method Details

    • searchAmongRoutes

      void searchAmongRoutes(IdList routeIds)
      Execute this search among the given list of routes.
      Parameters:
      routeIds - list of routes
      Throws:
      NullArgumentException - routeIds is null
      Compliance:
      mandatory - This method must be implemented.
    • orderRouteResults

      void orderRouteResults(RouteSearchOrder routeSearchOrder)
      Specify an ordering to the search results.
      Parameters:
      routeSearchOrder - route search order
      Throws:
      NullArgumentException - routeSearchOrder is null
      UnsupportedException - routeSearchOrder is not of this service
      Compliance:
      mandatory - This method must be implemented.
    • getRouteSearchRecord

      RouteSearchRecord getRouteSearchRecord(Type routeSearchRecordType) throws OperationFailedException
      Gets the route search record corresponding to the given route search record Type. 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 - routeSearchRecordType is null
      OperationFailedException - unable to complete request
      UnsupportedException - hasRecordType(routeSearchRecordType) is false
      Compliance:
      mandatory - This method must be implemented.