| Interface | osid.hold.rules.IssueEnablerAdminSession | ||
|---|---|---|---|
| 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 | canCreateIssueEnablers | ||
| Description |
Tests if this user can create
| ||
| Return | boolean | false if IssueEnabler creation is not authorized,
true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | canCreateIssueEnablerWithRecordTypes | ||
| Description |
Tests if this user can create a single
| ||
| Parameters | osid.type.Type[] | issueEnablerRecordTypes | array of issue enabler record types |
| Return | boolean | true if IssueEnabler creation using the specified
record Types is supported, false otherwise | |
| Errors | NULL_ARGUMENT | issueEnablerRecordTypes is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getIssueEnablerFormForCreate | ||
| Description |
Gets the issue enabler form for creating new issue enablers. A new form should be requested for each create transaction. | ||
| Parameters | osid.type.Type[] | issueEnablerRecordTypes | array of issue enabler record types |
| Return | osid.hold.rules.IssueEnablerForm | the issue enabler form | |
| Errors | NULL_ARGUMENT | issueEnablerRecordTypes 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 | createIssueEnabler | ||
| Description |
Creates a new | ||
| Parameters | osid.hold.rules.IssueEnablerForm | issueEnablerForm | the form for this IssueEnabler |
| Return | osid.hold.rules.IssueEnabler | the new IssueEnabler | |
| Errors | ILLEGAL_STATE | issueEnablerForm already used in a create transaction | |
| INVALID_ARGUMENT | one or more of the form elements is invalid | ||
| NULL_ARGUMENT | issueEnablerForm is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | issueEnablerForm did not originate from
getIssueEnablerFormForCreate() | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canUpdateIssueEnablers | ||
| Description |
Tests if this user can update
| ||
| Return | boolean | false if IssueEnabler modification is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getIssueEnablerFormForUpdate | ||
| Description |
Gets the issue enabler form for updating an existing issue enabler. A new issue enabler form should be requested for each update transaction. | ||
| Parameters | osid.id.Id | issueEnablerId | the Id of the IssueEnabler |
| Return | osid.hold.rules.IssueEnablerForm | the issue enabler form | |
| Errors | NOT_FOUND | issueEnablerId is not found | |
| NULL_ARGUMENT | issueEnablerId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | updateIssueEnabler | ||
| Description |
Updates an existing issue enabler. | ||
| Parameters | osid.hold.rules.IssueEnablerForm | issueEnablerForm | the form containing the elements to be updated |
| Errors | ILLEGAL_STATE | issueEnablerForm already used in an update transaction | |
| INVALID_ARGUMENT | the form contains an invalid value | ||
| NULL_ARGUMENT | issueEnablerForm is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | issueEnablerForm did not originate from
getIssueEnablerFormForUpdate() | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canDeleteIssueEnablers | ||
| Description |
Tests if this user can delete
| ||
| Return | boolean | false if IssueEnabler deletion is not authorized,
true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | deleteIssueEnabler | ||
| Description |
Deletes an | ||
| Parameters | osid.id.Id | issueEnablerId | the Id of the IssueEnabler to remove |
| Errors | NOT_FOUND | issueEnablerId not found | |
| NULL_ARGUMENT | issueEnablerId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canManageIssueEnablerAliases | ||
| Description |
Tests if this user can manage | ||
| Return | boolean | false if IssueEnabler aliasing is not authorized,
true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | aliasIssueEnabler | ||
| Description |
Adds an | ||
| Parameters | osid.id.Id | issueEnablerId | the Id of an IssueEnabler |
osid.id.Id | aliasId | the alias Id | |
| Errors | ALREADY_EXISTS | aliasId is already assigned | |
| NOT_FOUND | issueEnablerId not found | ||
| NULL_ARGUMENT | issueEnablerId or aliasId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |