| Interface | osid.provisioning.PoolAdminSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| 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 | canCreatePools | ||
| Description |
Tests if this user can create | ||
| Return | boolean | false if Pool creation is not authorized,
true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | canCreatePoolWithRecordTypes | ||
| Description |
Tests if this user can create a single | ||
| Parameters | osid.type.Type[] | poolRecordTypes | array of pool record types |
| Return | boolean | true if Pool creation using the specified
record Types is supported, false otherwise | |
| Errors | NULL_ARGUMENT | poolRecordTypes is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getPoolFormForCreate | ||
| Description |
Gets the pool form for creating new pools. A new form should be requested for each create transaction. | ||
| Parameters | osid.id.Id | brokerId | a broker Id |
osid.type.Type[] | poolRecordTypes | array of pool record types | |
| Return | osid.provisioning.PoolForm | the pool form | |
| Errors | NOT_FOUND | brokerId is not found | |
| NULL_ARGUMENT | brokerId or poolRecordTypes 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 | createPool | ||
| Description |
Creates a new | ||
| Parameters | osid.provisioning.PoolForm | poolForm | the form for this Pool |
| Return | osid.provisioning.Pool | the new Pool | |
| Errors | ILLEGAL_STATE | poolForm already used in a create transaction | |
| INVALID_ARGUMENT | one or more of the form elements is invalid | ||
| NULL_ARGUMENT | poolForm is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | poolForm did not originate from
getPoolFormForCreate() | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canUpdatePools | ||
| Description |
Tests if this user can update | ||
| Return | boolean | false if Pool modification is not authorized,
true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getPoolFormForUpdate | ||
| Description |
Gets the pool form for updating an existing pool. A new pool form should be requested for each update transaction. | ||
| Parameters | osid.id.Id | poolId | the Id of the Pool |
| Return | osid.provisioning.PoolForm | the pool form | |
| Errors | NOT_FOUND | poolId is not found | |
| NULL_ARGUMENT | poolId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | updatePool | ||
| Description |
Updates an existing pool. | ||
| Parameters | osid.provisioning.PoolForm | poolForm | the form containing the elements to be updated |
| Errors | ILLEGAL_STATE | poolForm already used in an update transaction | |
| INVALID_ARGUMENT | the form contains an invalid value | ||
| NULL_ARGUMENT | poolForm is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | poolForm did not originate from
getPoolFormForUpdate() | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canDeletePools | ||
| Description |
Tests if this user can delete | ||
| Return | boolean | false if Pool deletion is not authorized,
true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | deletePool | ||
| Description |
Deletes a | ||
| Parameters | osid.id.Id | poolId | the Id of the Pool to remove |
| Errors | NOT_FOUND | poolId not found | |
| NULL_ARGUMENT | poolId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canManagePoolAliases | ||
| Description |
Tests if this user can manage | ||
| Return | boolean | false if Pool aliasing is not authorized,
true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | aliasPool | ||
| Description |
Adds an | ||
| Parameters | osid.id.Id | poolId | the Id of a Pool |
osid.id.Id | aliasId | the alias Id | |
| Errors | ALREADY_EXISTS | aliasId is already assigned | |
| NOT_FOUND | poolId not found | ||
| NULL_ARGUMENT | poolId or aliasId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |