OSID Logo
OSID Specifications
provisioning rules package
Version 3.0.0
Release Candidate Preview
Interfaceosid.provisioning.rules.PoolProcessorSearchSession
Implementsosid.provisioning.rules.PoolProcessorQuerySession
Description

This session provides methods for searching among PoolProcessor objects. The search query is constructed using the PoolProcessoryQuery.

getPoolProcessorsByQuery() is the basic search method and returns a list of PoolProcessors. A more advanced search may be performed with getPoolProcessorsBySearch(). It accepts a PoolProcessorSearch in addition to the query for the purpose of specifying additional options affecting the entire search, such as provisioning. getPoolProcessorsBySearch() returns a PoolProcessorSearchResults that can be used to access the resulting PoolProcessorList or be used to perform a search within the result set through PoolProcessorSearch.

This session defines views that offer differing behaviors for searching.

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

PoolProcessors may have a query record indicated by their respective record types. The query record is accessed via the PoolProcessorQuery.

MethodgetPoolProcessorSearch
Description

Gets a pool processor search.

Returnosid.provisioning.rules.PoolProcessorSearchthe pool processor search
CompliancemandatoryThis method must be implemented.
MethodgetPoolProcessorSearchOrder
Description

Gets a pool processor search order. The PoolProcessorSearchOrder is supplied to a PoolProcessorSearch to specify the ordering of results.

Returnosid.provisioning.rules.PoolProcessorSearchOrderthe pool processor search order
CompliancemandatoryThis method must be implemented.
MethodgetPoolProcessorsBySearch
Description

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

Parametersosid.provisioning.rules.PoolProcessorQuerypoolProcessorQuerythe pool processor query
osid.provisioning.rules.PoolProcessorSearchpoolProcessorSearchthe pool processor search
Returnosid.provisioning.rules.PoolProcessorSearchResultsthe returned search results
ErrorsNULL_ARGUMENT poolProcessorQuery or poolProcessorSearch is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
UNSUPPORTED poolProcessorQuery or poolProcessorSearch is not of this service
CompliancemandatoryThis method must be implemented.
MethodgetPoolProcessorQueryFromInspector
Description

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

Parametersosid.provisioning.rules.PoolProcessorQueryInspectorpoolProcessorQueryInspectora pool processor query inspector
Returnosid.provisioning.rules.PoolProcessorQuerythe pool processor query
ErrorsNULL_ARGUMENT poolProcessorQueryInspector is null
UNSUPPORTED poolProcessorQueryInspector is not of this service
CompliancemandatoryThis method must be implemented.