| Interface | osid.provisioning.rules.ProvisionEnablerRuleApplicationSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Used By | osid.provisioning.rules.ProvisioningRulesManager | ||
osid.provisioning.rules.ProvisioningRulesProxyManager | |||
| 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 | canAssignProvisionEnablers | ||
| Description |
Tests if this user can alter provision
enabler/provision 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 | assignProvisionEnablerToProvision | ||
| Description |
Adds an existing | ||
| Parameters | osid.id.Id | provisionEnablerId | the Id of the ProvisionEnabler |
osid.id.Id | provisionId | the Id of the Provision | |
| Errors | ALREADY_EXISTS | provisionEnablerId already applied to provisionId | |
| NOT_FOUND | provisionEnablerId or provisionId not found | ||
| NULL_ARGUMENT | provisionEnablerId or provisionId is
null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | unassignProvisionEnablerFromProvision | ||
| Description |
Removes an existing | ||
| Parameters | osid.id.Id | provisionEnablerId | the Id of the ProvisionEnabler |
osid.id.Id | provisionId | the Id of the Provision | |
| Errors | NOT_FOUND | provisionEnablerId or provisionId not found or
provisionEnablerId already applied to provisionId | |
| NULL_ARGUMENT | provisionEnablerId or provisionId is
null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canSequenceProvisionEnablers | ||
| Description |
Tests if this user can order
| ||
| Return | boolean | false if ProvisionEnabler ordering is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | moveProvisionEnablerAhead | ||
| Description |
Reorders provision enablers for a provision by moving the specified provision enabler in front of a reference provision enabler. | ||
| Parameters | osid.id.Id | provisionEnablerId | the Id of the ProvisionEnabler |
osid.id.Id | provisionId | the Id of the Provision | |
osid.id.Id | referenceId | the reference provision enabler Id | |
| Errors | NOT_FOUND | provisionEnablerId, provisionId , or referenceId
not found or, provisionEnablerId or referenceId not
related to provisionId | |
| NULL_ARGUMENT | provisionEnablerId, provisionId , or referenceId
is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | moveProvisionEnablerBehind | ||
| Description |
Reorders provision enablers for a provision by moving the specified provision enabler behind a reference provision enabler. | ||
| Parameters | osid.id.Id | provisionEnablerId | the Id of the ProvisionEnabler |
osid.id.Id | provisionId | the Id of the Provision | |
osid.id.Id | referenceId | the reference provision enabler Id | |
| Errors | NOT_FOUND | provisionEnablerId, provisionId , or referenceId
not found or, provisionEnablerId or referenceId not
related to provisionId | |
| NULL_ARGUMENT | provisionEnablerId, provisionId , or referenceId
is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | orderProvisionEnablers | ||
| Description |
Reorders a set of provision enablers for a provision. | ||
| Parameters | osid.id.Id[] | provisionEnablerIds | the Ids for a set of ProvisionEnablers |
osid.id.Id | provisionId | the Id of the Provision | |
| Errors | NOT_FOUND | provisionEnablerId, provisionId , or referenceId
not found or, provisionEnablerId or referenceId not
related to provisionId | |
| NULL_ARGUMENT | provisionEnablerIds, provisionId , or referenceId
is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |