Interface GradeSystemSearchOrder

All Superinterfaces:
Extensible, OsidAggregateableSearchOrder, OsidBrowsableSearchOrder, OsidExtensibleSearchOrder, OsidIdentifiableSearchOrder, OsidObjectSearchOrder, OsidSearchOrder, Suppliable

public interface GradeSystemSearchOrder extends OsidObjectSearchOrder, OsidAggregateableSearchOrder

An interface for specifying the ordering of search results.

  • Method Details

    • orderByBasedOnGrades

      void orderByBasedOnGrades(SearchOrderStyle style)
      Orders the results by systems based on grades.
      Parameters:
      style - search order style
      Throws:
      NullArgumentException - style is null
      Compliance:
      mandatory - This method must be implemented.
    • orderByLowestNumericScore

      void orderByLowestNumericScore(SearchOrderStyle style)
      Orders the results by lowest score.
      Parameters:
      style - search order style
      Throws:
      NullArgumentException - style is null
      Compliance:
      mandatory - This method must be implemented.
    • orderByNumericScoreIncrement

      void orderByNumericScoreIncrement(SearchOrderStyle style)
      Orders the results by score increment.
      Parameters:
      style - search order style
      Throws:
      NullArgumentException - style is null
      Compliance:
      mandatory - This method must be implemented.
    • orderByHighestNumericScore

      void orderByHighestNumericScore(SearchOrderStyle style)
      Orders the results by highest score.
      Parameters:
      style - search order style
      Throws:
      NullArgumentException - style is null
      Compliance:
      mandatory - This method must be implemented.
    • getGradeSystemSearchOrderRecord

      GradeSystemSearchOrderRecord getGradeSystemSearchOrderRecord(Type gradeSystemRecordType) throws OperationFailedException
      Gets the grade system search order record corresponding to the given grade entry record Type .Multiple retrievals return the same underlying object.
      Parameters:
      gradeSystemRecordType - a grade system record type
      Returns:
      the grade system search order record
      Throws:
      NullArgumentException - gradeSystemRecordType is null
      OperationFailedException - unable to complete request
      UnsupportedException - hasRecordType(gradeSystemRecordType) is false
      Compliance:
      mandatory - This method must be implemented.