| Interface | osid.workflow.rules.ProcessEnablerAdminSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description |
This session creates and removes process enablers. The data
for create and update is provided via the | ||
| 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 | canCreateProcessEnabler | ||
| Description |
Tests if this user can create process enablers. A
return of true does not guarantee successful
authorization. A return of false indicates that it is
known creating a | ||
| Return | boolean | false if ProcessEnabler creation is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | canCreateProcessEnablerWithRecordTypes | ||
| Description |
Tests if this user can create a single | ||
| Parameters | osid.type.Type[] | processEnablerRecordTypes | array of process enabler record types |
| Return | boolean | true if ProcessEnabler creation using the
specified record Types is supported, false
otherwise | |
| Errors | NULL_ARGUMENT | processEnablerRecordTypes is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getProcessEnablerFormForCreate | ||
| Description |
Gets the process enabler form for creating new process enablers. A new form should be requested for each create transaction. | ||
| Parameters | osid.type.Type[] | processEnablerRecordTypes | array of process enabler record types |
| Return | osid.workflow.rules.ProcessEnablerForm | the process enabler form | |
| Errors | NULL_ARGUMENT | processEnablerRecordTypes 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 | createProcessEnabler | ||
| Description |
Creates a new | ||
| Parameters | osid.workflow.rules.ProcessEnablerForm | processEnablerForm | the form for this ProcessEnabler |
| Return | osid.workflow.rules.ProcessEnabler | the new ProcessEnabler | |
| Errors | ILLEGAL_STATE | processEnablerForm already used in a create transaction | |
| INVALID_ARGUMENT | one or more of the form elements is invalid | ||
| NULL_ARGUMENT | processEnablerForm is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | processEnablerForm did not originate from
getProcessEnablerFormForCreate() | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canUpdateProcessEnablers | ||
| Description |
Tests if this user can update process enablers. A
return of true does not guarantee successful
authorization. A return of false indicates that it is
known updating a | ||
| Return | boolean | false if ProcessEnabler modification is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getProcessEnablerFormForUpdate | ||
| Description |
Gets the process enabler form for updating an existing process enabler. A new process enabler form should be requested for each update transaction. | ||
| Parameters | osid.id.Id | processEnablerId | the Id of the ProcessEnabler |
| Return | osid.workflow.rules.ProcessEnablerForm | the process enabler form | |
| Errors | NOT_FOUND | processEnablerId is not found | |
| NULL_ARGUMENT | processEnablerId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | updateProcessEnabler | ||
| Description |
Updates an existing process enabler. | ||
| Parameters | osid.workflow.rules.ProcessEnablerForm | processEnablerForm | the form containing the elements to be updated |
| Errors | ILLEGAL_STATE | processEnablerForm already used in an update transaction | |
| INVALID_ARGUMENT | the form contains an invalid value | ||
| NULL_ARGUMENT | processEnablerForm is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | processEnablerForm did not originate from
getProcessEnablerFormForUpdate() | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canDeleteProcessEnablers | ||
| Description |
Tests if this user can delete process enablers. A
return of true does not guarantee successful
authorization. A return of false indicates that it is
known deleting a | ||
| Return | boolean | false if ProcessEnabler deletion is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | deleteProcessEnabler | ||
| Description |
Deletes a | ||
| Parameters | osid.id.Id | processEnablerId | the Id of the ProcessEnabler to remove |
| Errors | NOT_FOUND | processEnablerId not found | |
| NULL_ARGUMENT | processEnablerId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canManageProcessEnablerAliases | ||
| Description |
Tests if this user can manage | ||
| Return | boolean | false if ProcessEnabler aliasing is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | aliasProcessEnabler | ||
| Description |
Adds an | ||
| Parameters | osid.id.Id | processEnablerId | the Id of a ProcessEnabler |
osid.id.Id | aliasId | the alias Id | |
| Errors | ALREADY_EXISTS | aliasId is already assigned | |
| NOT_FOUND | processEnablerId not found | ||
| NULL_ARGUMENT | processEnablerId or aliasId is null
| ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |