Interface ConvocationSearchOrder

All Superinterfaces:
Extensible, OsidBrowsableSearchOrder, OsidExtensibleSearchOrder, OsidGovernatorSearchOrder, OsidIdentifiableSearchOrder, OsidObjectSearchOrder, OsidOperableSearchOrder, OsidSearchOrder, OsidSourceableSearchOrder, Suppliable

public interface ConvocationSearchOrder extends OsidGovernatorSearchOrder

An interface for specifying the ordering of search results.

  • Method Details

    • orderByDate

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

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

      boolean supportsTimePeriodSearchOrder()
      Tests if a time period order is available.
      Returns:
      true if a time period order is available, false otherwise
      Compliance:
      mandatory - This method must be implemented.
    • getTimePeriodSearchOrder

      TimePeriodSearchOrder getTimePeriodSearchOrder()
      Gets the time period order.
      Returns:
      the time period search order
      Throws:
      UnimplementedException - supportsTimePeriodSearchOrder() is false
      Compliance:
      optional - This method must be implemented if {@code supportsTimePeriodSearchOrder()} is {@code true} .
    • getConvocationSearchOrderRecord

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