Interface GradebookSearch

All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable

public interface GradebookSearch extends OsidSearch

The interface for governing gradebook searches.

  • Method Details

    • searchAmongGradebooks

      void searchAmongGradebooks(IdList gradebookIds)
      Execute this search among the given list of gradebooks.
      Parameters:
      gradebookIds - list of gradebooks
      Throws:
      NullArgumentException - gradebookIds is null
      Compliance:
      mandatory - This method must be implemented.
    • orderGradebookResults

      void orderGradebookResults(GradebookSearchOrder gradebookSearchOrder)
      Specify an ordering to the search results.
      Parameters:
      gradebookSearchOrder - gradebook search order
      Throws:
      NullArgumentException - gradebookSearchOrder is null
      UnsupportedException - gradebookSearchOrder is not of this service
      Compliance:
      mandatory - This method must be implemented.
    • getGradebookSearchRecord

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