| Interface | osid.provisioning.RequestAdminSession | ||
|---|---|---|---|
| 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 | canCreateRequests | ||
| Description |
Tests if this user can create | ||
| Return | boolean | false if Request creation is not authorized,
true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | canCreateRequestWithRecordTypes | ||
| Description |
Tests if this user can create a single | ||
| Parameters | osid.type.Type[] | requestRecordTypes | array of request record types |
| Return | boolean | true if Request creation using the specified
record Types is supported, false otherwise | |
| Errors | NULL_ARGUMENT | requestRecordTypes is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getRequestFormForCreate | ||
| Description |
Gets the request form for creating new requests. A new form should be requested for each create transaction. | ||
| Parameters | osid.id.Id | resourceId | the Id for the resource |
osid.id.Id | queueId | the Id for the queue | |
osid.type.Type[] | requestRecordTypes | array of request record types | |
| Return | osid.provisioning.RequestForm | the request form | |
| Errors | NOT_FOUND | resourceId or queueId is not found | |
| NULL_ARGUMENT | resourceId, queueId, or requestRecordTypes 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 | createRequest | ||
| Description |
Creates a new | ||
| Parameters | osid.provisioning.RequestForm | requestForm | the form for this Request |
| Return | osid.provisioning.Request | the new Request | |
| Errors | ILLEGAL_STATE | requestForm already used in a create transaction | |
| INVALID_ARGUMENT | one or more of the form elements is invalid | ||
| NULL_ARGUMENT | requestForm is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | requestForm did not originate from
getRequestFormForCreate() | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canUpdateRequests | ||
| Description |
Tests if this user can update | ||
| Return | boolean | false if Request modification is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getRequestFormForUpdate | ||
| Description |
Gets the request form for updating an existing request. A new request form should be requested for each update transaction. | ||
| Parameters | osid.id.Id | requestId | the Id of the Request |
| Return | osid.provisioning.RequestForm | the request form | |
| Errors | NOT_FOUND | requestId is not found | |
| NULL_ARGUMENT | requestId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | updateRequest | ||
| Description |
Updates an existing request. | ||
| Parameters | osid.provisioning.RequestForm | requestForm | the form containing the elements to be updated |
| Errors | ILLEGAL_STATE | requestForm already used in an update transaction | |
| INVALID_ARGUMENT | the form contains an invalid value | ||
| NULL_ARGUMENT | requestForm is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | requestForm did not originate from
getRequestFormForUpdate() | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | submitRequest | ||
| Description |
Submits a | ||
| Parameters | osid.id.Id | requestId | the Id of the Request to submit |
| Errors | NOT_FOUND | requestId not found | |
| NULL_ARGUMENT | requestId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canCancelRequests | ||
| Description |
Tests if this user can cancel | ||
| Return | boolean | false if Request cancelation is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | cancelRequest | ||
| Description |
Cancels a | ||
| Parameters | osid.id.Id | requestId | the Id of the Request to remove |
| Errors | NOT_FOUND | requestId not found | |
| NULL_ARGUMENT | requestId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canDeleteRequests | ||
| Description |
Tests if this user can delete | ||
| Return | boolean | false if Request deletion is not authorized,
true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | deleteRequest | ||
| Description |
Deletes a | ||
| Parameters | osid.id.Id | requestId | the Id of the Request to remove |
| Errors | NOT_FOUND | requestId not found | |
| NULL_ARGUMENT | requestId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canManageRequestAliases | ||
| Description |
Tests if this user can manage | ||
| Return | boolean | false if Request aliasing is not authorized,
true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | aliasRequest | ||
| Description |
Adds an | ||
| Parameters | osid.id.Id | requestId | the Id of a Request |
osid.id.Id | aliasId | the alias Id | |
| Errors | ALREADY_EXISTS | aliasId is already assigned | |
| NOT_FOUND | requestId not found | ||
| NULL_ARGUMENT | requestId or aliasId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |