Interface ProvisionReturnSearchOrder

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

public interface ProvisionReturnSearchOrder extends OsidObjectSearchOrder, OsidSubjugateableSearchOrder

An interface for specifying the ordering of search results.

  • Method Details

    • orderByReturnDate

      void orderByReturnDate(SearchOrderStyle style)
      Orders the results by the return date.
      Parameters:
      style - search order style
      Throws:
      NullArgumentException - style is null
      Compliance:
      mandatory - This method must be implemented.
    • orderByReturner

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

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

      ResourceSearchOrder getReturnerSearchOrder()
      Gets the resource search order.
      Returns:
      the resource search order
      Throws:
      IllegalStateException - supportsReturnerSearchOrder() is false
      Compliance:
      mandatory - This method must be implemented.
    • orderByReturningAgent

      void orderByReturningAgent(SearchOrderStyle style)
      Orders the results by the returning agent.
      Parameters:
      style - search order style
      Throws:
      NullArgumentException - style is null
      Compliance:
      mandatory - This method must be implemented.
    • supportsReturningAgentSearchOrder

      boolean supportsReturningAgentSearchOrder()
      Tests if an agent search order is available.
      Returns:
      true if an agent search order is available, false otherwise
      Compliance:
      mandatory - This method must be implemented.
    • getReturningAgentSearchOrder

      AgentSearchOrder getReturningAgentSearchOrder()
      Gets the agent search order.
      Returns:
      the agent search order
      Throws:
      IllegalStateException - supportsReturningAgentSearchOrder() is false
      Compliance:
      mandatory - This method must be implemented.
    • getProvisionReturnSearchOrderRecord

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