public interface IssueTriagingSession extends OsidSession
This session defines methods for routing issues.
This lookup session defines several views:
Issues
with the IssueAdminSession.
The methods useFederatedFrontOfficeView()
and
useIsolatedFrontOfficeView()
behave as a radio group and one
should be selected before invoking any lookup methods.
Modifier and Type | Method and Description |
---|---|
void |
assignTopic(Id issueId,
Id subjectId)
Assigns a
Topic to an Issue. |
boolean |
canRouteIssues()
Tests if this user can route
Issue lookups. |
void |
closeIssue(Id issueId)
Closes an issue.
|
IdList |
getAssignableTopicIds(Id queueId)
Gets a list of assignable topic
Ids for a queue. |
SubjectList |
getAssignableTopics(Id queueId)
Gets a list of assignable topics for a queue.
|
FrontOffice |
getFrontOffice()
Gets the
FrontOffice associated with this session. |
Id |
getFrontOfficeId()
Gets the
FrontOffice Id associated with
this session. |
void |
moveIssueToQueue(Id issueId,
Id queueId)
Moves an
Issue to another Queue. |
void |
useFederatedFrontOfficeView()
Federates the view for methods in this session.
|
void |
useIsolatedFrontOfficeView()
Isolates the view for methods in this session.
|
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactions
close
Id 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 canRouteIssues()
Issue
lookups. 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 routing operations to unauthorized
users. false
if routing methods are not authorized,
true
otherwisemandatory
- This method must be implemented. void useFederatedFrontOfficeView()
mandatory
- This method is must be implemented. void useIsolatedFrontOfficeView()
mandatory
- This method is must be implemented. void moveIssueToQueue(Id issueId, Id queueId) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException
Issue
to another Queue.
If the
assigned resource is not valid in the destination queue, the issue may
automatically be unassigned. If the assigned topic is not valid in the
destination queue, it may default to another topic.issueId
- the Id
of the Issue
queueId
- the Id
of the Queue
AlreadyExistsException
- issueId
already
in queueId
NotFoundException
- issueId
or
queueId
not foundNullArgumentException
- issueId
or
queueId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. IdList getAssignableTopicIds(Id queueId) throws NotFoundException, OperationFailedException, PermissionDeniedException
Ids
for a queue.queueId
- the Id
of the Queue
Ids
NotFoundException
- queueId
not foundNullArgumentException
- queueId
is
null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. SubjectList getAssignableTopics(Id queueId) throws NotFoundException, OperationFailedException, PermissionDeniedException
queueId
- the Id
of the Queue
NotFoundException
- queueId
not foundNullArgumentException
- queueId
is
null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void assignTopic(Id issueId, Id subjectId) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException
Topic
to an Issue.
issueId
- the Id
of the Issue
subjectId
- the Id
of the Subject
AlreadyExistsException
- issueId
already
assigned to subjectId
NotFoundException
- issueId
or
subjectId
not foundNullArgumentException
- issueId
or
subjectId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void closeIssue(Id issueId) throws NotFoundException, OperationFailedException, PermissionDeniedException
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.