Interface ValueSearch

All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable

public interface ValueSearch extends OsidSearch

The interface for governing value searches.

  • Method Details

    • searchAmongValues

      void searchAmongValues(IdList valueIds)
      Executes this search among a given list of values.
      Parameters:
      valueIds - list of values
      Throws:
      NullArgumentException - valueIds is null
      Compliance:
      mandatory - This method must be implemented.
    • orderValueResults

      void orderValueResults(ValueSearchOrder valueSearchOrder)
      Specify an ordering to the search results.
      Parameters:
      valueSearchOrder - value search order
      Throws:
      NullArgumentException - valueSearchOrder is null
      UnsupportedException - valueSearchOrder is not of this service
      Compliance:
      mandatory - This method must be implemented.
    • getValueSearchRecord

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