| Interface | osid.tracking.rules.QueueEnablerAdminSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Used By | osid.tracking.rules.TrackingRulesManager | ||
osid.tracking.rules.TrackingRulesProxyManager | |||
| 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 | canCreateQueueEnablers | ||
| Description |
Tests if this user can create
| ||
| Return | boolean | false if QueueEnabler creation is not authorized,
true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | canCreateQueueEnablerWithRecordTypes | ||
| Description |
Tests if this user can create a single
| ||
| Parameters | osid.type.Type[] | queueEnablerRecordTypes | array of queue enabler record types |
| Return | boolean | true if QueueEnabler creation using the specified
record Types is supported, false otherwise | |
| Errors | NULL_ARGUMENT | queueEnablerRecordTypes is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getQueueEnablerFormForCreate | ||
| Description |
Gets the queue enabler form for creating new queue enablers. A new form should be requested for each create transaction. | ||
| Parameters | osid.type.Type[] | queueEnablerRecordTypes | array of queue enabler record types |
| Return | osid.tracking.rules.QueueEnablerForm | the queue enabler form | |
| Errors | NULL_ARGUMENT | queueEnablerRecordTypes 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 | createQueueEnabler | ||
| Description |
Creates a new | ||
| Parameters | osid.tracking.rules.QueueEnablerForm | queueEnablerForm | the form for this QueueEnabler |
| Return | osid.tracking.rules.QueueEnabler | the new QueueEnabler | |
| Errors | ILLEGAL_STATE | queueEnablerForm already used in a create transaction | |
| INVALID_ARGUMENT | one or more of the form elements is invalid | ||
| NULL_ARGUMENT | queueEnablerForm is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | queueEnablerForm did not originate from
getQueueEnablerFormForCreate() | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canUpdateQueueEnablers | ||
| Description |
Tests if this user can update
| ||
| Return | boolean | false if QueueEnabler modification is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getQueueEnablerFormForUpdate | ||
| Description |
Gets the queue enabler form for updating an existing queue enabler. A new queue enabler form should be requested for each update transaction. | ||
| Parameters | osid.id.Id | queueEnablerId | the Id of the QueueEnabler |
| Return | osid.tracking.rules.QueueEnablerForm | the queue enabler form | |
| Errors | NOT_FOUND | queueEnablerId is not found | |
| NULL_ARGUMENT | queueEnablerId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | updateQueueEnabler | ||
| Description |
Updates an existing queue enabler. | ||
| Parameters | osid.tracking.rules.QueueEnablerForm | queueEnablerForm | the form containing the elements to be updated |
| Errors | ILLEGAL_STATE | queueEnablerForm already used in an update transaction | |
| INVALID_ARGUMENT | the form contains an invalid value | ||
| NULL_ARGUMENT | queueEnablerForm is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | queueEnablerForm did not originate from
getQueueEnablerFormForUpdate() | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canDeleteQueueEnablers | ||
| Description |
Tests if this user can delete
| ||
| Return | boolean | false if QueueEnabler deletion is not authorized,
true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | deleteQueueEnabler | ||
| Description |
Deletes a | ||
| Parameters | osid.id.Id | queueEnablerId | the Id of the QueueEnabler to remove |
| Errors | NOT_FOUND | queueEnablerId not found | |
| NULL_ARGUMENT | queueEnablerId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canManageQueueEnablerAliases | ||
| Description |
Tests if this user can manage | ||
| Return | boolean | false if QueueEnabler aliasing is not authorized,
true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | aliasQueueEnabler | ||
| Description |
Adds an | ||
| Parameters | osid.id.Id | queueEnablerId | the Id of a QueueEnabler |
osid.id.Id | aliasId | the alias Id | |
| Errors | ALREADY_EXISTS | aliasId is already assigned | |
| NOT_FOUND | queueEnablerId not found | ||
| NULL_ARGUMENT | queueEnablerId or aliasId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |