com.atlassian.jira.issue
Class AbstractIssue

java.lang.Object
  extended bycom.atlassian.jira.issue.AbstractIssue
All Implemented Interfaces:
Issue, IssueContext, 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 getAttachments()
           
 IssueType getIssueTypeObject()
           
 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, getComponents, getCreated, getCustomFieldValue, getDescription, getDueDate, getEnvironment, getEstimate, getExternalFieldValue, getFixVersions, getId, getIssueRenderContext, getIssueType, getKey, getOriginalEstimate, getParentId, getPriority, getProject, getProjectObject, getReporter, getReporterId, getResolution, getSecurityLevel, getSecurityLevelId, getStatus, getSubTaskObjects, getSubTasks, getSummary, getTimeSpent, getUpdated, getVotes, 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()
Specified by:
getIssueTypeObject in interface 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. The parent Issue, or null if the issue is not a subtask.

Specified by:
getParentObject in interface Issue

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 getAttachments()
Specified by:
getAttachments in interface Issue
Returns:
A collection of Attachment objects


Copyright © 2002-2007 Atlassian. All Rights Reserved.