| Interface | osid.provisioning.rules.PoolEnablerAdminSession | ||
|---|---|---|---|
| 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 | canCreatePoolEnablers | ||
| Description |
Tests if this user can create | ||
| Return | boolean | false if PoolEnabler creation is not authorized,
true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | canCreatePoolEnablerWithRecordTypes | ||
| Description |
Tests if this user can create a single
| ||
| Parameters | osid.type.Type[] | poolEnablerRecordTypes | array of pool enabler record types |
| Return | boolean | true if PoolEnabler creation using the specified
record Types is supported, false otherwise | |
| Errors | NULL_ARGUMENT | poolEnablerRecordTypes is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getPoolEnablerFormForCreate | ||
| Description |
Gets the pool enabler form for creating new pool enablers. A new form should be requested for each create transaction. | ||
| Parameters | osid.type.Type[] | poolEnablerRecordTypes | array of pool enabler record types |
| Return | osid.provisioning.rules.PoolEnablerForm | the pool enabler form | |
| Errors | NULL_ARGUMENT | poolEnablerRecordTypes 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 | createPoolEnabler | ||
| Description |
Creates a new | ||
| Parameters | osid.provisioning.rules.PoolEnablerForm | poolEnablerForm | the form for this PoolEnabler |
| Return | osid.provisioning.rules.PoolEnabler | the new PoolEnabler | |
| Errors | ILLEGAL_STATE | poolEnablerForm already used in a create transaction | |
| INVALID_ARGUMENT | one or more of the form elements is invalid | ||
| NULL_ARGUMENT | poolEnablerForm is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | poolEnablerForm did not originate from
getPoolEnablerFormForCreate() | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canUpdatePoolEnablers | ||
| Description |
Tests if this user can update | ||
| Return | boolean | false if PoolEnabler modification is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getPoolEnablerFormForUpdate | ||
| Description |
Gets the pool enabler form for updating an existing pool enabler. A new pool enabler form should be requested for each update transaction. | ||
| Parameters | osid.id.Id | poolEnablerId | the Id of the PoolEnabler |
| Return | osid.provisioning.rules.PoolEnablerForm | the pool enabler form | |
| Errors | NOT_FOUND | poolEnablerId is not found | |
| NULL_ARGUMENT | poolEnablerId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | updatePoolEnabler | ||
| Description |
Updates an existing pool enabler. | ||
| Parameters | osid.provisioning.rules.PoolEnablerForm | poolEnablerForm | the form containing the elements to be updated |
| Errors | ILLEGAL_STATE | poolEnablerForm already used in an update transaction | |
| INVALID_ARGUMENT | the form contains an invalid value | ||
| NULL_ARGUMENT | poolEnablerForm is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | poolEnablerForm did not originate from
getPoolEnablerFormForUpdate() | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canDeletePoolEnablers | ||
| Description |
Tests if this user can delete | ||
| Return | boolean | false if PoolEnabler deletion is not authorized,
true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | deletePoolEnabler | ||
| Description |
Deletes a | ||
| Parameters | osid.id.Id | poolEnablerId | the Id of the PoolEnabler to remove |
| Errors | NOT_FOUND | poolEnablerId not found | |
| NULL_ARGUMENT | poolEnablerId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canManagePoolEnablerAliases | ||
| Description |
Tests if this user can manage | ||
| Return | boolean | false if PoolEnabler aliasing is not authorized,
true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | aliasPoolEnabler | ||
| Description |
Adds an | ||
| Parameters | osid.id.Id | poolEnablerId | the Id of a PoolEnabler |
osid.id.Id | aliasId | the alias Id | |
| Errors | ALREADY_EXISTS | aliasId is already assigned | |
| NOT_FOUND | poolEnablerId not found | ||
| NULL_ARGUMENT | poolEnablerId or aliasId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |