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

This session manages queries and sequencing to create "smart" dynamic catalogs. A PoolEnablerQuery can be retrieved from this session and mapped to this Distributor to create a virtual collection of PoolEnablers . The pool enablers may be sequenced using the PoolEnablerSearchOrder from this session.

This Distributor has a default query that matches any pool enabler and a default search order that specifies no sequencing. The queries may be examined using a PoolEnablerQueryInspector . The query may be modified by converting the inspector back to a PoolEnablerQuery .

MethodgetDistributorId
Description

Gets the Distributor Id associated with this session.

Returnosid.id.Idthe Distributor Id associated with this session
CompliancemandatoryThis method must be implemented.
MethodgetDistributor
Description

Gets the Distributor associated with this session.

Returnosid.provisioning.Distributorthe distributor
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodcanManageSmartDistributors
Description

Tests if this user can manage smart distributors. A return of true does not guarantee successful authorization. A return of false indicates that it is known methods in this session will result in a PERMISSION_DENIED .This is intended as a hint to an application that may opt not to offer operations to unauthorized users.

Returnbooleanfalse if smart distributor management is not authorized, true otherwise
CompliancemandatoryThis method must be implemented.
MethodgetPoolEnablerQuery
Description

Gets a pool enabler query.

Returnosid.provisioning.rules.PoolEnablerQuerythe pool enabler query
CompliancemandatoryThis method must be implemented.
MethodgetPoolEnablerSearchOrder
Description

Gets a pool enabler search order.

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

Applies a pool enabler query to this distributor.

Parametersosid.provisioning.rules.PoolEnablerQuerypoolEnablerQuerythe pool enabler query
ErrorsNULL_ARGUMENTpoolEnablerQuery is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
UNSUPPORTEDpoolEnablerQuery not of this service
CompliancemandatoryThis method must be implemented.
MethodinspectPoolEnablerQuery
Description

Gets a pool enabler query inspector for this distributor.

Returnosid.provisioning.rules.PoolEnablerQueryInspectorthe pool enabler query inspector
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodapplyPoolEnablerSequencing
Description

Applies a pool enabler search order to this distributor.

Parametersosid.provisioning.rules.PoolEnablerSearchOrderpoolEnablerSearchOrderthe pool enabler search order
ErrorsNULL_ARGUMENTpoolEnablerSearchOrder is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
UNSUPPORTEDpoolEnablerSearchOrder not of this service
CompliancemandatoryThis method must be implemented.
MethodgetPoolEnablerQueryFromInspector
Description

Gets a pool enabler query from an inspector.

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