| Interface | osid.hold.rules.IssueProcessorEnablerAdminSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Used By | osid.hold.rules.HoldRulesManager | ||
osid.hold.rules.HoldRulesProxyManager | |||
| Description |
This session creates, updates, and deletes
Create and update operations differ in their usage. To
create an For updates, The delete operations delete
This session includes an | ||
| Method | getOublietteId | ||
| Description |
Gets the | ||
| Return | osid.id.Id | the Oubliette Id associated with this session | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getOubliette | ||
| Description |
Gets the | ||
| Return | osid.hold.Oubliette | the oubliette | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canCreateIssueProcessorEnablers | ||
| Description |
Tests if this user can create
| ||
| Return | boolean | false if IssueProcessorEnabler creation is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | canCreateIssueProcessorEnablerWithRecordTypes | ||
| Description |
Tests if this user can create a single
| ||
| Parameters | osid.type.Type[] | issueProcessorEnablerRecordTypes | array of issue processor enabler record types |
| Return | boolean | true if IssueProcessorEnabler creation using the
specified record Types is supported, false otherwise | |
| Errors | NULL_ARGUMENT | issueProcessorEnablerRecordTypes is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getIssueProcessorEnablerFormForCreate | ||
| Description |
Gets the issue processor enabler form for creating new issue processor enablers. A new form should be requested for each create transaction. | ||
| Parameters | osid.type.Type[] | issueProcessorEnablerRecordTypes | array of issue processor enabler record types |
| Return | osid.hold.rules.IssueProcessorEnablerForm | the issue processor enabler form | |
| Errors | NULL_ARGUMENT | issueProcessorEnablerRecordTypes 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 | createIssueProcessorEnabler | ||
| Description |
Creates a new | ||
| Parameters | osid.hold.rules.IssueProcessorEnablerForm | issueProcessorEnablerForm | the form for this IssueProcessorEnabler |
| Return | osid.hold.rules.IssueProcessorEnabler | the new IssueProcessorEnabler | |
| Errors | ILLEGAL_STATE | issueProcessorEnablerForm already used in a create transaction | |
| INVALID_ARGUMENT | one or more of the form elements is invalid | ||
| NULL_ARGUMENT | issueProcessorEnablerForm is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | issueProcessorEnablerForm did not originate from
getIssueProcessorEnablerFormForCreate() | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canUpdateIssueProcessorEnablers | ||
| Description |
Tests if this user can update
| ||
| Return | boolean | false if IssueProcessorEnabler modification is
not authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getIssueProcessorEnablerFormForUpdate | ||
| Description |
Gets the issue processor enabler form for updating an existing issue processor enabler. A new issue processor enabler form should be requested for each update transaction. | ||
| Parameters | osid.id.Id | issueProcessorEnablerId | the Id of the IssueProcessorEnabler |
| Return | osid.hold.rules.IssueProcessorEnablerForm | the issue processor enabler form | |
| Errors | NOT_FOUND | issueProcessorEnablerId is not found | |
| NULL_ARGUMENT | issueProcessorEnablerId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | updateIssueProcessorEnabler | ||
| Description |
Updates an existing issue processor enabler. | ||
| Parameters | osid.hold.rules.IssueProcessorEnablerForm | issueProcessorEnablerForm | the form containing the elements to be updated |
| Errors | ILLEGAL_STATE | issueProcessorEnablerForm already used in an update
transaction | |
| INVALID_ARGUMENT | the form contains an invalid value | ||
| NULL_ARGUMENT | issueProcessorEnablerForm is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | issueProcessorEnablerForm did not originate from
getIssueProcessorEnablerFormForUpdate() | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canDeleteIssueProcessorEnablers | ||
| Description |
Tests if this user can delete
| ||
| Return | boolean | false if IssueProcessorEnabler deletion is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | deleteIssueProcessorEnabler | ||
| Description |
Deletes an | ||
| Parameters | osid.id.Id | issueProcessorEnablerId | the Id of the IssueProcessorEnabler to remove |
| Errors | NOT_FOUND | issueProcessorEnablerId not found | |
| NULL_ARGUMENT | issueProcessorEnablerId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canManageIssueProcessorEnablerAliases | ||
| Description |
Tests if this user can manage | ||
| Return | boolean | false if IssueProcessorEnabler aliasing is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | aliasIssueProcessorEnabler | ||
| Description |
Adds an | ||
| Parameters | osid.id.Id | issueProcessorEnablerId | the Id of an IssueProcessorEnabler |
osid.id.Id | aliasId | the alias Id | |
| Errors | ALREADY_EXISTS | aliasId is already assigned | |
| NOT_FOUND | issueProcessorEnablerId not found | ||
| NULL_ARGUMENT | issueProcessorEnablerId or aliasId is
null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |