com.atlassian.jira.issue
Class DocumentIssueImpl
java.lang.Object
com.atlassian.jira.issue.AbstractIssue
com.atlassian.jira.issue.DocumentIssueImpl
- All Implemented Interfaces:
- IssueContext, Issue, OfBizValueWrapper
public class DocumentIssueImpl
- extends AbstractIssue
DocumentIssueImpl
public DocumentIssueImpl(org.apache.lucene.document.Document document,
ConstantsManager constantsManager,
FieldManager fieldManager,
IssueManager issueManager,
IssueFactory issueFactory,
AttachmentManager attachmentManager,
ProjectFactory projectFactory)
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
MutableIssue
s
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.