Interface DirectoryEntrySearchOrder

All Superinterfaces:
Extensible, OsidBrowsableSearchOrder, OsidExtensibleSearchOrder, OsidIdentifiableSearchOrder, OsidObjectSearchOrder, OsidSearchOrder, Suppliable
All Known Subinterfaces:
DirectorySearchOrder, FileSearchOrder

public interface DirectoryEntrySearchOrder extends OsidObjectSearchOrder

An interface for specifying the order of search results.

  • Method Details

    • orderByName

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

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

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

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

      AgentSearchOrder getOwnerSearchOrder()
      Gets an agent search order interface.
      Returns:
      an agent search order interface
      Throws:
      UnimplementedException - supportsOwnerSearchOrder() is false
      Compliance:
      optional - This method must be implemented if {@code supportsOwnerSearchOrder()} is {@code true} .
    • orderByCreatedTime

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

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

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