Interface EntrySearchOrder

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

public interface EntrySearchOrder extends OsidObjectSearchOrder

This interface specifies options for ordering search results.

  • Method Details

    • orderByKeyType

      void orderByKeyType(SearchOrderStyle style)
      Specifies a preference for ordering the results by key type.
      Parameters:
      style - a search order style
      Throws:
      NullArgumentException - style is null
      Compliance:
      mandatory - This method must be implemented.
    • orderByKey

      void orderByKey(SearchOrderStyle style)
      Specifies a preference for ordering the results by key.
      Parameters:
      style - a search order style
      Throws:
      NullArgumentException - style is null
      Compliance:
      mandatory - This method must be implemented.
    • orderByValueType

      void orderByValueType(SearchOrderStyle style)
      Specifies a preference for ordering the results by value type.
      Parameters:
      style - a search order style
      Throws:
      NullArgumentException - style is null
      Compliance:
      mandatory - This method must be implemented.
    • orderByValue

      void orderByValue(SearchOrderStyle style)
      Specifies a preference for ordering the results by value.
      Parameters:
      style - a search order style
      Throws:
      NullArgumentException - style is null
      Compliance:
      mandatory - This method must be implemented.
    • getEntrySearchOrderRecord

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