OSID Logo
OSID Specifications
provisioning package
Version 3.1.0
Interfaceosid.provisioning.PoolSmartDistributorSession
Implementsosid.OsidSession
Used Byosid.provisioning.ProvisioningManager
Description

This session manages queries and sequencing to create "smart" dynamic catalogs. A PoolQuery can be retrieved from this session and distributorped to this Distributor to create a virtual collection of Pools. The pools may be sequenced using the PoolSearchOrder from this session.

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

MethodgetDistributorId
Description

Gets the Distributor Id associated with this session.

Returnosid.id.Id the Distributor Id associated with this session
Compliancemandatory This method must be implemented.
MethodgetDistributor
Description

Gets the Distributor associated with this session.

Returnosid.provisioning.Distributor the distributor
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This 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.

Returnboolean false if smart distributor management is not authorized, true otherwise
Compliancemandatory This method must be implemented.
MethodgetPoolQuery
Description

Gets a pool query.

Returnosid.provisioning.PoolQuery the pool query
Compliancemandatory This method must be implemented.
MethodgetPoolSearchOrder
Description

Gets a pool search order.

Returnosid.provisioning.PoolSearchOrder the pool search order
Compliancemandatory This method must be implemented.
MethodapplyPoolQuery
Description

Applies a pool query to this distributor.

Parametersosid.provisioning.PoolQuerypoolQuery the pool query
ErrorsNULL_ARGUMENT poolQuery is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED poolQuery not of this service
Compliancemandatory This method must be implemented.
MethodinspectPoolQuery
Description

Gets a pool query inspector for this distributor.

Returnosid.provisioning.PoolQueryInspector the pool query inspector
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
Compliancemandatory This method must be implemented.
MethodapplyPoolSequencing
Description

Applies a pool search order to this distributor.

Parametersosid.provisioning.PoolSearchOrderpoolSearchOrder the pool search order
ErrorsNULL_ARGUMENT poolSearchOrder is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED poolSearchOrder not of this service
Compliancemandatory This method must be implemented.
MethodgetPoolQueryFromInspector
Description

Gets a pool query from an inspector.

Parametersosid.provisioning.PoolQueryInspectorpoolQueryInspector a pool query inspector
Returnosid.provisioning.PoolQuery the pool query
ErrorsNULL_ARGUMENT poolQueryInspector is null
UNSUPPORTED poolQueryInspector is not of this service
Compliancemandatory This method must be implemented.