Interface DepotSearch

All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable

public interface DepotSearch extends OsidSearch

The interface for governing depot searches.

  • Method Details

    • searchAmongDepots

      void searchAmongDepots(IdList depotIds)
      Execute this search among the given list of depots.
      Parameters:
      depotIds - list of depots
      Throws:
      NullArgumentException - depotIds is null
      Compliance:
      mandatory - This method must be implemented.
    • orderDepotResults

      void orderDepotResults(DepotSearchOrder depotSearchOrder)
      Specify an ordering to the search results.
      Parameters:
      depotSearchOrder - depot search order
      Throws:
      NullArgumentException - depotSearchOrder is null
      UnsupportedException - depotSearchOrder is not of this service
      Compliance:
      mandatory - This method must be implemented.
    • getDepotSearchRecord

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