Interface | osid.provisioning.rules.BrokerConstrainerEnablerRuleApplicationSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session provides methods to apply | ||
Method | getDistributorId | ||
Description |
Gets the | ||
Return | osid.id.Id | the Distributor Id associated with this session | |
Compliance | mandatory | This method must be implemented. | |
Method | getDistributor | ||
Description |
Gets the | ||
Return | osid.provisioning.Distributor | the distributor | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | canAssignBrokerConstrainerEnablers | ||
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 | ||
Return | boolean | false if mapping is not authorized, true
otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | assignBrokerConstrainerEnablerToBrokerConstrainer | ||
Description |
Adds an existing | ||
Parameters | osid.id.Id | brokerConstrainerEnablerId | the Id of the BrokerConstrainerEnabler |
osid.id.Id | brokerConstrainerId | the Id of the BrokerConstrainer | |
Errors | ALREADY_EXISTS | brokerConstrainerEnablerId is 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 | ||
Compliance | mandatory | This method must be implemented. | |
Method | unassignBrokerConstrainerEnablerFromBrokerConstrainer | ||
Description |
Removes a | ||
Parameters | osid.id.Id | brokerConstrainerEnablerId | the Id of the BrokerConstrainerEnabler |
osid.id.Id | brokerConstrainerId | the Id of the BrokerConstrainer | |
Errors | NOT_FOUND | brokerConstrainerEnablerId or brokerConstrainerId
not found or brokerConstrainerEnablerId not applied to
brokerConstrainerId | |
NULL_ARGUMENT | brokerConstrainerEnablerId or brokerConstrainerId
is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | canSequenceBrokerConstrainerEnablers | ||
Description |
Tests if this user can order | ||
Return | boolean | false if BrokerConstrainerEnabler ordering is
not authorized, true otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | moveBrokerConstrainerEnablerAhead | ||
Description |
Reorders broker constrainer enablers for a broker constrainer by moving the specified broker constrainer enabler in front of a reference broker constrainer. | ||
Parameters | osid.id.Id | brokerConstrainerEnablerId | the Id of a BrokerConstrainerEnabler |
osid.id.Id | brokerConstrainerId | the Id of a BrokerConstrainer | |
osid.id.Id | referenceId | the reference broker constrainer enabler Id | |
Errors | NOT_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 | ||
Compliance | mandatory | This method must be implemented. | |
Method | moveBrokerConstrainerEnablerBehind | ||
Description |
Reorders broker constrainer enablers for a broker constrainer by moving the specified broker constrainer enabler behind a reference broker constrainer. | ||
Parameters | osid.id.Id | brokerConstrainerEnablerId | the Id of a BrokerConstrainerEnabler |
osid.id.Id | brokerConstrainerId | the Id of a BrokerConstrainer | |
osid.id.Id | referenceId | the reference broker constrainer enabler Id | |
Errors | NOT_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 | ||
Compliance | mandatory | This method must be implemented. | |
Method | orderBrokerConstrainerEnablers | ||
Description |
Reorders a set of broker constrainer enablers for a broker constrainer. | ||
Parameters | osid.id.Id[] | brokerConstrainerEnablerIds | the Ids for a set of BrokerConstrainerEnablers
|
osid.id.Id | brokerConstrainerId | the Id of a BrokerConstrainer | |
Errors | NOT_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 | ||
Compliance | mandatory | This method must be implemented. |