Interface QueueEnablerSearchSession

All Superinterfaces:
AutoCloseable, Closeable, OsidSession, OsidSession, QueueEnablerQuerySession

public interface QueueEnablerSearchSession extends QueueEnablerQuerySession

This session provides methods for searching among QueueEnablers . The search query is constructed using the QueueEnablerQuery .

getQueueEnablersByQuery() is the basic search method and returns a list of QueueEnablers . A more advanced search may be performed with getQueueEnablersBySearch() .It accepts a QueueEnablerSearch in addition to the query for the purpose of specifying additional options affecting the entire search, such as ordering. getQueueEnablersBySearch() returns a QueueEnablerSearchResults that can be used to access the resulting QueueEnablerList or be used to perform a search within the result set through Que ueEnablerSearch .

This session defines views that offer differing behaviors for searching.

  • federated distributor view: searches include queue enablers in distributors of which this distributor is an ancestor in the distributor hierarchy
  • isolated distributor view: searches are restricted to queue enablers in this distributor

Queue enablers may have a query record indicated by their respective record types. The query record is accessed via the QueueEnablerQuery .

  • Method Details

    • getQueueEnablerSearch

      QueueEnablerSearch getQueueEnablerSearch()
      Gets a queue enabler search.
      Returns:
      the queue enabler search
      Compliance:
      mandatory - This method must be implemented.
    • getQueueEnablerSearchOrder

      QueueEnablerSearchOrder getQueueEnablerSearchOrder()
      Gets a queue enabler search order. The QueueEnablerSearchOrder is supplied to a QueueEnablerSearch to specify the ordering of results.
      Returns:
      the queue enabler search order
      Compliance:
      mandatory - This method must be implemented.
    • getQueueEnablersBySearch

      QueueEnablerSearchResults getQueueEnablersBySearch(QueueEnablerQuery queueEnablerQuery, QueueEnablerSearch queueEnablerSearch) throws OperationFailedException, PermissionDeniedException
      Gets the search results matching the given search query using the given search.
      Parameters:
      queueEnablerQuery - the queue enabler query
      queueEnablerSearch - the queue enabler search
      Returns:
      the returned search results
      Throws:
      NullArgumentException - queueEnablerQuery or queueEnablerSearch is null
      OperationFailedException - unable to complete request
      PermissionDeniedException - authorization failure
      UnsupportedException - queueEnablerQuery or queueEnablerSearch is not of this service
      Compliance:
      mandatory - This method must be implemented.
    • getQueueEnablerQueryFromInspector

      QueueEnablerQuery getQueueEnablerQueryFromInspector(QueueEnablerQueryInspector queueEnablerQueryInspector)
      Gets a queue enabler query from an inspector. The inspector is available from a QueueEnablerSearchResults .
      Parameters:
      queueEnablerQueryInspector - a queue enabler query inspector
      Returns:
      the queue enabler query
      Throws:
      NullArgumentException - queueEnablerQueryInspector is null
      UnsupportedException - queueEnablerQueryInspector is not of this service
      Compliance:
      mandatory - This method must be implemented.