Interface SubjectSearchOrder

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

public interface SubjectSearchOrder extends OsidObjectSearchOrder, OsidFederateableSearchOrder

An interface for specifying the ordering of search results.

  • Method Details

    • orderByCode

      void orderByCode(SearchOrderStyle style)
      Specifies a preference for ordering the result set by the code.
      Parameters:
      style - search order style
      Throws:
      NullArgumentException - style is null
      Compliance:
      mandatory - This method must be implemented.
    • getSubjectSearchOrderRecord

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