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 AttachmentManagerprotected final ConstantsManagerprotected final IssueManagerFields inherited from interface com.atlassian.jira.issue.context.IssueContext
GLOBALFields inherited from interface com.atlassian.jira.entity.WithId
ID_COMPARATOR -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractIssue(ConstantsManager constantsManager, IssueManager issueManager, AttachmentManager attachmentManager) -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanFor interactivity, implementations must be based on the issue key.Gets the IssueType for this Issue.org.ofbiz.core.entity.GenericValueDeprecated.If this issue is a subtask, return its parent.Returns the Priority for this Issue.Returns the Resolution for this Issue.final inthashCode()For interactivity, implementations must be based on the hashcode of the issue key.booleanMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods 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, isSubTaskMethods 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:IssueGets the IssueType for this Issue.- Specified by:
getIssueTypeObjectin interfaceIssue- Specified by:
getIssueTypeObjectin interfaceIssueContext- Returns:
- The IssueType for this Issue.
-
getPriorityObject
Description copied from interface:IssueReturns the Priority for this Issue.- Specified by:
getPriorityObjectin interfaceIssue- Returns:
- the Priority for this Issue.
-
getResolutionObject
Description copied from interface:IssueReturns the Resolution for this Issue.- Specified by:
getResolutionObjectin interfaceIssue- Returns:
- the Resolution for this Issue.
-
getStatusObject
- Specified by:
getStatusObjectin interfaceIssue
-
getParentObject
Description copied from interface:IssueIf this issue is a subtask, return its parent.- Specified by:
getParentObjectin 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:
isEditablein interfaceIssue
-
getAttachments
- Specified by:
getAttachmentsin interfaceIssue- Returns:
- A collection of
Attachmentobjects
-
equals
Description copied from interface:IssueFor 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:IssueFor interactivity, implementations must be based on the hashcode of the issue key. See the implementation in AbstractIssue for an example.
-
getParentObject()instead.