Package com.atlassian.jira.issue
Class AbstractIssue
java.lang.Object
com.atlassian.jira.issue.AbstractIssue
- All Implemented Interfaces:
WithId
,WithKey
,IssueContext
,Issue
,OfBizValueWrapper
,Serializable
- Direct Known Subclasses:
DocumentIssueImpl
,IssueImpl
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final AttachmentManager
protected final ConstantsManager
protected final IssueManager
Fields inherited from interface com.atlassian.jira.issue.context.IssueContext
GLOBAL
Fields inherited from interface com.atlassian.jira.entity.WithId
ID_COMPARATOR
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AbstractIssue
(ConstantsManager constantsManager, IssueManager issueManager, AttachmentManager attachmentManager) -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
For interactivity, implementations must be based on the issue key.Gets the IssueType for this Issue.org.ofbiz.core.entity.GenericValue
Deprecated.If this issue is a subtask, return its parent.Returns the Priority for this Issue.Returns the Resolution for this Issue.final int
hashCode()
For interactivity, implementations must be based on the hashcode of the issue key.boolean
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.jira.issue.Issue
getAffectedVersions, getArchivedById, getArchivedByUser, getArchivedDate, getAssignee, getAssigneeId, getAssigneeUser, getComponentObjects, getComponents, getCreated, getCreator, getCreatorId, getCustomFieldValue, getDescription, getDueDate, getEnvironment, getEstimate, getExternalFieldValue, getFixVersions, getGenericValue, getId, getIssueRenderContext, getIssueType, getIssueTypeId, getKey, getLabels, getNumber, getOriginalEstimate, getParentId, getPriority, getProject, getProjectId, getProjectObject, getReporter, getReporterId, getReporterUser, getResolution, getResolutionDate, getResolutionId, getSecurityLevel, getSecurityLevelId, getStatus, getStatusId, getSubTaskObjects, getSubTasks, getSummary, getTimeSpent, getUpdated, getVotes, getWatches, getWorkflowId, isArchived, isCreated, isSubTask
Methods inherited from interface com.atlassian.jira.ofbiz.OfBizValueWrapper
getLong, getString, getTimestamp, store
-
Field Details
-
constantsManager
-
issueManager
-
attachmentManager
-
-
Constructor Details
-
AbstractIssue
protected AbstractIssue(ConstantsManager constantsManager, IssueManager issueManager, AttachmentManager attachmentManager)
-
-
Method Details
-
getIssueTypeObject
Description copied from interface:Issue
Gets the IssueType for this Issue.- Specified by:
getIssueTypeObject
in interfaceIssue
- Specified by:
getIssueTypeObject
in interfaceIssueContext
- Returns:
- The IssueType for this Issue.
-
getPriorityObject
Description copied from interface:Issue
Returns the Priority for this Issue.- Specified by:
getPriorityObject
in interfaceIssue
- Returns:
- the Priority for this Issue.
-
getResolutionObject
Description copied from interface:Issue
Returns the Resolution for this Issue.- Specified by:
getResolutionObject
in interfaceIssue
- Returns:
- the Resolution for this Issue.
-
getStatusObject
- Specified by:
getStatusObject
in interfaceIssue
-
getParentObject
Description copied from interface:Issue
If this issue is a subtask, return its parent.- Specified by:
getParentObject
in interfaceIssue
- Returns:
- The parent Issue, or null if the issue is not a subtask.
-
getParent
public org.ofbiz.core.entity.GenericValue getParent()Deprecated.UsegetParentObject()
instead. -
isEditable
public boolean isEditable()- Specified by:
isEditable
in interfaceIssue
-
getAttachments
- Specified by:
getAttachments
in interfaceIssue
- Returns:
- A collection of
Attachment
objects
-
equals
Description copied from interface:Issue
For interactivity, implementations must be based on the issue key. See the implementation in AbstractIssue for an example. -
hashCode
public final int hashCode()Description copied from interface:Issue
For interactivity, implementations must be based on the hashcode of the issue key. See the implementation in AbstractIssue for an example.
-
getParentObject()
instead.