Interface IssueTrackingSession
- All Superinterfaces:
AutoCloseable, Closeable, OsidSession, 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 .
-
Method Summary
Modifier and TypeMethodDescriptionbooleanTests if this user can performIssuelookups.getClosedIssues(Id queueId) Gets a list of all closed issues in this queue.getClosedIssuesByAssignee(Id queueId, Id resourceId) Gets a list of closed issues that were ever assigned to the given resource.getClosedIssuesByCreateDate(Id queueId, DateTime from, DateTime to) Gets a list of closed issues that were created between the given date range inclusive.getClosedIssuesByTopic(Id queueId, Id topicId) Gets a list of issues by topic which may include issues of any child topic.Gets theFrontOfficeassociated with this session.Gets theFrontOfficeIdassociated with this session.Gets theIssuespecified by itsId.getIssuesByActiveDate(Id queueId, DateTime date) Gets a list of all issues that were in an open status on the given date.getIssuesSinceDate(Id queueId, DateTime date) Gets a list of all issues created since the given date.getOpenIdleIssues(Id queueId, DateTime date) Gets a list of open issues that have been idle since the given date.getOpenIssues(Id queueId) Gets a list of all open issues in a queue.getOpenIssuesByAssignee(Id queueId, Id resourceId) Gets a list of open issues assigned to the given resource.getOpenIssuesByTopic(Id queueId, Id subjectId) Gets a list of issues by topic which may include issues of any child topic.getOpenUnassignedIssues(Id queueId) Gets a list of all open unassigned issues in this queue.Methods inherited from interface OsidSession
closeMethods inherited from interface OsidSession
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactionsModifier and TypeMethodDescriptionGets the agent authenticated to this session.Gets theIdof the agent authenticated to this session.Gets the rate of the service clock.getDate()Gets the service date which may be the current date or the effective date in which this session exists.Gets the effective agent in use by this session.Gets theIdof the effective agent in use by this session.Gets theDisplayTextformatTypepreference in effect for this session.Gets the locale indicating the localization preferences in effect for this session.booleanTests if an agent is authenticated to this session.Starts a new transaction for this sesson.booleanTests for the availability of transactions.
-
Method Details
-
getFrontOfficeId
Id getFrontOfficeId()Gets theFrontOfficeIdassociated with this session.- Returns:
- the
FrontOffice Idassociated with this session - Compliance:
mandatory- This method must be implemented.
-
getFrontOffice
Gets theFrontOfficeassociated with this session.- Returns:
- the front office
- Throws:
OperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
canLookupIssues
boolean canLookupIssues()Tests if this user can performIssuelookups. 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 aPERMISSION_DENIED. This is intended as a hint to an application that may not offer lookup operations to unauthorized users.- Returns:
falseif lookup methods are not authorized,trueotherwise- Compliance:
mandatory- This method must be implemented.
-
getIssue
Issue getIssue(Id issueId) throws NotFoundException, OperationFailedException, PermissionDeniedException Gets theIssuespecified by itsId.- Parameters:
issueId- theIdof theIssueto retrieve- Returns:
- the returned
Issue - Throws:
NotFoundException- noIssuefound in this queue with the givenIdNullArgumentException-issueIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getOpenIssues
IssueList getOpenIssues(Id queueId) throws NotFoundException, OperationFailedException, PermissionDeniedException Gets a list of all open issues in a queue.- Parameters:
queueId- theIdof aQueueto- Returns:
- the returned
Issuelist - Throws:
NotFoundException-queueIdis not foundNullArgumentException-queueIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getOpenUnassignedIssues
IssueList getOpenUnassignedIssues(Id queueId) throws NotFoundException, OperationFailedException, PermissionDeniedException Gets a list of all open unassigned issues in this queue.- Parameters:
queueId- theIdof aQueueto- Returns:
- the returned
Issuelist - Throws:
NotFoundException-queueIdis not foundNullArgumentException-queueIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getOpenIdleIssues
IssueList getOpenIdleIssues(Id queueId, DateTime date) throws NotFoundException, OperationFailedException, PermissionDeniedException Gets a list of open issues that have been idle since the given date.- Parameters:
queueId- theIdof aQueuetodate- a date- Returns:
- the returned
IssueList - Throws:
NotFoundException-queueIdis not foundNullArgumentException-queueIdordateisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getOpenIssuesByAssignee
IssueList getOpenIssuesByAssignee(Id queueId, Id resourceId) throws NotFoundException, OperationFailedException, PermissionDeniedException Gets a list of open issues assigned to the given resource.- Parameters:
queueId- theIdof aQueuetoresourceId- a resource- Returns:
- the returned
IssueList - Throws:
NotFoundException-queueIdis not foundNullArgumentException-queueIdorresourceIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getOpenIssuesByTopic
IssueList getOpenIssuesByTopic(Id queueId, Id subjectId) throws NotFoundException, OperationFailedException, PermissionDeniedException Gets a list of issues by topic which may include issues of any child topic.- Parameters:
queueId- theIdof aQueuetosubjectId- a resource- Returns:
- the returned
IssueList - Throws:
NotFoundException-queueIdis not foundNullArgumentException-queueIdorsubjectIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getClosedIssues
IssueList getClosedIssues(Id queueId) throws NotFoundException, OperationFailedException, PermissionDeniedException Gets a list of all closed issues in this queue.- Parameters:
queueId- theIdof aQueueto- Returns:
- the returned
Issuelist - Throws:
NotFoundException-queueIdis not foundNullArgumentException-queueIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getClosedIssuesByAssignee
IssueList getClosedIssuesByAssignee(Id queueId, Id resourceId) throws NotFoundException, OperationFailedException, PermissionDeniedException Gets a list of closed issues that were ever assigned to the given resource.- Parameters:
queueId- theIdof aQueuetoresourceId- a resource- Returns:
- the returned
IssueList - Throws:
NotFoundException-queueIdis not foundNullArgumentException-queueIdorresourceIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getClosedIssuesByTopic
IssueList getClosedIssuesByTopic(Id queueId, Id topicId) throws NotFoundException, OperationFailedException, PermissionDeniedException Gets a list of issues by topic which may include issues of any child topic.- Parameters:
queueId- theIdof aQueuetotopicId- a resource- Returns:
- the returned
IssueList - Throws:
NotFoundException-queueIdis not foundNullArgumentException-queueIdortopicIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getClosedIssuesByCreateDate
IssueList getClosedIssuesByCreateDate(Id queueId, DateTime from, DateTime to) throws NotFoundException, OperationFailedException, PermissionDeniedException Gets a list of closed issues that were created between the given date range inclusive.- Parameters:
queueId- theIdof aQueuetofrom- start of date rangeto- end of date range- Returns:
- the returned
IssueList - Throws:
InvalidArgumentException-fromis greater thantoNotFoundException-queueIdis not foundNullArgumentException-queueId, fromortoisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getIssuesByActiveDate
IssueList getIssuesByActiveDate(Id queueId, DateTime date) throws NotFoundException, OperationFailedException, PermissionDeniedException Gets a list of all issues that were in an open status on the given date.- Parameters:
queueId- theIdof aQueuetodate- a date- Returns:
- the returned
IssueList - Throws:
NotFoundException-queueIdis not foundNullArgumentException-queueIdordateisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getIssuesSinceDate
IssueList getIssuesSinceDate(Id queueId, DateTime date) throws NotFoundException, OperationFailedException, PermissionDeniedException Gets a list of all issues created since the given date.- Parameters:
queueId- theIdof aQueuetodate- a date- Returns:
- the returned
IssueList - Throws:
NotFoundException-queueIdis not foundNullArgumentException-queueIdordateisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-