| Interface | osid.provisioning.rules.ProvisionableEnablerAdminSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Used By | osid.provisioning.rules.ProvisioningRulesManager | ||
osid.provisioning.rules.ProvisioningRulesProxyManager | |||
| Description |
This session creates, updates, and deletes
Create and update operations differ in their usage. To
create a For updates, The delete operations delete
This session includes an | ||
| 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 | canCreateProvisionableEnablers | ||
| Description |
Tests if this user can create
| ||
| Return | boolean | false if ProvisionableEnabler creation is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | canCreateProvisionableEnablerWithRecordTypes | ||
| Description |
Tests if this user can create a single
| ||
| Parameters | osid.type.Type[] | provisionableEnablerRecordTypes | array of provisionable enabler record types |
| Return | boolean | true if ProvisionableEnabler creation using the
specified record Types is supported, false otherwise | |
| Errors | NULL_ARGUMENT | provisionableEnablerRecordTypes is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getProvisionableEnablerFormForCreate | ||
| Description |
Gets the provisionable enabler form for creating new provisionable enablers. A new form should be requested for each create transaction. | ||
| Parameters | osid.type.Type[] | provisionableEnablerRecordTypes | array of provisionable enabler record types |
| Return | osid.provisioning.rules.ProvisionableEnablerForm | the provisionable enabler form | |
| Errors | NULL_ARGUMENT | provisionableEnablerRecordTypes is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | unable to get form for requested record types | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | createProvisionableEnabler | ||
| Description |
Creates a new | ||
| Parameters | osid.provisioning.rules.ProvisionableEnablerForm | provisionableEnablerForm | the form for this ProvisionableEnabler |
| Return | osid.provisioning.rules.ProvisionableEnabler | the new ProvisionableEnabler | |
| Errors | ILLEGAL_STATE | provisionableEnablerForm already used in a create transaction | |
| INVALID_ARGUMENT | one or more of the form elements is invalid | ||
| NULL_ARGUMENT | provisionableEnablerForm is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | provisionableEnablerForm did not originate from
getProvisionableEnablerFormForCreate() | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canUpdateProvisionableEnablers | ||
| Description |
Tests if this user can update
| ||
| Return | boolean | false if ProvisionableEnabler modification is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getProvisionableEnablerFormForUpdate | ||
| Description |
Gets the provisionable enabler form for updating an existing provisionable enabler. A new provisionable enabler form should be requested for each update transaction. | ||
| Parameters | osid.id.Id | provisionableEnablerId | the Id of the ProvisionableEnabler |
| Return | osid.provisioning.rules.ProvisionableEnablerForm | the provisionable enabler form | |
| Errors | NOT_FOUND | provisionableEnablerId is not found | |
| NULL_ARGUMENT | provisionableEnablerId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | updateProvisionableEnabler | ||
| Description |
Updates an existing provisionable enabler. | ||
| Parameters | osid.provisioning.rules.ProvisionableEnablerForm | provisionableEnablerForm | the form containing the elements to be updated |
| Errors | ILLEGAL_STATE | provisionableEnablerForm already used in an update transaction | |
| INVALID_ARGUMENT | the form contains an invalid value | ||
| NULL_ARGUMENT | provisionableEnablerForm is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | provisionableEnablerForm did not originate from
getProvisionableEnablerFormForUpdate() | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canDeleteProvisionableEnablers | ||
| Description |
Tests if this user can delete
| ||
| Return | boolean | false if ProvisionableEnabler deletion is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | deleteProvisionableEnabler | ||
| Description |
Deletes a | ||
| Parameters | osid.id.Id | provisionableEnablerId | the Id of the ProvisionableEnabler to remove |
| Errors | NOT_FOUND | provisionableEnablerId not found | |
| NULL_ARGUMENT | provisionableEnablerId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canManageProvisionableEnablerAliases | ||
| Description |
Tests if this user can manage | ||
| Return | boolean | false if ProvisionableEnabler aliasing is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | aliasProvisionableEnabler | ||
| Description |
Adds an | ||
| Parameters | osid.id.Id | provisionableEnablerId | the Id of a ProvisionableEnabler |
osid.id.Id | aliasId | the alias Id | |
| Errors | ALREADY_EXISTS | aliasId is already assigned | |
| NOT_FOUND | provisionableEnablerId not found | ||
| NULL_ARGUMENT | provisionableEnablerId or aliasId is
null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |