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

This session provides methods for searching among PoolProcessorEnablers. The search query is constructed using the PoolProcessorEnablerQuery.

getPoolProcessorEnablersByQuery() is the basic search method and returns a list of PoolProcessorEnablers. A more advanced search may be performed with getPoolProcessorEnablersBySearch(). It accepts a PoolProcessorEnablerSearch in addition to the query for the purpose of specifying additional options affecting the entire search, such as ordering. getPoolProcessorEnablersBySearch() returns a PoolProcessorEnablerSearchResults that can be used to access the resulting PoolProcessorEnablerList or be used to perform a search within the result set through Po olProcessorEnablerSearch.

This session defines views that offer differing behaviors for searching.

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

Pool processor enablers may have a query record indicated by their respective record types. The query record is accessed via the PoolProcessorEnablerQuery.

MethodgetPoolProcessorEnablerSearch
Description

Gets a pool processor enabler search.

Returnosid.provisioning.rules.PoolProcessorEnablerSearch the pool processor enabler search
Compliancemandatory This method must be implemented.
MethodgetPoolProcessorEnablerSearchOrder
Description

Gets a pool processor enabler search order. The PoolProcessorEnablerSearchOrder is supplied to a PoolProcessorEnablerSearch to specify the ordering of results.

Returnosid.provisioning.rules.PoolProcessorEnablerSearchOrder the pool processor enabler search order
Compliancemandatory This method must be implemented.
MethodgetPoolProcessorEnablersBySearch
Description

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

Parametersosid.provisioning.rules.PoolProcessorEnablerQuerypoolProcessorEnablerQuery the pool processor enabler query
osid.provisioning.rules.PoolProcessorEnablerSearchpoolProcessorEnablerSearch the pool processor enabler search
Returnosid.provisioning.rules.PoolProcessorEnablerSearchResults the returned search results
ErrorsNULL_ARGUMENT poolProcessorEnablerQuery or poolProcessorEnablerSearch is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
UNSUPPORTED poolProcessorEnablerQuery or poolProcessorEnablerSearch is not of this service
Compliancemandatory This method must be implemented.
MethodgetPoolProcessorEnablerQueryFromInspector
Description

Gets a pool processor enabler query from an inspector. The inspector is available from a PoolProcessorEnablerSearchResults.

Parametersosid.provisioning.rules.PoolProcessorEnablerQueryInspectorpoolProcessorEnablerQueryInspector a pool processor enabler query inspector
Returnosid.provisioning.rules.PoolProcessorEnablerQuery the pool processor enabler query
ErrorsNULL_ARGUMENT poolProcessorEnablerQueryInspector is null
UNSUPPORTED poolProcessorEnablerQueryInspector is not of this service
Compliancemandatory This method must be implemented.