| Interface | osid.tracking.IssueFrontOfficeAssignmentSession | ||
|---|---|---|---|
| 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/front office 
                    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 | canAssignIssuesToFrontOffice | ||
| Description | 
                     Tests if this user can alter issue/front office 
                    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 | frontOfficeId | the  Id  of the  FrontOffice   | 
| Return | boolean |  false  if mapping is not authorized,  true  
otherwise  | |
| Errors | NULL_ARGUMENT |  frontOfficeId  is  null   |                 |
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssignableFrontOfficeIds | ||
| Description | 
                     Gets a list of front offices including and under the given front office node in which any issue can be assigned.  | ||
| Parameters | osid.id.Id | frontOfficeId | the  Id  of the  FrontOffice   | 
| Return | osid.id.IdList | list of assignable front office  Ids   | |
| Errors | NULL_ARGUMENT |  frontOfficeId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssignableFrontOfficeIdsForIssue | ||
| Description | 
                     Gets a list of front offices including and under the given front office node in which a specific issue can be assigned.  | ||
| Parameters | osid.id.Id | frontOfficeId | the  Id  of the  FrontOffice   | 
osid.id.Id | issueId | the  Id  of the  Issue   | |
| Return | osid.id.IdList | list of assignable front office  Ids   | |
| Errors | NULL_ARGUMENT |  frontOfficeId  or  issueId  is  null 
  |                 |
| OPERATION_FAILED | unable to complete request | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | assignIssueToFrontOffice | ||
| Description | 
                     Adds an existing   | ||
| Parameters | osid.id.Id | issueId | the  Id  of the  Issue   | 
osid.id.Id | frontOfficeId | the  Id  of the  FrontOffice   | |
| Errors | ALREADY_EXISTS |  issueId  is already assigned to  frontOfficeId   |                 |
| NOT_FOUND |  issueId  or  frontOfficeId  not found  |                 ||
| NULL_ARGUMENT |  issueId  or  frontOfficeId  is  null 
  |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | unassignIssueFromFrontOffice | ||
| Description | 
                     Removes an   | ||
| Parameters | osid.id.Id | issueId | the  Id  of the  Issue   | 
osid.id.Id | frontOfficeId | the  Id  of the  FrontOffice   | |
| Errors | NOT_FOUND |  issueId  or  frontOfficeId  not found or  
issueId  not assigned to  frontOfficeId   |                 |
| NULL_ARGUMENT |  issueId  or  frontOfficeId  is  null 
  |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |