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

This session provides methods for searching among BrokerProcessors. The search query is constructed using the BrokerProcessorQuery.

getBrokerProcessorsByQuery() is the basic search method and returns a list of BrokerProcessors. A more advanced search may be performed with getBrokerProcessorsBySearch(). It accepts a BrokerProcessorSearch in addition to the query for the purpose of specifying additional options affecting the entire search, such as ordering. getBrokerProcessorsBySearch() returns a BrokerProcessorSearchResults that can be used to access the resulting BrokerProcessorList or be used to perform a search within the result set through Br okerProcessorSearch.

This session defines views that offer differing behaviors for searching.

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

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

MethodgetBrokerProcessorSearch
Description

Gets a broker processor search.

Returnosid.provisioning.rules.BrokerProcessorSearch the broker processor search
Compliancemandatory This method must be implemented.
MethodgetBrokerProcessorSearchOrder
Description

Gets a broker processor search order. The BrokerProcessorSearchOrder is supplied to a BrokerProcessorSearch to specify the ordering of results.

Returnosid.provisioning.rules.BrokerProcessorSearchOrder the broker processor search order
Compliancemandatory This method must be implemented.
MethodgetBrokerProcessorsBySearch
Description

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

Parametersosid.provisioning.rules.BrokerProcessorQuerybrokerProcessorQuery the broker processor query
osid.provisioning.rules.BrokerProcessorSearchbrokerProcessorSearch the broker processor search
Returnosid.provisioning.rules.BrokerProcessorSearchResults the returned search results
ErrorsNULL_ARGUMENT brokerProcessorQuery or brokerProcessorSearch is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
UNSUPPORTED brokerProcessorQuery or brokerProcessorSearch is not of this service
Compliancemandatory This method must be implemented.
MethodgetBrokerProcessorQueryFromInspector
Description

Gets a broker processor query from an inspector. The inspector is available from a BrokerProcessorSearchResults.

Parametersosid.provisioning.rules.BrokerProcessorQueryInspectorbrokerProcessorQueryInspector a broker processor query inspector
Returnosid.provisioning.rules.BrokerProcessorQuery the broker processor query
ErrorsNULL_ARGUMENT brokerProcessorQueryInspector is null
UNSUPPORTED brokerProcessorQueryInspector is not of this service
Compliancemandatory This method must be implemented.