public interface IssueTrackingSession extends OsidSession
This session defines methods for looking at issues in a queue.
Issues may have an additional records indicated by their respective
record types. The record may not be accessed through a cast of the
Issues.
Modifier and Type | Method and Description |
---|---|
boolean |
canLookupIssues()
Tests if this user can perform
Issue lookups. |
IssueList |
getClosedIssues(Id queueId)
Gets a list of all closed issues in this queue.
|
IssueList |
getClosedIssuesByAssignee(Id queueId,
Id resourceId)
Gets a list of closed issues that were ever assigned to the given
resource.
|
IssueList |
getClosedIssuesByCreateDate(Id queueId,
DateTime from,
DateTime to)
Gets a list of closed issues that were created between the given date
range inclusive.
|
IssueList |
getClosedIssuesByTopic(Id queueId,
Id topicId)
Gets a list of issues by topic which may include issues of any child
topic.
|
FrontOffice |
getFrontOffice()
Gets the
FrontOffice associated with this session. |
Id |
getFrontOfficeId()
Gets the
FrontOffice Id associated with
this session. |
Issue |
getIssue(Id issueId)
Gets the
Issue specified by its Id. |
IssueList |
getIssuesByActiveDate(Id queueId,
DateTime date)
Gets a list of all issues that were in an open status on the given
date.
|
IssueList |
getIssuesSinceDate(Id queueId,
DateTime date)
Gets a list of all issues created since the given date.
|
IssueList |
getOpenIdleIssues(Id queueId,
DateTime date)
Gets a list of open issues that have been idle since the given date.
|
IssueList |
getOpenIssues(Id queueId)
Gets a list of all open issues in a queue.
|
IssueList |
getOpenIssuesByAssignee(Id queueId,
Id resourceId)
Gets a list of open issues assigned to the given resource.
|
IssueList |
getOpenIssuesByTopic(Id queueId,
Id subjectId)
Gets a list of issues by topic which may include issues of any child
topic.
|
IssueList |
getOpenUnassignedIssues(Id queueId)
Gets a list of all open unassigned issues in this queue.
|
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 canLookupIssues()
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 lookup operations to unauthorized
users. false
if lookup methods are not authorized,
true
otherwisemandatory
- This method must be implemented. Issue getIssue(Id issueId) throws NotFoundException, OperationFailedException, PermissionDeniedException
Issue
specified by its Id.
issueId
- the Id
of the Issue
to
retrieve Issue
NotFoundException
- no Issue
found in
this queue with the given Id
NullArgumentException
- issueId
is
null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. IssueList getOpenIssues(Id queueId) throws NotFoundException, OperationFailedException, PermissionDeniedException
queueId
- the Id
of a Queue
to Issue
listNotFoundException
- queueId
is not foundNullArgumentException
- queueId
is
null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. IssueList getOpenUnassignedIssues(Id queueId) throws NotFoundException, OperationFailedException, PermissionDeniedException
queueId
- the Id
of a Queue
to Issue
listNotFoundException
- queueId
is not foundNullArgumentException
- queueId
is
null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. IssueList getOpenIdleIssues(Id queueId, DateTime date) throws NotFoundException, OperationFailedException, PermissionDeniedException
queueId
- the Id
of a Queue
todate
- a date IssueList
NotFoundException
- queueId
is not foundNullArgumentException
- queueId
or
date
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. IssueList getOpenIssuesByAssignee(Id queueId, Id resourceId) throws NotFoundException, OperationFailedException, PermissionDeniedException
queueId
- the Id
of a Queue
toresourceId
- a resource IssueList
NotFoundException
- queueId
is not foundNullArgumentException
- queueId
or
resourceId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. IssueList getOpenIssuesByTopic(Id queueId, Id subjectId) throws NotFoundException, OperationFailedException, PermissionDeniedException
queueId
- the Id
of a Queue
tosubjectId
- a resource IssueList
NotFoundException
- queueId
is not foundNullArgumentException
- queueId
or
subjectId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. IssueList getClosedIssues(Id queueId) throws NotFoundException, OperationFailedException, PermissionDeniedException
queueId
- the Id
of a Queue
to Issue
listNotFoundException
- queueId
is not foundNullArgumentException
- queueId
is
null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. IssueList getClosedIssuesByAssignee(Id queueId, Id resourceId) throws NotFoundException, OperationFailedException, PermissionDeniedException
queueId
- the Id
of a Queue
toresourceId
- a resource IssueList
NotFoundException
- queueId
is not foundNullArgumentException
- queueId
or
resourceId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. IssueList getClosedIssuesByTopic(Id queueId, Id topicId) throws NotFoundException, OperationFailedException, PermissionDeniedException
queueId
- the Id
of a Queue
totopicId
- a resource IssueList
NotFoundException
- queueId
is not foundNullArgumentException
- queueId
or
topicId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. IssueList getClosedIssuesByCreateDate(Id queueId, DateTime from, DateTime to) throws NotFoundException, OperationFailedException, PermissionDeniedException
queueId
- the Id
of a Queue
tofrom
- start of date rangeto
- end of date range IssueList
InvalidArgumentException
- from
is
greater than to
NotFoundException
- queueId
is not foundNullArgumentException
- queueId, from
or
to
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. IssueList getIssuesByActiveDate(Id queueId, DateTime date) throws NotFoundException, OperationFailedException, PermissionDeniedException
queueId
- the Id
of a Queue
todate
- a date IssueList
NotFoundException
- queueId
is not foundNullArgumentException
- queueId
or
date
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. IssueList getIssuesSinceDate(Id queueId, DateTime date) throws NotFoundException, OperationFailedException, PermissionDeniedException
queueId
- the Id
of a Queue
todate
- a date IssueList
NotFoundException
- queueId
is not foundNullArgumentException
- queueId
or
date
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented.