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

This session provides methods to apply BrokerConstrainerEnablers to BrokerConstrainers. Multiple BrokerConstrainerEnablers applied to an BrokerConstrainer may be sequenced such that the first positive evaluation results in the BrokerConstrainerEnabler 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.
MethodcanAssignBrokerConstrainerEnablers
Description

Tests if this user can alter broker constrainer enabler/broker 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.
MethodassignBrokerConstrainerEnablerToBrokerConstrainer
Description

Adds an existing BrokerConstrainerEnabler to a BrokerConstrainer.

Parametersosid.id.IdbrokerConstrainerEnablerId the Id of the BrokerConstrainerEnabler
osid.id.IdbrokerConstrainerId the Id of the BrokerConstrainer
ErrorsALREADY_EXISTS brokerConstrainerEnablerId already applied to brokerConstrainerId
NOT_FOUND brokerConstrainerEnablerId or brokerConstrainerId not found
NULL_ARGUMENT brokerConstrainerEnablerId or brokerConstrainerId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodunassignBrokerConstrainerEnablerFromBrokerConstrainer
Description

Removes an existing BrokerConstrainerEnabler from a BrokerConstrainer.

Parametersosid.id.IdbrokerConstrainerEnablerId the Id of the BrokerConstrainerEnabler
osid.id.IdbrokerConstrainerId the Id of the BrokerConstrainer
ErrorsNOT_FOUND brokerConstrainerEnablerId or brokerConstrainerId not found or brokerConstrainerEnablerId already applied to brokerConstrainerId
NULL_ARGUMENT brokerConstrainerEnablerId or brokerConstrainerId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodcanSequenceBrokerConstrainerEnablers
Description

Tests if this user can order BrokerConstrainerEnablers. 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 BrokerConstrainerEnabler ordering is not authorized, true otherwise
Compliancemandatory This method must be implemented.
MethodmoveBrokerConstrainerEnablerAhead
Description

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

Parametersosid.id.IdbrokerConstrainerEnablerId the Id of the BrokerConstrainerEnabler
osid.id.IdbrokerConstrainerId the Id of the BrokerConstrainer
osid.id.IdreferenceId the reference broker constrainer enabler Id
ErrorsNOT_FOUND brokerConstrainerEnablerId brokerConstrainerId, or referenceId not found or, brokerConstrainerEnablerId or referenceId not related to brokerConstrainerId
NULL_ARGUMENT brokerConstrainerEnablerId, brokerConstrainerId, or referenceId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodmoveBrokerConstrainerEnablerBehind
Description

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

Parametersosid.id.IdbrokerConstrainerEnablerId the Id of the BrokerConstrainerEnabler
osid.id.IdbrokerConstrainerId the Id of the BrokerConstrainer
osid.id.IdreferenceId the reference broker constrainer Id
ErrorsNOT_FOUND brokerConstrainerEnablerId brokerConstrainerId, or referenceId not found or, brokerConstrainerEnablerId or referenceId not related to brokerConstrainerId
NULL_ARGUMENT brokerConstrainerEnablerId, brokerConstrainerId, or referenceId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodorderBrokerConstrainerEnablers
Description

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

Parametersosid.id.Id[]brokerConstrainerEnablerIds the Ids for a set of BrokerConstrainerEnablers
osid.id.IdbrokerConstrainerId the Id of the BrokerConstrainer
ErrorsNOT_FOUND brokerConstrainerId not found or, a brokerConstrainerEnablerId not related to brokerConstrainerId
NULL_ARGUMENT brokerConstrainerEnablerIds or brokerConstrainerId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.