| Interface | osid.provisioning.rules.ProvisionEnablerAdminSession | ||
|---|---|---|---|
| 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 | canCreateProvisionEnablers | ||
| Description |
Tests if this user can create
| ||
| Return | boolean | false if ProvisionEnabler creation is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | canCreateProvisionEnablerWithRecordTypes | ||
| Description |
Tests if this user can create a single
| ||
| Parameters | osid.type.Type[] | provisionEnablerRecordTypes | array of provision enabler record types |
| Return | boolean | true if ProvisionEnabler creation using the
specified record Types is supported, false otherwise | |
| Errors | NULL_ARGUMENT | provisionEnablerRecordTypes is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getProvisionEnablerFormForCreate | ||
| Description |
Gets the provision enabler form for creating new provision enablers. A new form should be requested for each create transaction. | ||
| Parameters | osid.type.Type[] | provisionEnablerRecordTypes | array of provision enabler record types |
| Return | osid.provisioning.rules.ProvisionEnablerForm | the provision enabler form | |
| Errors | NULL_ARGUMENT | provisionEnablerRecordTypes 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 | createProvisionEnabler | ||
| Description |
Creates a new | ||
| Parameters | osid.provisioning.rules.ProvisionEnablerForm | provisionEnablerForm | the form for this ProvisionEnabler |
| Return | osid.provisioning.rules.ProvisionEnabler | the new ProvisionEnabler | |
| Errors | ILLEGAL_STATE | provisionEnablerForm already used in a create transaction | |
| INVALID_ARGUMENT | one or more of the form elements is invalid | ||
| NULL_ARGUMENT | provisionEnablerForm is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | provisionEnablerForm did not originate from
getProvisionEnablerFormForCreate() | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canUpdateProvisionEnablers | ||
| Description |
Tests if this user can update
| ||
| Return | boolean | false if ProvisionEnabler modification is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getProvisionEnablerFormForUpdate | ||
| Description |
Gets the provision enabler form for updating an existing provision enabler. A new provision enabler form should be requested for each update transaction. | ||
| Parameters | osid.id.Id | provisionEnablerId | the Id of the ProvisionEnabler |
| Return | osid.provisioning.rules.ProvisionEnablerForm | the provision enabler form | |
| Errors | NOT_FOUND | provisionEnablerId is not found | |
| NULL_ARGUMENT | provisionEnablerId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | updateProvisionEnabler | ||
| Description |
Updates an existing provision enabler. | ||
| Parameters | osid.provisioning.rules.ProvisionEnablerForm | provisionEnablerForm | the form containing the elements to be updated |
| Errors | ILLEGAL_STATE | provisionEnablerForm already used in an update transaction | |
| INVALID_ARGUMENT | the form contains an invalid value | ||
| NULL_ARGUMENT | provisionEnablerForm is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | provisionEnablerForm did not originate from
getProvisionEnablerFormForUpdate() | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canDeleteProvisionEnablers | ||
| Description |
Tests if this user can delete
| ||
| Return | boolean | false if ProvisionEnabler deletion is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | deleteProvisionEnabler | ||
| Description |
Deletes a | ||
| Parameters | osid.id.Id | provisionEnablerId | the Id of the ProvisionEnabler to remove |
| Errors | NOT_FOUND | provisionEnablerId not found | |
| NULL_ARGUMENT | provisionEnablerId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canManageProvisionEnablerAliases | ||
| Description |
Tests if this user can manage | ||
| Return | boolean | false if ProvisionEnabler aliasing is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | aliasProvisionEnabler | ||
| Description |
Adds an | ||
| Parameters | osid.id.Id | provisionEnablerId | the Id of a ProvisionEnabler |
osid.id.Id | aliasId | the alias Id | |
| Errors | ALREADY_EXISTS | aliasId is already assigned | |
| NOT_FOUND | provisionEnablerId not found | ||
| NULL_ARGUMENT | provisionEnablerId or aliasId is
null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |