Interface BrokerEnablerSearchSession

All Superinterfaces:
AutoCloseable, BrokerEnablerQuerySession, Closeable, OsidSession, OsidSession

public interface BrokerEnablerSearchSession extends BrokerEnablerQuerySession

This session provides methods for searching among BrokerEnablers . The search query is constructed using the BrokerEnablerQuery .

getBrokerEnablersByQuery() is the basic search method and returns a list of BrokerEnablers . A more advanced search may be performed with getBrokerEnablersBySearch() .It accepts a BrokerEnablerSearch in addition to the query for the purpose of specifying additional options affecting the entire search, such as ordering. getBrokerEnablersBySearch() returns a BrokerEnablerSearchResults that can be used to access the resulting BrokerEnablerList or be used to perform a search within the result set through Br okerEnablerSearch .

This session defines views that offer differing behaviors for searching.

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

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

  • Method Details

    • getBrokerEnablerSearch

      BrokerEnablerSearch getBrokerEnablerSearch()
      Gets a broker enabler search.
      Returns:
      the broker enabler search
      Compliance:
      mandatory - This method must be implemented.
    • getBrokerEnablerSearchOrder

      BrokerEnablerSearchOrder getBrokerEnablerSearchOrder()
      Gets a broker enabler search order. The BrokerEnablerSearchOrder is supplied to a BrokerEnablerSearch to specify the ordering of results.
      Returns:
      the broker enabler search order
      Compliance:
      mandatory - This method must be implemented.
    • getBrokerEnablersBySearch

      BrokerEnablerSearchResults getBrokerEnablersBySearch(BrokerEnablerQuery brokerEnablerQuery, BrokerEnablerSearch brokerEnablerSearch) throws OperationFailedException, PermissionDeniedException
      Gets the search results matching the given search query using the given search.
      Parameters:
      brokerEnablerQuery - the broker enabler query
      brokerEnablerSearch - the broker enabler search
      Returns:
      the returned search results
      Throws:
      NullArgumentException - brokerEnablerQuery or brokerEnablerSearch is null
      OperationFailedException - unable to complete request
      PermissionDeniedException - authorization failure
      UnsupportedException - brokerEnablerQuery or brokerEnablerSearch is not of this service
      Compliance:
      mandatory - This method must be implemented.
    • getBrokerEnablerQueryFromInspector

      BrokerEnablerQuery getBrokerEnablerQueryFromInspector(BrokerEnablerQueryInspector brokerEnablerQueryInspector)
      Gets a broker enabler query from an inspector. The inspector is available from a BrokerEnablerSearchResults .
      Parameters:
      brokerEnablerQueryInspector - a broker enabler query inspector
      Returns:
      the broker enabler query
      Throws:
      NullArgumentException - brokerEnablerQueryInspector is null
      UnsupportedException - brokerEnablerQueryInspector is not of this service
      Compliance:
      mandatory - This method must be implemented.