Interface EffortSearch

All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable

public interface EffortSearch extends OsidSearch

The search interface for governing effort searches.

  • Method Details

    • searchAmongEfforts

      void searchAmongEfforts(IdList effortIds)
      Execute this search among the given list of efforts.
      Parameters:
      effortIds - list of efforts
      Throws:
      NullArgumentException - effortIds is null
      Compliance:
      mandatory - This method must be implemented.
    • orderEffortResults

      void orderEffortResults(EffortSearchOrder effortSearchOrder)
      Specify an ordering to the search results.
      Parameters:
      effortSearchOrder - effort search order
      Throws:
      NullArgumentException - effortSearchOrder is null
      UnsupportedException - effortSearchOrder is not of this service
      Compliance:
      mandatory - This method must be implemented.
    • getEffortSearchRecord

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