Interface | osid.hold.IssueOublietteAssignmentSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session provides methods to re-assign Adding a reference of an | ||
Method | canAssignIssues | ||
Description |
Tests if this user can alter issue/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 issue is not authorized, true
otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | canAssignIssuesToOubliette | ||
Description |
Tests if this user can alter issue/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 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 | getAssignableOublietteIdsForIssue | ||
Description |
Gets a list of oubliettes including and under the given oubliette node in which a specific issue can be assigned. | ||
Parameters | osid.id.Id | oublietteId | the Id of the Oubliette |
osid.id.Id | issueId | the Id of the Issue | |
Return | osid.id.IdList | list of assignable oubliette Ids | |
Errors | NULL_ARGUMENT | oublietteId or issueId is null | |
OPERATION_FAILED | unable to complete request | ||
Compliance | mandatory | This method must be implemented. | |
Method | assignIssueToOubliette | ||
Description |
Adds an existing | ||
Parameters | osid.id.Id | issueId | the Id of the Issue |
osid.id.Id | oublietteId | the Id of the Oubliette | |
Errors | ALREADY_EXISTS | issueId is already assigned to oublietteId | |
NOT_FOUND | issueId or oublietteId not found | ||
NULL_ARGUMENT | issueId or oublietteId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | unassignIssueFromOubliette | ||
Description |
Removes an | ||
Parameters | osid.id.Id | issueId | the Id of the Issue |
osid.id.Id | oublietteId | the Id of the Oubliette | |
Errors | NOT_FOUND | issueId or oublietteId not found or
issueId is not assigned to oublietteId | |
NULL_ARGUMENT | issueId or oublietteId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | reassignIssueToOubliette | ||
Description |
Moves an | ||
Parameters | osid.id.Id | issueId | the Id of the Issue |
osid.id.Id | fromOublietteId | the Id of the current Oubliette | |
osid.id.Id | toOublietteId | the Id of the destination Oubliette | |
Errors | NOT_FOUND | issueId, fromOublietteId, or toOublietteId
not found or issueId not mapped to fromOublietteId
| |
NULL_ARGUMENT | issueId, fromOublietteId, or toOublietteId is
null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |