public interface Issue extends OsidRelationship
A Issue
represents a issue in a Queue.
An
Issue
is an OsidRelationship
between a
customer and a Queue
where the effective dates represent
the dates this Issue
was opened.
Modifier and Type | Method and Description |
---|---|
Resource |
getAssignedResource()
Gets the assigned resource.
|
Id |
getAssignedResourceId()
Gets the assigned resource
Id. |
IdList |
getBlockerIds()
Gets the blocker issue
Ids. |
IssueList |
getBlockers()
Gets the blocking issues.
|
Issue |
getBranchedIssue()
Gets the branched issue.
|
Id |
getBranchedIssueId()
Gets the branched issue
Id. |
DateTime |
getClosedDate()
Gets the closed date.
|
Resource |
getCloser()
Gets the resource of the closer.
|
Id |
getCloserId()
Gets the resource
Id of the closer. |
Agent |
getClosingAgent()
Gets the agent of the closer.
|
Id |
getClosingAgentId()
Gets the agent
Id of the closer. |
DateTime |
getCreatedDate()
Gets the created date.
|
Agent |
getCreatingAgent()
Gets the creating agent of this issue.
|
Id |
getCreatingAgentId()
Gets the creating agent
Id. |
Resource |
getCreator()
Gets the creator of this issue.
|
Id |
getCreatorId()
Gets the creator
Id. |
Resource |
getCustomer()
Gets the customer.
|
Id |
getCustomerId()
Gets the customer
Id. |
DateTime |
getDueDate()
Gets the due date.
|
IdList |
getDuplicateIssueIds()
Gets the duplicate issue
Ids. |
IssueList |
getDuplicateIssues()
Gets the duplicate issues.
|
IssueRecord |
getIssueRecord(Type issueRecordType)
Gets the issue record corresponding to the given
Issue
record Type. |
Issue |
getMasterIssue()
Gets the master issue.
|
Id |
getMasterIssueId()
Gets the master issue
Id . |
Type |
getPriorityType()
Gets the priority type of this issue.
|
Queue |
getQueue()
Gets the queue.
|
Id |
getQueueId()
Gets the queue
Id. |
DateTime |
getReopenedDate()
Gets the last reopened date.
|
Resource |
getReopener()
Gets the reopener of this issue.
|
Id |
getReopenerId()
Gets the reopener
Id. |
Agent |
getReopeningAgent()
Gets the reopening agent of this issue.
|
Id |
getReopeningAgentId()
Gets the reopening agent
Id. |
Type |
getResolutionType()
Gets a type indicating the resolution; "fixed," "canceled", "cannot
reproduce."
|
DateTime |
getResolvedDate()
Gets the resolved date.
|
Resource |
getResolver()
Gets the resolver of this issue.
|
Id |
getResolverId()
Gets the resolver
Id. |
Agent |
getResolvingAgent()
Gets the resolving agent of this issue.
|
Id |
getResolvingAgentId()
Gets the resolving agent
Id. |
Issue |
getRootIssue()
Gets the root issue.
|
Id |
getRootIssueId()
Gets the root issue
Id . |
Subject |
getTopic()
Gets the topic.
|
Id |
getTopicId()
Gets the topic
Id. |
boolean |
hasDueDate()
Tests if this issue has a due date.
|
boolean |
isAssigned()
Tests if this issue is assigned.
|
boolean |
isBlocked()
Tests if this issue is blocked on another issue.
|
boolean |
isBranched()
Tests if this issue is a branch of another issue.
|
boolean |
isClosed()
Tests if this issue is closed.
|
boolean |
isDuplicate()
Tests if this issue is a duplicate of another issue.
|
boolean |
isPending()
Tests if this issue is pending a response from the customer.
|
boolean |
isReopened()
Tests if this issue has been resurrected after a close.
|
boolean |
isResolved()
Tests if this issue is resolved.
|
boolean |
isSubTask()
Tests if this issue is a subtask of another issue.
|
getEndReason, getEndReasonId, hasEndReason
getDescription, getDisplayName, getGenusType, isOfGenusType
getId, isCurrent
getRecordTypes, hasRecordType
getProperties, getPropertiesByRecordType
getEndDate, getStartDate, isEffective
Id getQueueId()
Id.
Id
mandatory
- This method must be implemented. Queue getQueue() throws OperationFailedException
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. Id getCustomerId()
Id.
Id
mandatory
- This method must be implemented. Resource getCustomer() throws OperationFailedException
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. Id getTopicId()
Id.
Id
mandatory
- This method must be implemented. Subject getTopic() throws OperationFailedException
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. boolean isSubTask()
true
if this issue is a subtask, false
otherwisemandatory
- This method must be implemented. Id getMasterIssueId()
Id
. If isSubtask()
is false
then the Id
of this
Issue
is returned. Id
mandatory
- This method must be implemented. Issue getMasterIssue() throws OperationFailedException
isSubtask()
is false
then this Issue
is returned.OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. boolean isDuplicate()
true
if this issue is a duplicate, false
otherwisemandatory
- This method must be implemented. IdList getDuplicateIssueIds()
Ids.
Ids
IllegalStateException
- isDuplicate()
is
false
mandatory
- This method must be implemented. IssueList getDuplicateIssues() throws OperationFailedException
IllegalStateException
- isDuplicate()
is
false
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. boolean isBranched()
true
if this issue is a branch, false
otherwisemandatory
- This method must be implemented. Id getBranchedIssueId()
Id.
IllegalStateException
- isBranched()
is
false
mandatory
- This method must be implemented. Issue getBranchedIssue() throws OperationFailedException
IllegalStateException
- isBranched()
is
false
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. Id getRootIssueId()
Id
. If isBranched()
is false
then the Id
of this
Issue
is returned. Id
mandatory
- This method must be implemented. Issue getRootIssue() throws OperationFailedException
isBranched()
is false
then this Issue
is returned.OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. Type getPriorityType()
mandatory
- This method must be implemented. Id getCreatorId()
Id.
Id
mandatory
- This method must be implemented. Resource getCreator() throws OperationFailedException
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. Id getCreatingAgentId()
Id.
Id
mandatory
- This method must be implemented. Agent getCreatingAgent() throws OperationFailedException
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. DateTime getCreatedDate()
mandatory
- This method must be implemented. boolean isReopened()
Issue
extends the effective dates through to when it is
closed again. true
if this issue is reopened, false
otherwisemandatory
- This method must be implemented. Id getReopenerId()
Id.
If reoepned more than once, this
method returns the last reopened event. Id
IllegalStateException
- isReopened()
is
false
mandatory
- This method must be implemented. Resource getReopener() throws OperationFailedException
IllegalStateException
- isReopened()
is
false
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. Id getReopeningAgentId()
Id.
If reoepned more than
once, this method returns the last reopened event. Id
IllegalStateException
- isReopened()
is
false
mandatory
- This method must be implemented. Agent getReopeningAgent() throws OperationFailedException
IllegalStateException
- isReopened()
is
false
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. DateTime getReopenedDate()
IllegalStateException
- hasReopened()
is
false
mandatory
- This method must be implemented. boolean hasDueDate()
true
if this issue has a due date, false
otherwisemandatory
- This method must be implemented. DateTime getDueDate()
IllegalStateException
- hasDueDate()
is
false
mandatory
- This method must be implemented. boolean isPending()
true
if this issue is pending, false
otherwisemandatory
- This method must be implemented. boolean isBlocked()
true
if this issue is blocked, false
otherwisemandatory
- This method must be implemented. IdList getBlockerIds()
Ids.
Ids
IllegalStateException
- isBlocked()
is
false
mandatory
- This method must be implemented. IssueList getBlockers() throws OperationFailedException
IllegalStateException
- isBlocked()
is
false
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. boolean isResolved()
true
if this issue is resolved, false
if unresolvedmandatory
- This method must be implemented. Id getResolverId()
Id.
Id
IllegalStateException
- isResolved()
is
false
mandatory
- This method must be implemented. Resource getResolver() throws OperationFailedException
IllegalStateException
- isResolved()
is
false
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. Id getResolvingAgentId()
Id.
Id
IllegalStateException
- isResolved()
is
false
mandatory
- This method must be implemented. Agent getResolvingAgent() throws OperationFailedException
IllegalStateException
- isResolved()
is
false
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. DateTime getResolvedDate()
IllegalStateException
- isResolved()
is
false
mandatory
- This method must be implemented. Type getResolutionType()
IllegalStateException
- isResolved()
is
false
mandatory
- This method must be implemented. boolean isClosed()
true
if this issue is closed, false
otherwisemandatory
- This method must be implemented. Id getCloserId()
Id
of the closer. Id
IllegalStateException
- isClosed()
is
false
mandatory
- This method must be implemented. Resource getCloser() throws OperationFailedException
IllegalStateException
- isClosed()
is
false
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. Id getClosingAgentId()
Id
of the closer. Id
IllegalStateException
- isClosed()
is
false
mandatory
- This method must be implemented. Agent getClosingAgent() throws OperationFailedException
IllegalStateException
- isClosed()
is
false
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. DateTime getClosedDate()
IllegalStateException
- isClosed()
is
false
mandatory
- This method must be implemented. boolean isAssigned()
true
if this issue is assigned, false
otherwisemandatory
- This method must be implemented. Id getAssignedResourceId()
Id.
Id
IllegalStateException
- isAssigned()
is
false
or isClosed()
is
true
mandatory
- This method must be implemented. Resource getAssignedResource() throws OperationFailedException
IllegalStateException
- isAssigned()
is
false
or isClosed()
is
true
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. IssueRecord getIssueRecord(Type issueRecordType) throws OperationFailedException
Issue
record Type.
This method is used to retrieve an object
implementing the requested record. The issueRecordType
may be the Type
returned in getRecordTypes()
or any of its parents in a Type
hierarchy where
hasRecordType(issueRecordType)
is true
.issueRecordType
- the type of issue record to retrieveNullArgumentException
- issueRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(issueRecordType)
is false
mandatory
- This method must be implemented.