OSID Logo
OSID Specifications
provisioning rules package
Version 3.1.0
Interfaceosid.provisioning.rules.BrokerEnablerSearchSession
Implementsosid.provisioning.rules.BrokerEnablerQuerySession
Used Byosid.provisioning.rules.ProvisioningRulesManager
osid.provisioning.rules.ProvisioningRulesProxyManager
Description

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.

MethodgetBrokerEnablerSearch
Description

Gets a broker enabler search.

Returnosid.provisioning.rules.BrokerEnablerSearch the broker enabler search
Compliancemandatory This method must be implemented.
MethodgetBrokerEnablerSearchOrder
Description

Gets a broker enabler search order. The BrokerEnablerSearchOrder is supplied to a BrokerEnablerSearch to specify the ordering of results.

Returnosid.provisioning.rules.BrokerEnablerSearchOrder the broker enabler search order
Compliancemandatory This method must be implemented.
MethodgetBrokerEnablersBySearch
Description

Gets the search results matching the given search query using the given search.

Parametersosid.provisioning.rules.BrokerEnablerQuerybrokerEnablerQuery the broker enabler query
osid.provisioning.rules.BrokerEnablerSearchbrokerEnablerSearch the broker enabler search
Returnosid.provisioning.rules.BrokerEnablerSearchResults the returned search results
ErrorsNULL_ARGUMENT brokerEnablerQuery or brokerEnablerSearch is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
UNSUPPORTED brokerEnablerQuery or brokerEnablerSearch is not of this service
Compliancemandatory This method must be implemented.
MethodgetBrokerEnablerQueryFromInspector
Description

Gets a broker enabler query from an inspector. The inspector is available from a BrokerEnablerSearchResults.

Parametersosid.provisioning.rules.BrokerEnablerQueryInspectorbrokerEnablerQueryInspector a broker enabler query inspector
Returnosid.provisioning.rules.BrokerEnablerQuery the broker enabler query
ErrorsNULL_ARGUMENT brokerEnablerQueryInspector is null
UNSUPPORTED brokerEnablerQueryInspector is not of this service
Compliancemandatory This method must be implemented.