Interface ParameterSearchOrder

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

public interface ParameterSearchOrder extends OsidObjectSearchOrder, OsidSubjugateableSearchOrder

An interface for specifying the ordering of search results.

  • Method Details

    • orderBySyntax

      void orderBySyntax(SearchOrderStyle style)
      Orders the results by syntax.
      Parameters:
      style - search order style
      Throws:
      NullArgumentException - style is null
      Compliance:
      mandatory - This method must be implemented.
    • orderByInputPosition

      void orderByInputPosition(SearchOrderStyle style)
      Orders the results by input position.
      Parameters:
      style - search order style
      Throws:
      NullArgumentException - style is null
      Compliance:
      mandatory - This method must be implemented.
    • getParameterSearchOrderRecord

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