OSID Logo
OSID Specifications
provisioning rules package
Version 3.0.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.BrokerEnablerSearchthe broker enabler search
CompliancemandatoryThis 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.BrokerEnablerSearchOrderthe broker enabler search order
CompliancemandatoryThis method must be implemented.
MethodgetBrokerEnablersBySearch
Description

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

Parametersosid.provisioning.rules.BrokerEnablerQuerybrokerEnablerQuerythe broker enabler query
osid.provisioning.rules.BrokerEnablerSearchbrokerEnablerSearchthe broker enabler search
Returnosid.provisioning.rules.BrokerEnablerSearchResultsthe returned search results
ErrorsNULL_ARGUMENTbrokerEnablerQuery or brokerEnablerSearch is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
UNSUPPORTEDbrokerEnablerQuery or brokerEnablerSearch is not of this service
CompliancemandatoryThis method must be implemented.
MethodgetBrokerEnablerQueryFromInspector
Description

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

Parametersosid.provisioning.rules.BrokerEnablerQueryInspectorbrokerEnablerQueryInspectora broker enabler query inspector
Returnosid.provisioning.rules.BrokerEnablerQuerythe broker enabler query
ErrorsNULL_ARGUMENTbrokerEnablerQueryInspector is null
UNSUPPORTEDbrokerEnablerQueryInspector is not of this service
CompliancemandatoryThis method must be implemented.