Interface ObstacleSearch

All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable

public interface ObstacleSearch extends OsidSearch

The search interface for governing obstacle searches.

  • Method Details

    • searchAmongObstacles

      void searchAmongObstacles(IdList obstacleIds)
      Execute this search among the given list of obstacle.
      Parameters:
      obstacleIds - list of obstacle
      Throws:
      NullArgumentException - obstacleIds is null
      Compliance:
      mandatory - This method must be implemented.
    • orderObstacleResults

      void orderObstacleResults(ObstacleSearchOrder obstacleSearchOrder)
      Specify an ordering to the search results.
      Parameters:
      obstacleSearchOrder - obstacle search order
      Throws:
      NullArgumentException - obstacleSearchOrder is null
      UnsupportedException - obstacleSearchOrder is 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 record Type . 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 - obstacleSearchRecordType is null
      OperationFailedException - unable to complete request
      UnsupportedException - hasRecordType(obstacleSearchRecordType) is false
      Compliance:
      mandatory - This method must be implemented.