| Interface | osid.workflow.rules.ProcessConstrainerEnablerAdminSession | ||
|---|---|---|---|
| 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 | canCreateProcessConstrainerEnablers | ||
| Description |
Tests if this user can create
| ||
| Return | boolean | false if ProcessConstrainerEnabler creation is
not authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | canCreateProcessConstrainerEnablerWithRecordTypes | ||
| Description |
Tests if this user can create a single
| ||
| Parameters | osid.type.Type[] | processConstrainerEnablerRecordTypes | array of process constrainer enabler record types |
| Return | boolean | true if ProcessConstrainerEnabler creation using
the specified record Types is supported, false
otherwise | |
| Errors | NULL_ARGUMENT | processConstrainerEnablerRecordTypes is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getProcessConstrainerEnablerFormForCreate | ||
| Description |
Gets the process constrainer enabler form for creating new process constrainer enablers. A new form should be requested for each create transaction. | ||
| Parameters | osid.type.Type[] | processConstrainerEnablerRecordTypes | array of process constrainer enabler record types |
| Return | osid.workflow.rules.ProcessConstrainerEnablerForm | the process constrainer enabler form | |
| Errors | NULL_ARGUMENT | processConstrainerEnablerRecordTypes 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 | createProcessConstrainerEnabler | ||
| Description |
Creates a new | ||
| Parameters | osid.workflow.rules.ProcessConstrainerEnablerForm | processConstrainerEnablerForm | the form for this ProcessConstrainerEnabler |
| Return | osid.workflow.rules.ProcessConstrainerEnabler | the new ProcessConstrainerEnabler | |
| Errors | ILLEGAL_STATE | processConstrainerEnablerForm already used in a create
transaction | |
| INVALID_ARGUMENT | one or more of the form elements is invalid | ||
| NULL_ARGUMENT | processConstrainerEnablerForm is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | processConstrainerEnablerForm did not originate from
getProcessConstrainerEnablerFormForCreate() | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canUpdateProcessConstrainerEnablers | ||
| Description |
Tests if this user can update
| ||
| Return | boolean | false if ProcessConstrainerEnabler modification
is not authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getProcessConstrainerEnablerFormForUpdate | ||
| Description |
Gets the process constrainer enabler form for updating an existing process constrainer enabler. A new process constrainer enabler form should be requested for each update transaction. | ||
| Parameters | osid.id.Id | processConstrainerEnablerId | the Id of the ProcessConstrainerEnabler |
| Return | osid.workflow.rules.ProcessConstrainerEnablerForm | the process constrainer enabler form | |
| Errors | NOT_FOUND | processConstrainerEnablerId is not found | |
| NULL_ARGUMENT | processConstrainerEnablerId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | updateProcessConstrainerEnabler | ||
| Description |
Updates an existing process constrainer enabler. | ||
| Parameters | osid.workflow.rules.ProcessConstrainerEnablerForm | processConstrainerEnablerForm | the form containing the elements to be updated |
| Errors | ILLEGAL_STATE | processConstrainerEnablerForm already used in an update
transaction | |
| INVALID_ARGUMENT | the form contains an invalid value | ||
| NULL_ARGUMENT | processConstrainerEnablerForm is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | processConstrainerEnablerForm did not originate from
getProcessConstrainerEnablerFormForUpdate() | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canDeleteProcessConstrainerEnablers | ||
| Description |
Tests if this user can delete
| ||
| Return | boolean | false if ProcessConstrainerEnabler deletion is
not authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | deleteProcessConstrainerEnabler | ||
| Description |
Deletes a | ||
| Parameters | osid.id.Id | processConstrainerEnablerId | the Id of the ProcessConstrainerEnabler to remove |
| Errors | NOT_FOUND | processConstrainerEnablerId not found | |
| NULL_ARGUMENT | processConstrainerEnablerId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canManageProcessConstrainerEnablerAliases | ||
| Description |
Tests if this user can manage | ||
| Return | boolean | false if ProcessConstrainerEnabler aliasing is
not authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | aliasProcessConstrainerEnabler | ||
| Description |
Adds an | ||
| Parameters | osid.id.Id | processConstrainerEnablerId | the Id of a ProcessConstrainerEnabler |
osid.id.Id | aliasId | the alias Id | |
| Errors | ALREADY_EXISTS | aliasId is already assigned | |
| NOT_FOUND | processConstrainerEnablerId not found | ||
| NULL_ARGUMENT | processConstrainerEnablerId or aliasId is
null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |