Interface MapSearch

All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable

public interface MapSearch extends OsidSearch

The search interface for governing map searches.

  • Method Details

    • searchAmongMaps

      void searchAmongMaps(IdList mapIds)
      Execute this search among the given list of maps.
      Parameters:
      mapIds - list of maps
      Throws:
      NullArgumentException - mapIds is null
      Compliance:
      mandatory - This method must be implemented.
    • orderMapResults

      void orderMapResults(MapSearchOrder mapSearchOrder)
      Specify an ordering to the search results.
      Parameters:
      mapSearchOrder - map search order
      Throws:
      NullArgumentException - mapSearchOrder is null
      UnsupportedException - mapSearchOrder is not of this service
      Compliance:
      mandatory - This method must be implemented.
    • getMapSearchRecord

      MapSearchRecord getMapSearchRecord(Type mapSearchRecordType) throws OperationFailedException
      Gets the map search record corresponding to the given map search record Type. This method must be used to retrieve an object implementing the requested record interface along with all of its ancestor interfaces.
      Parameters:
      mapSearchRecordType - a map search record type
      Returns:
      the map search record
      Throws:
      NullArgumentException - mapSearchRecordType is null
      OperationFailedException - unable to complete request
      UnsupportedException - hasRecordType(mapSearchRecordType) is false
      Compliance:
      mandatory - This method must be implemented.