| Interface | osid.tracking.SubtaskIssueAdminSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description |
This session creates subtask The data for create and update is provided by the consumer
via the form object. To create a subtask, an | ||
| Method | getFrontOfficeId | ||
| Description |
Gets the | ||
| Return | osid.id.Id | the FrontOffice Id associated with this session | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getFrontOffice | ||
| Description |
Gets the | ||
| Return | osid.tracking.FrontOffice | the front office | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canCreateSubtasks | ||
| Description |
Tests if this user can create subtask | ||
| Return | boolean | false if subtask Issue creation is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | canCreateSubtaskWithRecordTypes | ||
| Description |
Tests if this user can create a single | ||
| Parameters | osid.type.Type[] | issueRecordTypes | array of issue record types |
| Return | boolean | true if Issue creation using the specified
record Types is supported, false otherwise | |
| Errors | NULL_ARGUMENT | issueRecordTypes is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getSubtaskFormForCreate | ||
| Description |
Gets the issue form for creating subtasks. A new form should be requested for each create transaction. | ||
| Parameters | osid.id.Id | issueId | the Id of the Issue |
osid.id.Id | queueId | the Id of the Queue in which the subtask
should be created | |
osid.type.Type[] | issueRecordTypes | array of issue record types | |
| Return | osid.tracking.IssueForm | the issue form | |
| Errors | NOT_FOUND | issueId or queueId is not found | |
| NULL_ARGUMENT | issueId, queueId or issueRecordTypes 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 | createSubtask | ||
| Description |
Creates a subtask | ||
| Parameters | osid.tracking.IssueForm | issueForm | the form for the subtask |
| Return | osid.tracking.Issue | the new Issue | |
| Errors | ILLEGAL_STATE | issueForm already used in a create transaction | |
| INVALID_ARGUMENT | one or more of the form elements is invalid | ||
| NULL_ARGUMENT | issueForm is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | issueForm did not originate from
getSubtaskFormForCreate() | ||
| Compliance | mandatory | This method must be implemented. | |