| Interface | osid.tracking.IssueResourcingSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description | 
                 This session defines methods for resourcing issues.  | ||
| 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 | canResourceIssues | ||
| Description | 
                     Tests if this user can assign resources to   | ||
| Return | boolean |  false  if resource assignment methods are not authorized, 
 true  otherwise  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getResourcesForQueue | ||
| Description | 
                     Gets a list of resource assignable in this queue.  | ||
| Parameters | osid.id.Id | queueId | the  Id  of a  Queue   | 
| Return | osid.resource.ResourceList | a list of resources | |
| Errors | NOT_FOUND |  queueId  not found  |                 |
| NULL_ARGUMENT |  queueId  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getResourcesAvailableForIssue | ||
| Description | 
                     Gets a list of candidate resources from this queue available for an issue sorted from best suited.  | ||
| Parameters | osid.id.Id | issueId | the  Id  of an  Issue   | 
| Return | osid.resource.ResourceList | a list of resources | |
| Errors | NOT_FOUND |  issueId  not found  |                 |
| NULL_ARGUMENT |  issueId  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getIssuesByResource | ||
| Description | 
                     Gets a list of issues assigned to a resource.  | ||
| Parameters | osid.id.Id | resourceId | the  Id  of a  Resource   | 
| Return | osid.tracking.IssueList | a list of issues | |
| Errors | NOT_FOUND |  resourceId  not found  |                 |
| NULL_ARGUMENT |  resourceId  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getIssuesByResourceForQueue | ||
| Description | 
                     Gets a list of issues assigned to a resource in a given queue.  | ||
| Parameters | osid.id.Id | queueId | the  Id  of a  Queue   | 
osid.id.Id | resourceId | the  Id  of a  Resource   | |
| Return | osid.tracking.IssueList | a list of issues | |
| Errors | NOT_FOUND |  queueId  or  resourceId  not found  |                 |
| NULL_ARGUMENT |  queueId  or  resourceId  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | assignIssueToResource | ||
| Description | 
                     Assigns an   | ||
| Parameters | osid.id.Id | issueId | the  Id  of the  Issue   | 
osid.id.Id | resourceId | the  Id  of the  Resource   | |
| Errors | ALREADY_EXISTS |  issueId  already assigned  |                 |
| NOT_FOUND |  issueId  or  resourceId  not found  |                 ||
| NULL_ARGUMENT |  issueId  or  resourceId  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | unassignIssueFromResource | ||
| Description | 
                     Unassigns an   | ||
| Parameters | osid.id.Id | issueId | the  Id  of the  Issue   | 
| Errors | NOT_FOUND |  issueId  not found  |                 |
| NULL_ARGUMENT |  issueId  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |