| Interface | osid.hold.rules.IssueConstrainerEnablerAdminSession | ||
|---|---|---|---|
| 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 | canCreateIssueConstrainerEnablers | ||
| Description |
Tests if this user can create
| ||
| Return | boolean | false if IssueConstrainerEnabler creation is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | canCreateIssueConstrainerEnablerWithRecordTypes | ||
| Description |
Tests if this user can create a single
| ||
| Parameters | osid.type.Type[] | issueConstrainerEnablerRecordTypes | array of issue constrainer enabler record types |
| Return | boolean | true if IssueConstrainerEnabler creation using
the specified record Types is supported, false
otherwise | |
| Errors | NULL_ARGUMENT | issueConstrainerEnablerRecordTypes is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getIssueConstrainerEnablerFormForCreate | ||
| Description |
Gets the issue constrainer enabler form for creating new issue constrainer enablers. A new form should be requested for each create transaction. | ||
| Parameters | osid.type.Type[] | issueConstrainerEnablerRecordTypes | array of issue constrainer enabler record types |
| Return | osid.hold.rules.IssueConstrainerEnablerForm | the issue constrainer enabler form | |
| Errors | NULL_ARGUMENT | issueConstrainerEnablerRecordTypes 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 | createIssueConstrainerEnabler | ||
| Description |
Creates a new | ||
| Parameters | osid.hold.rules.IssueConstrainerEnablerForm | issueConstrainerEnablerForm | the form for this IssueConstrainerEnabler |
| Return | osid.hold.rules.IssueConstrainerEnabler | the new IssueConstrainerEnabler | |
| Errors | ILLEGAL_STATE | issueConstrainerEnablerForm already used in a create
transaction | |
| INVALID_ARGUMENT | one or more of the form elements is invalid | ||
| NULL_ARGUMENT | issueConstrainerEnablerForm is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | issueConstrainerEnablerForm did not originate from
getIssueConstrainerEnablerFormForCreate() | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canUpdateIssueConstrainerEnablers | ||
| Description |
Tests if this user can update
| ||
| Return | boolean | false if IssueConstrainerEnabler modification is
not authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getIssueConstrainerEnablerFormForUpdate | ||
| Description |
Gets the issue constrainer enabler form for updating an existing issue constrainer enabler. A new issue constrainer enabler form should be requested for each update transaction. | ||
| Parameters | osid.id.Id | issueConstrainerEnablerId | the Id of the IssueConstrainerEnabler |
| Return | osid.hold.rules.IssueConstrainerEnablerForm | the issue constrainer enabler form | |
| Errors | NOT_FOUND | issueConstrainerEnablerId is not found | |
| NULL_ARGUMENT | issueConstrainerEnablerId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | updateIssueConstrainerEnabler | ||
| Description |
Updates an existing issue constrainer enabler. | ||
| Parameters | osid.hold.rules.IssueConstrainerEnablerForm | issueConstrainerEnablerForm | the form containing the elements to be updated |
| Errors | ILLEGAL_STATE | issueConstrainerEnablerForm already used in an update
transaction | |
| INVALID_ARGUMENT | the form contains an invalid value | ||
| NULL_ARGUMENT | issueConstrainerEnablerForm is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | issueConstrainerEnablerForm did not originate from
getIssueConstrainerEnablerFormForUpdate() | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canDeleteIssueConstrainerEnablers | ||
| Description |
Tests if this user can delete
| ||
| Return | boolean | false if IssueConstrainerEnabler deletion is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | deleteIssueConstrainerEnabler | ||
| Description |
Deletes an | ||
| Parameters | osid.id.Id | issueConstrainerEnablerId | the Id of the IssueConstrainerEnabler to remove |
| Errors | NOT_FOUND | issueConstrainerEnablerId not found | |
| NULL_ARGUMENT | issueConstrainerEnablerId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canManageIssueConstrainerEnablerAliases | ||
| Description |
Tests if this user can manage | ||
| Return | boolean | false if IssueConstrainerEnabler aliasing is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | aliasIssueConstrainerEnabler | ||
| Description |
Adds an | ||
| Parameters | osid.id.Id | issueConstrainerEnablerId | the Id of an IssueConstrainerEnabler |
osid.id.Id | aliasId | the alias Id | |
| Errors | ALREADY_EXISTS | aliasId is already assigned | |
| NOT_FOUND | issueConstrainerEnablerId not found | ||
| NULL_ARGUMENT | issueConstrainerEnablerId or aliasId is
null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |