OSID Logo
OSID Specifications
provisioning rules package
Version 3.0.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.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.
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.

Returnbooleanfalse if mapping is not authorized, true otherwise
CompliancemandatoryThis method must be implemented.
MethodassignBrokerConstrainerEnablerToBrokerConstrainer
Description

Adds an existing BrokerConstrainerEnabler to a BrokerConstrainer .

Parametersosid.id.IdbrokerConstrainerEnablerIdthe Id of the BrokerConstrainerEnabler
osid.id.IdbrokerConstrainerIdthe Id of the BrokerConstrainer
ErrorsALREADY_EXISTSbrokerConstrainerEnablerId already applied to brokerConstrainerId
NOT_FOUNDbrokerConstrainerEnablerId or brokerConstrainerId not found
NULL_ARGUMENTbrokerConstrainerEnablerId or brokerConstrainerId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodunassignBrokerConstrainerEnablerFromBrokerConstrainer
Description

Removes an existing BrokerConstrainerEnabler from a BrokerConstrainer .

Parametersosid.id.IdbrokerConstrainerEnablerIdthe Id of the BrokerConstrainerEnabler
osid.id.IdbrokerConstrainerIdthe Id of the BrokerConstrainer
ErrorsNOT_FOUNDbrokerConstrainerEnablerId or brokerConstrainerId not found or brokerConstrainerEnablerId already applied to brokerConstrainerId
NULL_ARGUMENTbrokerConstrainerEnablerId or brokerConstrainerId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis 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.

Returnbooleanfalse if BrokerConstrainerEnabler ordering is not authorized, true otherwise
CompliancemandatoryThis 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.IdbrokerConstrainerEnablerIdthe Id of the BrokerConstrainerEnabler
osid.id.IdbrokerConstrainerIdthe Id of the BrokerConstrainer
osid.id.IdreferenceIdthe reference broker constrainer enabler Id
ErrorsNOT_FOUNDbrokerConstrainerEnablerId brokerConstrainerId , or referenceId not found or, brokerConstrainerEnablerId or referenceId not related to brokerConstrainerId
NULL_ARGUMENTbrokerConstrainerEnablerId, brokerConstrainerId , or referenceId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis 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.IdbrokerConstrainerEnablerIdthe Id of the BrokerConstrainerEnabler
osid.id.IdbrokerConstrainerIdthe Id of the BrokerConstrainer
osid.id.IdreferenceIdthe reference broker constrainer Id
ErrorsNOT_FOUNDbrokerConstrainerEnablerId brokerConstrainerId , or referenceId not found or, brokerConstrainerEnablerId or referenceId not related to brokerConstrainerId
NULL_ARGUMENTbrokerConstrainerEnablerId, brokerConstrainerId , or referenceId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodorderBrokerConstrainerEnablers
Description

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

Parametersosid.id.Id[]brokerConstrainerEnablerIdsthe Ids for a set of BrokerConstrainerEnablers
osid.id.IdbrokerConstrainerIdthe Id of the BrokerConstrainer
ErrorsNOT_FOUNDbrokerConstrainerId not found or, a brokerConstrainerEnablerId not related to brokerConstrainerId
NULL_ARGUMENTbrokerConstrainerEnablerIds or brokerConstrainerId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.