public interface IssueResourcingSession extends OsidSession
This session defines methods for resourcing issues.
| Modifier and Type | Method and Description |
|---|---|
void |
assignIssueToResource(Id issueId,
Id resourceId)
Assigns an
Issue to a Resource . |
boolean |
canResourceIssues()
Tests if this user can assign resources to
Issues. |
FrontOffice |
getFrontOffice()
Gets the
FrontOffice associated with this session. |
Id |
getFrontOfficeId()
Gets the
FrontOffice Id associated with
this session. |
IssueList |
getIssuesByResource(Id resourceId)
Gets a list of issues assigned to a resource.
|
IssueList |
getIssuesByResourceForQueue(Id queueId,
Id resourceId)
Gets a list of issues assigned to a resource in a given queue.
|
ResourceList |
getResourcesAvailableForIssue(Id issueId)
Gets a list of candidate resources from this queue available for an
issue sorted from best suited.
|
ResourceList |
getResourcesForQueue(Id queueId)
Gets a list of resource assignable in this queue.
|
void |
unassignIssueFromResource(Id issueId)
Unassigns an
Issue from a Resource. |
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactionscloseId getFrontOfficeId()
FrontOffice Id associated with
this session. FrontOffice Id associated with this sessionmandatory - This method must be implemented. FrontOffice getFrontOffice() throws OperationFailedException, PermissionDeniedException
FrontOffice associated with this session.OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. boolean canResourceIssues()
Issues. A
return of true does not guarantee successful authorization. A return
of false indicates that it is known all methods in this session will
result in a PERMISSION_DENIED. This is intended as a
hint to an application that may not offer assignment operations to
unauthorized users. false if resource assignment methods are not
authorized, true otherwisemandatory - This method must be implemented. ResourceList getResourcesForQueue(Id queueId) throws NotFoundException, OperationFailedException, PermissionDeniedException
queueId - the Id of a Queue NotFoundException - queueId not foundNullArgumentException - queueId is
null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. ResourceList getResourcesAvailableForIssue(Id issueId) throws NotFoundException, OperationFailedException, PermissionDeniedException
issueId - the Id of an Issue NotFoundException - issueId not foundNullArgumentException - issueId is
null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. IssueList getIssuesByResource(Id resourceId) throws NotFoundException, OperationFailedException, PermissionDeniedException
resourceId - the Id of a Resource NotFoundException - resourceId not foundNullArgumentException - resourceId is
null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. IssueList getIssuesByResourceForQueue(Id queueId, Id resourceId) throws NotFoundException, OperationFailedException, PermissionDeniedException
queueId - the Id of a Queue resourceId - the Id of a Resource NotFoundException - queueId or
resourceId not foundNullArgumentException - queueId or
resourceId is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. void assignIssueToResource(Id issueId, Id resourceId) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException
Issue to a Resource . The
resource must be a valid resource in the issue queue.issueId - the Id of the Issue resourceId - the Id of the Resource
AlreadyExistsException - issueId already
assignedNotFoundException - issueId or
resourceId not foundNullArgumentException - issueId or
resourceId is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. void unassignIssueFromResource(Id issueId) throws NotFoundException, OperationFailedException, PermissionDeniedException
Issue from a Resource. issueId - the Id of the Issue NotFoundException - issueId not foundNullArgumentException - issueId is
null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented.