Interface InputSearch

All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable

public interface InputSearch extends OsidSearch

The search interface for governing input searches.

  • Method Details

    • searchAmongInputs

      void searchAmongInputs(IdList inputIds)
      Execute this search among the given list of inputs.
      Parameters:
      inputIds - list of inputs
      Throws:
      NullArgumentException - inputIds is null
      Compliance:
      mandatory - This method must be implemented.
    • orderInputResults

      void orderInputResults(InputSearchOrder inputSearchOrder)
      Specify an ordering to the search results.
      Parameters:
      inputSearchOrder - input search order
      Throws:
      NullArgumentException - inputSearchOrder is null
      UnsupportedException - inputSearchOrder is not of this service
      Compliance:
      mandatory - This method must be implemented.
    • getInputSearchRecord

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