Interface HoldSearch

All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable

public interface HoldSearch extends OsidSearch

The search interface for governing hold searches.

  • Method Details

    • searchAmongHolds

      void searchAmongHolds(IdList holdIds)
      Execute this search among the given list of holds.
      Parameters:
      holdIds - list of holds
      Throws:
      NullArgumentException - holdIds is null
      Compliance:
      mandatory - This method must be implemented.
    • orderHoldResults

      void orderHoldResults(HoldSearchOrder holdSearchOrder)
      Specify an ordering to the search results.
      Parameters:
      holdSearchOrder - hold search order
      Throws:
      NullArgumentException - holdSearchOrder is null
      UnsupportedException - holdSearchOrder is not of this service
      Compliance:
      mandatory - This method must be implemented.
    • getHoldSearchRecord

      HoldSearchRecord getHoldSearchRecord(Type holdSearchRecordType) throws OperationFailedException, PermissionDeniedException
      Gets the hold search record corresponding to the given hold search record Type . This method is used to retrieve an object implementing the requested record.
      Parameters:
      holdSearchRecordType - a hold search record type
      Returns:
      the hold search record
      Throws:
      NullArgumentException - holdSearchRecordType is null
      OperationFailedException - unable to complete request
      PermissionDeniedException - authorization failure occurred
      UnsupportedException - hasRecordType(holdSearchRecordType) is false
      Compliance:
      mandatory - This method must be implemented.