| Interface | osid.hold.rules.IssueProcessorAdminSession | ||
|---|---|---|---|
| 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 | canCreateIssueProcessors | ||
| Description |
Tests if this user can create
| ||
| Return | boolean | false if IssueProcessor creation is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | canCreateIssueProcessorWithRecordTypes | ||
| Description |
Tests if this user can create a single
| ||
| Parameters | osid.type.Type[] | issueProcessorRecordTypes | array of issue processor record types |
| Return | boolean | true if IssueProcessor creation using the
specified record Types is supported, false otherwise | |
| Errors | NULL_ARGUMENT | issueProcessorRecordTypes is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getIssueProcessorFormForCreate | ||
| Description |
Gets the issue processor form for creating new issue processors. A new form should be requested for each create transaction. | ||
| Parameters | osid.type.Type[] | issueProcessorRecordTypes | array of issue processor record types |
| Return | osid.hold.rules.IssueProcessorForm | the issue processor form | |
| Errors | NULL_ARGUMENT | issueProcessorRecordTypes 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 | createIssueProcessor | ||
| Description |
Creates a new | ||
| Parameters | osid.hold.rules.IssueProcessorForm | issueProcessorForm | the form for this IssueProcessor |
| Return | osid.hold.rules.IssueProcessor | the new IssueProcessor | |
| Errors | ILLEGAL_STATE | issueProcessorForm already used in a create transaction | |
| INVALID_ARGUMENT | one or more of the form elements is invalid | ||
| NULL_ARGUMENT | issueProcessorForm is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | issueProcessorForm did not originate from
getIssueProcessorFormForCreate() | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canUpdateIssueProcessors | ||
| Description |
Tests if this user can update
| ||
| Return | boolean | false if IssueProcessor modification is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getIssueProcessorFormForUpdate | ||
| Description |
Gets the issue processor form for updating an existing issue processor. A new issue processor form should be requested for each update transaction. | ||
| Parameters | osid.id.Id | issueProcessorId | the Id of the IssueProcessor |
| Return | osid.hold.rules.IssueProcessorForm | the issue processor form | |
| Errors | NOT_FOUND | issueProcessorId is not found | |
| NULL_ARGUMENT | issueProcessorId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | updateIssueProcessor | ||
| Description |
Updates an existing issue processor. | ||
| Parameters | osid.hold.rules.IssueProcessorForm | issueProcessorForm | the form containing the elements to be updated |
| Errors | ILLEGAL_STATE | issueProcessorForm already used in an update transaction | |
| INVALID_ARGUMENT | the form contains an invalid value | ||
| NULL_ARGUMENT | issueProcessorForm is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | issueProcessorForm did not originate from
getIssueProcessorFormForUpdate() | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canDeleteIssueProcessors | ||
| Description |
Tests if this user can delete
| ||
| Return | boolean | false if IssueProcessor deletion is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | deleteIssueProcessor | ||
| Description |
Deletes an | ||
| Parameters | osid.id.Id | issueProcessorId | the Id of the IssueProcessor to remove |
| Errors | NOT_FOUND | issueProcessorId not found | |
| NULL_ARGUMENT | issueProcessorId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canManageIssueProcessorAliases | ||
| Description |
Tests if this user can manage | ||
| Return | boolean | false if IssueProcessor aliasing is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | aliasIssueProcessor | ||
| Description |
Adds an | ||
| Parameters | osid.id.Id | issueProcessorId | the Id of an IssueProcessor |
osid.id.Id | aliasId | the alias Id | |
| Errors | ALREADY_EXISTS | aliasId is already assigned | |
| NOT_FOUND | issueProcessorId not found | ||
| NULL_ARGUMENT | issueProcessorId or aliasId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |