OSID Logo
OSID Specifications
provisioning rules package
Version 3.0.0
Interfaceosid.provisioning.rules.PoolEnablerSearchSession
Implementsosid.provisioning.rules.PoolEnablerQuerySession
Used Byosid.provisioning.rules.ProvisioningRulesManager
osid.provisioning.rules.ProvisioningRulesProxyManager
Description

This session provides methods for searching among PoolEnablers . The search query is constructed using the PoolEnablerQuery .

getPoolEnablersByQuery() is the basic search method and returns a list of PoolEnablers . A more advanced search may be performed with getPoolEnablersBySearch() .It accepts a PoolEnablerSearch in addition to the query for the purpose of specifying additional options affecting the entire search, such as ordering. getPoolEnablersBySearch() returns a PoolEnablerSearchResults that can be used to access the resulting PoolEnablerList or be used to perform a search within the result set through Poo lEnablerSearch .

This session defines views that offer differing behaviors for searching.

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

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

MethodgetPoolEnablerSearch
Description

Gets a pool enabler search.

Returnosid.provisioning.rules.PoolEnablerSearchthe pool enabler search
CompliancemandatoryThis method must be implemented.
MethodgetPoolEnablerSearchOrder
Description

Gets a pool enabler search order. The PoolEnablerSearchOrder is supplied to a PoolEnablerSearch to specify the ordering of results.

Returnosid.provisioning.rules.PoolEnablerSearchOrderthe pool enabler search order
CompliancemandatoryThis method must be implemented.
MethodgetPoolEnablersBySearch
Description

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

Parametersosid.provisioning.rules.PoolEnablerQuerypoolEnablerQuerythe pool enabler query
osid.provisioning.rules.PoolEnablerSearchpoolEnablerSearchthe pool enabler search
Returnosid.provisioning.rules.PoolEnablerSearchResultsthe returned search results
ErrorsNULL_ARGUMENTpoolEnablerQuery or poolEnablerSearch is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
UNSUPPORTEDpoolEnablerQuery or poolEnablerSearch is not of this service
CompliancemandatoryThis method must be implemented.
MethodgetPoolEnablerQueryFromInspector
Description

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

Parametersosid.provisioning.rules.PoolEnablerQueryInspectorpoolEnablerQueryInspectora pool enabler query inspector
Returnosid.provisioning.rules.PoolEnablerQuerythe pool enabler query
ErrorsNULL_ARGUMENTpoolEnablerQueryInspector is null
UNSUPPORTEDpoolEnablerQueryInspector is not of this service
CompliancemandatoryThis method must be implemented.