| Interface | osid.provisioning.rules.BrokerEnablerDistributorAssignmentSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Used By | osid.provisioning.rules.ProvisioningRulesManager | ||
osid.provisioning.rules.ProvisioningRulesProxyManager | |||
| Description |
This session provides methods to re-assign
Adding a reference of a BrokerEnabler to another
Distributor is not a copy operation (eg: does not change its
| ||
| Method | canAssignBrokerEnablers | ||
| Description |
Tests if this user can alter broker enabler/distributor
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 | canAssignBrokerEnablerToDistributor | ||
| Description |
Tests if this user can alter broker enabler/distributor
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
| ||
| Parameters | osid.id.Id | distributorId | the Id of the Distributor |
| Return | boolean | false if mapping is not authorized, true
otherwise | |
| Errors | NULL_ARGUMENT | distributorId is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssignableDistributorIds | ||
| Description |
Gets a list of distributors including and under the given distributor node in which any broker enabler can be assigned. | ||
| Parameters | osid.id.Id | distributorId | the Id of the Distributor |
| Return | osid.id.IdList | list of assignable distributor Ids | |
| Errors | NULL_ARGUMENT | distributorId is null | |
| OPERATION_FAILED | unable to complete request | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssignableDistributorIdsForBrokerEnabler | ||
| Description |
Gets a list of distributors including and under the given distributor node in which a specific broker enabler can be assigned. | ||
| Parameters | osid.id.Id | distributorId | the Id of the Distributor |
osid.id.Id | brokerEnablerId | the Id of the BrokerEnabler | |
| Return | osid.id.IdList | list of assignable distributor Ids | |
| Errors | NULL_ARGUMENT | distributorId or brokerEnablerId is
null | |
| OPERATION_FAILED | unable to complete request | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | assignBrokerEnablerToDistributor | ||
| Description |
Adds an existing | ||
| Parameters | osid.id.Id | brokerEnablerId | the Id of the BrokerEnabler |
osid.id.Id | distributorId | the Id of the Distributor | |
| Errors | ALREADY_EXISTS | brokerEnablerId is already assigned to
distributorId | |
| NOT_FOUND | brokerEnablerId or distributorId not found | ||
| NULL_ARGUMENT | brokerEnablerId or distributorId is
null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | unassignBrokerEnablerFromDistributor | ||
| Description |
Removes a | ||
| Parameters | osid.id.Id | brokerEnablerId | the Id of the BrokerEnabler |
osid.id.Id | distributorId | the Id of the Distributor | |
| Errors | NOT_FOUND | brokerEnablerId or distributorId not found or
brokerEnablerId not assigned to distributorId | |
| NULL_ARGUMENT | brokerEnablerId or distributorId is
null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | reassignBrokerEnablerToDistributor | ||
| Description |
Moves a | ||
| Parameters | osid.id.Id | brokerEnablerId | the Id of the BrokerEnabler |
osid.id.Id | fromDistributorId | the Id of the current Distributor | |
osid.id.Id | toDistributorId | the Id of the destination Distributor | |
| Errors | ALREADY_EXISTS | brokerEnablerId already assigned to
toDistributorId | |
| NOT_FOUND | brokerEnablerId, fromDistributorId , or
toDistributorId not found or brokerEnablerId not
mapped to fromDistributorId | ||
| NULL_ARGUMENT | brokerEnablerId, fromDistributorId , or
toDistributorId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |