com.atlassian.jira.issue
Class DocumentIssueImpl

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

public class DocumentIssueImpl
extends AbstractIssue


Field Summary
 
Fields inherited from class com.atlassian.jira.issue.AbstractIssue
attachmentManager, constantsManager, issueManager
 
Constructor Summary
DocumentIssueImpl(org.apache.lucene.document.Document document, ConstantsManager constantsManager, FieldManager fieldManager, IssueManager issueManager, IssueFactory issueFactory, AttachmentManager attachmentManager, ProjectFactory projectFactory)
           
 
Method Summary
 boolean equals(Object o)
           
 Collection getAffectedVersions()
           
 User getAssignee()
           
 String getAssigneeId()
           
 Collection getComponents()
           
 Timestamp getCreated()
           
 Object getCustomFieldValue(CustomField customField)
           
 String getDescription()
           
 Timestamp getDueDate()
           
 String getEnvironment()
           
 Long getEstimate()
           
 Object getExternalFieldValue(String fieldId)
           
 Collection getFixVersions()
           
 org.ofbiz.core.entity.GenericValue getGenericValue()
          Get the backing GenericValue object.
 Long getId()
           
 IssueRenderContext getIssueRenderContext()
           
 org.ofbiz.core.entity.GenericValue getIssueType()
           
 String getKey()
           
 Long getLong(String name)
          Retrieve a numeric field.
 Long getOriginalEstimate()
           
 Long getParentId()
           
 org.ofbiz.core.entity.GenericValue getPriority()
           
 org.ofbiz.core.entity.GenericValue getProject()
           
 Project getProjectObject()
           
 User getReporter()
           
 String getReporterId()
           
 org.ofbiz.core.entity.GenericValue getResolution()
           
 org.ofbiz.core.entity.GenericValue getSecurityLevel()
           
 Long getSecurityLevelId()
           
 org.ofbiz.core.entity.GenericValue getStatus()
           
 String getString(String name)
          Retrieve a String field.
 Collection getSubTaskObjects()
          Gets all the issue's subtasks.
 Collection getSubTasks()
           
 String getSummary()
           
 Long getTimeSpent()
           
 Timestamp getTimestamp(String name)
          Retrieve a timestamp field.
 Timestamp getUpdated()
           
 Long getVotes()
           
 Long getWorkflowId()
           
 int hashCode()
           
 boolean isCreated()
           
 boolean isSubTask()
           
 void store()
          Persist this object's immediate fields.
 
Methods inherited from class com.atlassian.jira.issue.AbstractIssue
getAttachments, getIssueTypeObject, getParent, getParentObject, getPriorityObject, getResolutionObject, getStatusObject, isEditable
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentIssueImpl

public DocumentIssueImpl(org.apache.lucene.document.Document document,
                         ConstantsManager constantsManager,
                         FieldManager fieldManager,
                         IssueManager issueManager,
                         IssueFactory issueFactory,
                         AttachmentManager attachmentManager,
                         ProjectFactory projectFactory)
Method Detail

getId

public Long getId()

getProject

public org.ofbiz.core.entity.GenericValue getProject()

getProjectObject

public Project getProjectObject()

getIssueType

public org.ofbiz.core.entity.GenericValue getIssueType()

getSummary

public String getSummary()

getAssignee

public User getAssignee()

getAssigneeId

public String getAssigneeId()

getComponents

public Collection getComponents()
Returns:
A collection of component GenericValues.

getReporter

public User getReporter()

getReporterId

public String getReporterId()

getDescription

public String getDescription()

getEnvironment

public String getEnvironment()

getAffectedVersions

public Collection getAffectedVersions()
Returns:
a collection of 'affects' Version objects.

getFixVersions

public Collection getFixVersions()
Returns:
a collection of fix-for Version objects.

getDueDate

public Timestamp getDueDate()

getSecurityLevel

public org.ofbiz.core.entity.GenericValue getSecurityLevel()

getSecurityLevelId

public Long getSecurityLevelId()

getPriority

public org.ofbiz.core.entity.GenericValue getPriority()

getResolution

public org.ofbiz.core.entity.GenericValue getResolution()

getKey

public String getKey()

getVotes

public Long getVotes()

getCreated

public Timestamp getCreated()

getUpdated

public Timestamp getUpdated()

getWorkflowId

public Long getWorkflowId()

getCustomFieldValue

public Object getCustomFieldValue(CustomField customField)
Returns:
A custom field's value. Will be a List, User, Timestamp etc, depending on custom field type.

getStatus

public org.ofbiz.core.entity.GenericValue getStatus()

getOriginalEstimate

public Long getOriginalEstimate()

getEstimate

public Long getEstimate()

getTimeSpent

public Long getTimeSpent()

getExternalFieldValue

public Object getExternalFieldValue(String fieldId)

isSubTask

public boolean isSubTask()

getParentId

public Long getParentId()

isCreated

public boolean isCreated()

getSubTasks

public Collection getSubTasks()

getSubTaskObjects

public Collection getSubTaskObjects()
Description copied from interface: Issue
Gets all the issue's subtasks.

Returns:
A collection of MutableIssues

getIssueRenderContext

public IssueRenderContext getIssueRenderContext()

getString

public String getString(String name)
Description copied from interface: OfBizValueWrapper
Retrieve a String field.


getTimestamp

public Timestamp getTimestamp(String name)
Description copied from interface: OfBizValueWrapper
Retrieve a timestamp field.


getLong

public Long getLong(String name)
Description copied from interface: OfBizValueWrapper
Retrieve a numeric field.


getGenericValue

public org.ofbiz.core.entity.GenericValue getGenericValue()
Description copied from interface: OfBizValueWrapper
Get the backing GenericValue object.


store

public void store()
Description copied from interface: OfBizValueWrapper
Persist this object's immediate fields.


equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2002-2007 Atlassian. All Rights Reserved.