Interface RegistrationRequestSearchOrder

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

public interface RegistrationRequestSearchOrder extends OsidRequestSearchOrder

An interface for specifying the ordering of search results.

  • Method Details

    • orderByTerm

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

      boolean supportsTermSearchOrder()
      Tests if a term search order is available.
      Returns:
      true if a term search order is available, false otherwise
      Compliance:
      mandatory - This method must be implemented.
    • getTermSearchOrder

      TermSearchOrder getTermSearchOrder()
      Gets the term search order.
      Returns:
      the term search order
      Throws:
      IllegalStateException - supportsTermSearchOrder() is false
      Compliance:
      mandatory - This method must be implemented.
    • getRegistrationRequestSearchOrderRecord

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