Interface RegistrationTargetSearchOrder

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

public interface RegistrationTargetSearchOrder extends OsidObjectSearchOrder, OsidSubjugateableSearchOrder

An interface for specifying the ordering of search results.

  • Method Details

    • orderByCourseOffering

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

      boolean supportsCourseOfferingSearchOrder()
      Tests if a course offering order is available.
      Returns:
      true if a course offering order is available, false otherwise
      Compliance:
      mandatory - This method must be implemented.
    • getCourseOfferingSearchOrder

      CourseOfferingSearchOrder getCourseOfferingSearchOrder()
      Gets the course offering order.
      Returns:
      the course offering search order
      Throws:
      UnimplementedException - supportsCourseOfferingSearchOrder() is false
      Compliance:
      optional - This method must be implemented if {@code supportsCourseSearchOrder()} is {@code true} .
    • getRegistrationTargetSearchOrderRecord

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