Interface FunctionSearch

All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable

public interface FunctionSearch extends OsidSearch

FunctionSearch defines the interface for specifying function search options.

  • Method Details

    • searchAmongFunctions

      void searchAmongFunctions(IdList functionIds)
      Execute this search among the given list of functions.
      Parameters:
      functionIds - list of functions
      Throws:
      NullArgumentException - functionIds is null
      Compliance:
      mandatory - This method must be implemented.
    • orderFunctionResults

      void orderFunctionResults(FunctionSearchOrder functionSearchOrder)
      Specify an ordering to the search results.
      Parameters:
      functionSearchOrder - function search order
      Throws:
      NullArgumentException - functionSearchOrder is null
      UnsupportedException - functionSearchOrder is not of this service
      Compliance:
      mandatory - This method must be implemented.
    • getFunctionSearchRecord

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