Interface BinSearch

All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable

public interface BinSearch extends OsidSearch

The interface for governing bin searches.

  • Method Details

    • searchAmongBins

      void searchAmongBins(IdList binIds)
      Execute this search among the given list of bins.
      Parameters:
      binIds - list of bins
      Throws:
      NullArgumentException - binIds is null
      Compliance:
      mandatory - This method must be implemented.
    • orderBinResults

      void orderBinResults(BinSearchOrder binSearchOrder)
      Specify an ordering to the search results.
      Parameters:
      binSearchOrder - bin search order
      Throws:
      NullArgumentException - binSearchOrder is null
      UnsupportedException - binSearchOrder is not of this service
      Compliance:
      mandatory - This method must be implemented.
    • getBinSearchRecord

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