com.atlassian.jira.issue
Class AbstractIssue

java.lang.Object
  extended by com.atlassian.jira.issue.AbstractIssue
All Implemented Interfaces:
IssueContext, Issue, OfBizValueWrapper
Direct Known Subclasses:
DocumentIssueImpl, IssueImpl

public abstract class AbstractIssue
extends Object
implements Issue


Field Summary
protected  AttachmentManager attachmentManager
           
protected  ConstantsManager constantsManager
           
protected  IssueManager issueManager
           
 
Constructor Summary
protected AbstractIssue(ConstantsManager constantsManager, IssueManager issueManager, AttachmentManager attachmentManager)
           
 
Method Summary
 Collection<Attachment> getAttachments()
           
 IssueType getIssueTypeObject()
          Gets the IssueType for this Issue.
 org.ofbiz.core.entity.GenericValue getParent()
          Deprecated. Use getParentObject() instead.
 Issue getParentObject()
          If this issue is a subtask, return its parent.
 Priority getPriorityObject()
           
 Resolution getResolutionObject()
           
 Status getStatusObject()
           
 boolean isEditable()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.issue.Issue
getAffectedVersions, getAssignee, getAssigneeId, getAssigneeUser, getComponentObjects, getComponents, getCreated, getCustomFieldValue, getDescription, getDueDate, getEnvironment, getEstimate, getExternalFieldValue, getFixVersions, getId, getIssueRenderContext, getIssueType, getKey, getLabels, getOriginalEstimate, getParentId, getPriority, getProject, getProjectObject, getReporter, getReporterId, getReporterUser, getResolution, getResolutionDate, getResolutionId, getSecurityLevel, getSecurityLevelId, getStatus, getSubTaskObjects, getSubTasks, getSummary, getTimeSpent, getUpdated, getVotes, getWatches, getWorkflowId, isCreated, isSubTask
 
Methods inherited from interface com.atlassian.jira.ofbiz.OfBizValueWrapper
getGenericValue, getLong, getString, getTimestamp, store
 

Field Detail

constantsManager

protected final ConstantsManager constantsManager

issueManager

protected final IssueManager issueManager

attachmentManager

protected final AttachmentManager attachmentManager
Constructor Detail

AbstractIssue

protected AbstractIssue(ConstantsManager constantsManager,
                        IssueManager issueManager,
                        AttachmentManager attachmentManager)
Method Detail

getIssueTypeObject

public IssueType getIssueTypeObject()
Description copied from interface: Issue
Gets the IssueType for this Issue.

Specified by:
getIssueTypeObject in interface IssueContext
Specified by:
getIssueTypeObject in interface Issue
Returns:
The IssueType for this Issue.

getPriorityObject

public Priority getPriorityObject()
Specified by:
getPriorityObject in interface Issue

getResolutionObject

public Resolution getResolutionObject()
Specified by:
getResolutionObject in interface Issue

getStatusObject

public Status getStatusObject()
Specified by:
getStatusObject in interface Issue

getParentObject

public Issue getParentObject()
Description copied from interface: Issue
If this issue is a subtask, return its parent.

Specified by:
getParentObject in interface Issue
Returns:
The parent Issue, or null if the issue is not a subtask.

getParent

public org.ofbiz.core.entity.GenericValue getParent()
Deprecated. Use getParentObject() instead.

Specified by:
getParent in interface Issue

isEditable

public boolean isEditable()
Specified by:
isEditable in interface Issue

getAttachments

public Collection<Attachment> getAttachments()
Specified by:
getAttachments in interface Issue
Returns:
A collection of Attachment objects


Copyright © 2002-2012 Atlassian. All Rights Reserved.