| Interface | osid.workflow.rules.ProcessProcessorAdminSession | ||
|---|---|---|---|
| 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 | canCreateProcessProcessors | ||
| Description |
Tests if this user can create
| ||
| Return | boolean | false if ProcessProcessor creation is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | canCreateProcessProcessorWithRecordTypes | ||
| Description |
Tests if this user can create a single
| ||
| Parameters | osid.type.Type[] | processProcessorRecordTypes | array of process processor record types |
| Return | boolean | true if ProcessProcessor creation using the
specified record Types is supported, false otherwise | |
| Errors | NULL_ARGUMENT | processProcessorRecordTypes is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getProcessProcessorFormForCreate | ||
| Description |
Gets the process processor form for creating new process processors. A new form should be requested for each create transaction. | ||
| Parameters | osid.type.Type[] | processProcessorRecordTypes | array of process processor record types |
| Return | osid.workflow.rules.ProcessProcessorForm | the process processor form | |
| Errors | NULL_ARGUMENT | processProcessorRecordTypes 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 | createProcessProcessor | ||
| Description |
Creates a new | ||
| Parameters | osid.workflow.rules.ProcessProcessorForm | processProcessorForm | the form for this ProcessProcessor |
| Return | osid.workflow.rules.ProcessProcessor | the new ProcessProcessor | |
| Errors | ILLEGAL_STATE | processProcessorForm already used in a create transaction | |
| INVALID_ARGUMENT | one or more of the form elements is invalid | ||
| NULL_ARGUMENT | processProcessorForm is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | processProcessorForm did not originate from
getProcessProcessorFormForCreate() | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canUpdateProcessProcessors | ||
| Description |
Tests if this user can update
| ||
| Return | boolean | false if ProcessProcessor modification is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getProcessProcessorFormForUpdate | ||
| Description |
Gets the process processor form for updating an existing process processor. A new process processor form should be requested for each update transaction. | ||
| Parameters | osid.id.Id | processProcessorId | the Id of the ProcessProcessor |
| Return | osid.workflow.rules.ProcessProcessorForm | the process processor form | |
| Errors | NOT_FOUND | processProcessorId is not found | |
| NULL_ARGUMENT | processProcessorId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | updateProcessProcessor | ||
| Description |
Updates an existing process processor. | ||
| Parameters | osid.workflow.rules.ProcessProcessorForm | processProcessorForm | the form containing the elements to be updated |
| Errors | ILLEGAL_STATE | processProcessorForm already used in an update transaction | |
| INVALID_ARGUMENT | the form contains an invalid value | ||
| NULL_ARGUMENT | processProcessorForm is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | processProcessorForm did not originate from
getProcessProcessorFormForUpdate() | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canDeleteProcessProcessors | ||
| Description |
Tests if this user can delete
| ||
| Return | boolean | false if ProcessProcessor deletion is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | deleteProcessProcessor | ||
| Description |
Deletes a | ||
| Parameters | osid.id.Id | processProcessorId | the Id of the ProcessProcessor to remove |
| Errors | NOT_FOUND | processProcessorId not found | |
| NULL_ARGUMENT | processProcessorId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canManageProcessProcessorAliases | ||
| Description |
Tests if this user can manage | ||
| Return | boolean | false if ProcessProcessor aliasing is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | aliasProcessProcessor | ||
| Description |
Adds an | ||
| Parameters | osid.id.Id | processProcessorId | the Id of a ProcessProcessor |
osid.id.Id | aliasId | the alias Id | |
| Errors | ALREADY_EXISTS | aliasId is already assigned | |
| NOT_FOUND | processProcessorId not found | ||
| NULL_ARGUMENT | processProcessorId or aliasId is
null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |