| Interface | osid.workflow.rules.StepEnablerAdminSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Used By | osid.workflow.rules.WorkflowRulesManager | ||
osid.workflow.rules.WorkflowRulesProxyManager | |||
| 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 | getOfficeId | ||
| Description |
Gets the | ||
| Return | osid.id.Id | the Office Id associated with this session | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getOffice | ||
| Description |
Gets the | ||
| Return | osid.workflow.Office | the office | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canCreateStepEnablers | ||
| Description |
Tests if this user can create | ||
| Return | boolean | false if StepEnabler creation is not authorized,
true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | canCreateStepEnablerWithRecordTypes | ||
| Description |
Tests if this user can create a single
| ||
| Parameters | osid.type.Type[] | stepEnablerRecordTypes | array of step enabler record types |
| Return | boolean | true if StepEnabler creation using the specified
record Types is supported, false otherwise | |
| Errors | NULL_ARGUMENT | stepEnablerRecordTypes is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getStepEnablerFormForCreate | ||
| Description |
Gets the step enabler form for creating new step enablers. A new form should be requested for each create transaction. | ||
| Parameters | osid.type.Type[] | stepEnablerRecordTypes | array of step enabler record types |
| Return | osid.workflow.rules.StepEnablerForm | the step enabler form | |
| Errors | NULL_ARGUMENT | stepEnablerRecordTypes 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 | createStepEnabler | ||
| Description |
Creates a new | ||
| Parameters | osid.workflow.rules.StepEnablerForm | stepEnablerForm | the form for this StepEnabler |
| Return | osid.workflow.rules.StepEnabler | the new StepEnabler | |
| Errors | ILLEGAL_STATE | stepEnablerForm already used in a create transaction | |
| INVALID_ARGUMENT | one or more of the form elements is invalid | ||
| NULL_ARGUMENT | stepEnablerForm is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | stepEnablerForm did not originate from
getStepEnablerFormForCreate() | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canUpdateStepEnablers | ||
| Description |
Tests if this user can update | ||
| Return | boolean | false if StepEnabler modification is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getStepEnablerFormForUpdate | ||
| Description |
Gets the step enabler form for updating an existing step enabler. A new step enabler form should be requested for each update transaction. | ||
| Parameters | osid.id.Id | stepEnablerId | the Id of the StepEnabler |
| Return | osid.workflow.rules.StepEnablerForm | the step enabler form | |
| Errors | NOT_FOUND | stepEnablerId is not found | |
| NULL_ARGUMENT | stepEnablerId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | updateStepEnabler | ||
| Description |
Updates an existing step enabler. | ||
| Parameters | osid.workflow.rules.StepEnablerForm | stepEnablerForm | the form containing the elements to be updated |
| Errors | ILLEGAL_STATE | stepEnablerForm already used in an update transaction | |
| INVALID_ARGUMENT | the form contains an invalid value | ||
| NULL_ARGUMENT | stepEnablerForm is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | stepEnablerForm did not originate from
getStepEnablerFormForUpdate() | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canDeleteStepEnablers | ||
| Description |
Tests if this user can delete | ||
| Return | boolean | false if StepEnabler deletion is not authorized,
true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | deleteStepEnabler | ||
| Description |
Deletes a | ||
| Parameters | osid.id.Id | stepEnablerId | the Id of the StepEnabler to remove |
| Errors | NOT_FOUND | stepEnablerId not found | |
| NULL_ARGUMENT | stepEnablerId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canManageStepEnablerAliases | ||
| Description |
Tests if this user can manage | ||
| Return | boolean | false if StepEnabler aliasing is not authorized,
true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | aliasStepEnabler | ||
| Description |
Adds an | ||
| Parameters | osid.id.Id | stepEnablerId | the Id of a StepEnabler |
osid.id.Id | aliasId | the alias Id | |
| Errors | ALREADY_EXISTS | aliasId is already assigned | |
| NOT_FOUND | stepEnablerId not found | ||
| NULL_ARGUMENT | stepEnablerId or aliasId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |