Interface BrokerSearch

All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable

public interface BrokerSearch extends OsidSearch

The search interface for governing broker searches.

  • Method Details

    • searchAmongBrokers

      void searchAmongBrokers(IdList brokerIds)
      Execute this search among the given list of brokers.
      Parameters:
      brokerIds - list of brokers
      Throws:
      NullArgumentException - brokerIds is null
      Compliance:
      mandatory - This method must be implemented.
    • orderBrokerResults

      void orderBrokerResults(BrokerSearchOrder brokerSearchOrder)
      Specify an ordering to the search results.
      Parameters:
      brokerSearchOrder - broker search order
      Throws:
      NullArgumentException - brokerSearchOrder is null
      UnsupportedException - brokerSearchOrder is not of this service
      Compliance:
      mandatory - This method must be implemented.
    • getBrokerSearchRecord

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