| Interface | osid.tracking.QueueAdminSession | ||
|---|---|---|---|
| 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 | getFrontOfficeId | ||
| Description |
Gets the | ||
| Return | osid.id.Id | the FrontOffice Id associated with this session | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getFrontOffice | ||
| Description |
Gets the | ||
| Return | osid.tracking.FrontOffice | the front office | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canCreateQueues | ||
| Description |
Tests if this user can create | ||
| Return | boolean | false if Queue creation is not authorized,
true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | canCreateQueueWithRecordTypes | ||
| Description |
Tests if this user can create a single | ||
| Parameters | osid.type.Type[] | queueRecordTypes | array of queue record types |
| Return | boolean | true if Queue creation using the specified
record Types is supported, false otherwise | |
| Errors | NULL_ARGUMENT | queueRecordTypes is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getQueueFormForCreate | ||
| Description |
Gets the queue form for creating new queues. A new form should be requested for each create transaction. | ||
| Parameters | osid.type.Type[] | queueRecordTypes | array of queue record types |
| Return | osid.tracking.QueueForm | the queue form | |
| Errors | NULL_ARGUMENT | queueRecordTypes 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 | createQueue | ||
| Description |
Creates a new | ||
| Parameters | osid.tracking.QueueForm | queueForm | the form for this Queue |
| Return | osid.tracking.Queue | the new Queue | |
| Errors | ILLEGAL_STATE | queueForm already used in a create transaction | |
| INVALID_ARGUMENT | one or more of the form elements is invalid | ||
| NULL_ARGUMENT | queueForm is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | queueForm did not originate from
getQueueFormForCreate() | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canUpdateQueues | ||
| Description |
Tests if this user can update | ||
| Return | boolean | false if Queue modification is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getQueueFormForUpdate | ||
| Description |
Gets the queue form for updating an existing queue. A new queue form should be requested for each update transaction. | ||
| Parameters | osid.id.Id | queueId | the Id of the Queue |
| Return | osid.tracking.QueueForm | the queue form | |
| Errors | NOT_FOUND | queueId is not found | |
| NULL_ARGUMENT | queueId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | updateQueue | ||
| Description |
Updates an existing queue. | ||
| Parameters | osid.tracking.QueueForm | queueForm | the form containing the elements to be updated |
| Errors | ILLEGAL_STATE | queueForm already used in an update transaction | |
| INVALID_ARGUMENT | the form contains an invalid value | ||
| NULL_ARGUMENT | queueForm is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | queueForm did not originate from
getQueueFormForUpdate() | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canDeleteQueues | ||
| Description |
Tests if this user can delete | ||
| Return | boolean | false if Queue deletion is not authorized,
true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | deleteQueue | ||
| Description |
Deletes a | ||
| Parameters | osid.id.Id | queueId | the Id of the Queue to remove |
| Errors | NOT_FOUND | queueId not found | |
| NULL_ARGUMENT | queueId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canManageQueueAliases | ||
| Description |
Tests if this user can manage | ||
| Return | boolean | false if Queue aliasing is not authorized,
true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | aliasQueue | ||
| Description |
Adds an | ||
| Parameters | osid.id.Id | queueId | the Id of a Queue |
osid.id.Id | aliasId | the alias Id | |
| Errors | ALREADY_EXISTS | aliasId is already assigned | |
| NOT_FOUND | queueId not found | ||
| NULL_ARGUMENT | queueId or aliasId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |