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

This session provides methods to apply PoolConstrainerEnablers to PoolConstrainers. Multiple PoolConstrainerEnablers applied to an PoolConstrainer may be sequenced such that the first positive evaluation results in the PoolConstrainerEnabler used.

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.
MethodcanAssignPoolConstrainerEnablers
Description

Tests if this user can alter pool constrainer enabler/pool constrainer mappings. A return of true does not guarantee successful authorization. A return of false indicates that it is known mapping 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 lookup operations to unauthorized users.

Returnboolean false if mapping is not authorized, true otherwise
Compliancemandatory This method must be implemented.
MethodassignPoolConstrainerEnablerToPoolConstrainer
Description

Adds an existing PoolConstrainerEnabler to a PoolConstrainer.

Parametersosid.id.IdpoolConstrainerEnablerId the Id of the PoolConstrainerEnabler
osid.id.IdpoolConstrainerId the Id of the PoolConstrainer
ErrorsALREADY_EXISTS poolConstrainerEnablerId already applied to poolConstrainerId
NOT_FOUND poolConstrainerEnablerId or poolConstrainerId not found
NULL_ARGUMENT poolConstrainerEnablerId or poolConstrainerId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodunassignPoolConstrainerEnablerFromPoolConstrainer
Description

Removes an existing PoolConstrainerEnabler from a PoolConstrainer.

Parametersosid.id.IdpoolConstrainerEnablerId the Id of the PoolConstrainerEnabler
osid.id.IdpoolConstrainerId the Id of the PoolConstrainer
ErrorsNOT_FOUND poolConstrainerEnablerId or poolConstrainerId not found or poolConstrainerEnablerId already applied to poolConstrainerId
NULL_ARGUMENT poolConstrainerEnablerId or poolConstrainerId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodcanSequencePoolConstrainerEnablers
Description

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

Returnboolean false if PoolConstrainerEnabler ordering is not authorized, true otherwise
Compliancemandatory This method must be implemented.
MethodmovePoolConstrainerEnablerAhead
Description

Reorders pool constrainer enablers for a pool constrainer by moving the specified pool constrainer enabler in front of a reference pool constrainer enabler.

Parametersosid.id.IdpoolConstrainerEnablerId the Id of the PoolConstrainerEnabler
osid.id.IdpoolConstrainerId the Id of the PoolConstrainer
osid.id.IdreferenceId the reference pool constrainer enabler Id
ErrorsNOT_FOUND poolConstrainerEnablerId poolConstrainerId, or referenceId not found or, poolConstrainerEnablerId or referenceId not related to poolConstrainerId
NULL_ARGUMENT poolConstrainerEnablerId, poolConstrainerId, or referenceId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodmovePoolConstrainerEnablerBehind
Description

Reorders pool constrainer enablers for a pool constrainer by moving the specified pool constrainer enabler behind a reference pool constrainer enabler.

Parametersosid.id.IdpoolConstrainerEnablerId the Id of the PoolConstrainerEnabler
osid.id.IdpoolConstrainerId the Id of the PoolConstrainer
osid.id.IdreferenceId the reference pool constrainer Id
ErrorsNOT_FOUND poolConstrainerEnablerId poolConstrainerId, or referenceId not found or, poolConstrainerEnablerId or referenceId not related to poolConstrainerId
NULL_ARGUMENT poolConstrainerEnablerId, poolConstrainerId, or referenceId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodorderPoolConstrainerEnablers
Description

Reorders a set of pool constrainer enablers for a pool constrainer.

Parametersosid.id.Id[]poolConstrainerEnablerIds the Ids for a set of PoolConstrainerEnablers
osid.id.IdpoolConstrainerId the Id of the PoolConstrainer
ErrorsNOT_FOUND poolConstrainerId not found or, a poolConstrainerEnablerId not related to poolConstrainerId
NULL_ARGUMENT poolConstrainerEnablerIds or poolConstrainerId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.