Interface IntersectionSearch

All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable

public interface IntersectionSearch extends OsidSearch

The search interface for governing intersection searches.

  • Method Details

    • searchAmongIntersections

      void searchAmongIntersections(IdList intersectionIds)
      Execute this search among the given list of intersections.
      Parameters:
      intersectionIds - list of intersections
      Throws:
      NullArgumentException - intersectionIds is null
      Compliance:
      mandatory - This method must be implemented.
    • orderIntersectionResults

      void orderIntersectionResults(IntersectionSearchOrder intersectionSearchOrder)
      Specify an ordering to the search results.
      Parameters:
      intersectionSearchOrder - intersection search order
      Throws:
      NullArgumentException - intersectionSearchOrder is null
      UnsupportedException - intersectionSearchOrder is not of this service
      Compliance:
      mandatory - This method must be implemented.
    • getIntersectionSearchRecord

      IntersectionSearchRecord getIntersectionSearchRecord(Type intersectionSearchRecordType) throws OperationFailedException
      Gets the intersection search record corresponding to the given intersection search record Type .This method is used to retrieve an object implementing the requested record.
      Parameters:
      intersectionSearchRecordType - a intersection search record type
      Returns:
      the intersection search record
      Throws:
      NullArgumentException - intersectionSearchRecordType is null
      OperationFailedException - unable to complete request
      UnsupportedException - hasRecordType(intersectionSearchRecordType) is false
      Compliance:
      mandatory - This method must be implemented.