| Interface | osid.hold.rules.IssueEnablerOublietteAssignmentSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Used By | osid.hold.rules.HoldRulesManager | ||
osid.hold.rules.HoldRulesProxyManager | |||
| Description |
This session provides methods to re-assign
Adding a reference of an | ||
| Method | canAssignIssueEnablers | ||
| Description |
Tests if this user can alter issue enabler/oubliette
mappings. A return of true does not guarantee successful
authorization. A return of false indicates that it is
known mapping methods in this session will result in a
| ||
| Return | boolean | false if mapping is not authorized, true
otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | canAssignIssueEnablerToOubliette | ||
| Description |
Tests if this user can alter issue enabler/oubliette
mappings. A return of true does not guarantee successful
authorization. A return of false indicates that it is
known mapping methods in this session will result in a
| ||
| Parameters | osid.id.Id | oublietteId | the Id of the Oubliette |
| Return | boolean | false if mapping is not authorized, true
otherwise | |
| Errors | NULL_ARGUMENT | oublietteId is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssignableOublietteIds | ||
| Description |
Gets a list of oubliettes including and under the given oubliette node in which any issue enabler can be assigned. | ||
| Parameters | osid.id.Id | oublietteId | the Id of the Oubliette |
| Return | osid.id.IdList | list of assignable oubliette Ids | |
| Errors | NULL_ARGUMENT | oublietteId is null | |
| OPERATION_FAILED | unable to complete request | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssignableOublietteIdsForIssueEnabler | ||
| Description |
Gets a list of oubliettes including and under the given oubliette node in which a specific issue enabler can be assigned. | ||
| Parameters | osid.id.Id | oublietteId | the Id of the Oubliette |
osid.id.Id | issueEnablerId | the Id of the IssueEnabler | |
| Return | osid.id.IdList | list of assignable oubliette Ids | |
| Errors | NULL_ARGUMENT | oublietteId or issueEnablerId is
null | |
| OPERATION_FAILED | unable to complete request | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | assignIssueEnablerToOubliette | ||
| Description |
Adds an existing | ||
| Parameters | osid.id.Id | issueEnablerId | the Id of the IssueEnabler |
osid.id.Id | oublietteId | the Id of the Oubliette | |
| Errors | ALREADY_EXISTS | issueEnablerId is already assigned to
oublietteId | |
| NOT_FOUND | issueEnablerId or oublietteId not found | ||
| NULL_ARGUMENT | issueEnablerId or oublietteId is
null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | unassignIssueEnablerFromOubliette | ||
| Description |
Removes an | ||
| Parameters | osid.id.Id | issueEnablerId | the Id of the IssueEnabler |
osid.id.Id | oublietteId | the Id of the Oubliette | |
| Errors | NOT_FOUND | issueEnablerId or oublietteId not found or
issueEnablerId not assigned to oublietteId | |
| NULL_ARGUMENT | issueEnablerId or oublietteId is
null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | reassignIssueEnablerToOubliette | ||
| Description |
Moves an | ||
| Parameters | osid.id.Id | issueEnablerId | the Id of the IssueEnabler |
osid.id.Id | fromOublietteId | the Id of the current Oubliette | |
osid.id.Id | toOublietteId | the Id of the destination Oubliette | |
| Errors | ALREADY_EXISTS | issueEnablerId already assigned to toOublietteId | |
| NOT_FOUND | issueEnablerId, fromOublietteId, or
toOublietteeId not found or issueEnablerId not
mapped to fromOublietteId | ||
| NULL_ARGUMENT | issueEnablerId, fromOublietteId, or
toOublietteId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |