public class DocumentIssueImpl extends AbstractIssue
attachmentManager, constantsManager, issueManager
GLOBAL
ID_COMPARATOR
Constructor and Description |
---|
DocumentIssueImpl(org.apache.lucene.document.Document document,
ConstantsManager constantsManager,
FieldManager fieldManager,
IssueManager issueManager,
IssueFactory issueFactory,
AttachmentManager attachmentManager,
ProjectFactory projectFactory,
JqlLocalDateSupport jqlLocalDateSupport) |
Modifier and Type | Method and Description |
---|---|
Collection<Version> |
getAffectedVersions() |
ApplicationUser |
getAssignee()
Returns the Assignee User.
|
String |
getAssigneeId() |
ApplicationUser |
getAssigneeUser()
Returns the Assignee User.
|
Collection<ProjectComponent> |
getComponentObjects()
Deprecated.
since 7.0, use
getComponents() instead |
Collection<ProjectComponent> |
getComponents() |
Timestamp |
getCreated() |
ApplicationUser |
getCreator() |
String |
getCreatorId() |
Object |
getCustomFieldValue(CustomField customField) |
String |
getDescription() |
Timestamp |
getDueDate() |
String |
getEnvironment() |
Long |
getEstimate()
This is the "remaining estimate" of work left to be performed on this issue, in milliseconds.
|
Object |
getExternalFieldValue(String fieldId) |
Collection<Version> |
getFixVersions() |
org.ofbiz.core.entity.GenericValue |
getGenericValue()
Get the backing GenericValue object.
|
Long |
getId() |
IssueRenderContext |
getIssueRenderContext() |
IssueType |
getIssueType()
Gets the IssueType for this Issue.
|
String |
getIssueTypeId()
Gets the ID of the IssueType for this Issue.
|
IssueType |
getIssueTypeObject()
Gets the IssueType for this Issue.
|
String |
getKey() |
Set<Label> |
getLabels()
Returns a set of all the labels for this issue or an empty set if none exist yet.
|
Long |
getLong(String name)
Retrieve a numeric field.
|
Long |
getNumber() |
Long |
getOriginalEstimate()
This is the "original estimate" of work to be performed on this issue, in milliseconds.
|
Long |
getParentId() |
Priority |
getPriority()
Returns the Priority for this Issue.
|
Priority |
getPriorityObject()
Returns the Priority for this Issue.
|
org.ofbiz.core.entity.GenericValue |
getProject() |
Long |
getProjectId()
Gets the ID of the Project for this Issue.
|
Project |
getProjectObject()
Gets the Project for this Issue.
|
ApplicationUser |
getReporter()
Returns the Reporter User.
|
String |
getReporterId() |
ApplicationUser |
getReporterUser()
Returns the Reporter User.
|
Resolution |
getResolution()
Returns the Resolution for this Issue.
|
Timestamp |
getResolutionDate()
Returns the datetime that an issue was resolved on.
|
String |
getResolutionId() |
Resolution |
getResolutionObject()
Returns the Resolution for this Issue.
|
org.ofbiz.core.entity.GenericValue |
getSecurityLevel()
Returns the Security Level for this Issue.
|
Long |
getSecurityLevelId()
Returns the Security Level for this Issue.
|
Status |
getStatus() |
String |
getStatusId() |
Status |
getStatusObject() |
String |
getString(String name)
Retrieve a String field.
|
Collection |
getSubTaskObjects()
Gets all the issue's subtasks.
|
Collection |
getSubTasks() |
String |
getSummary() |
Long |
getTimeSpent()
This is the "total time spent" working on this issue, in milliseconds.
|
Timestamp |
getTimestamp(String name)
Retrieve a timestamp field.
|
Timestamp |
getUpdated() |
Long |
getVotes() |
Long |
getWatches() |
Long |
getWorkflowId() |
boolean |
isCreated() |
boolean |
isSubTask() |
void |
store()
Persist this object's immediate fields.
|
String |
toString() |
equals, getAttachments, getParent, getParentObject, hashCode, isEditable
public DocumentIssueImpl(org.apache.lucene.document.Document document, ConstantsManager constantsManager, FieldManager fieldManager, IssueManager issueManager, IssueFactory issueFactory, AttachmentManager attachmentManager, ProjectFactory projectFactory, JqlLocalDateSupport jqlLocalDateSupport)
public Long getId()
public Long getNumber()
public org.ofbiz.core.entity.GenericValue getProject()
public Project getProjectObject()
Issue
public Long getProjectId()
Issue
public IssueType getIssueTypeObject()
Issue
getIssueTypeObject
in interface IssueContext
getIssueTypeObject
in interface Issue
getIssueTypeObject
in class AbstractIssue
public IssueType getIssueType()
Issue
public String getIssueTypeId()
Issue
public String getSummary()
public ApplicationUser getAssigneeUser()
Issue
If there is no assignee it returns null, else it is guaranteed to return a non-null User. If the User is no longer available, it will create a dummy User object based on the username.
Legacy synonym for Issue.getAssignee()
Issue.getAssignee()
public ApplicationUser getAssignee()
Issue
Warning: previous incarnations of this method returned com.opensymphony.user.User
. This class
has now been removed from the JIRA API, meaning that the 5.0 version is not binary or source compatible with
earlier versions.
public String getAssigneeId()
public Collection<ProjectComponent> getComponents()
public Collection<ProjectComponent> getComponentObjects()
getComponents()
insteadpublic Set<Label> getLabels()
Issue
public ApplicationUser getReporterUser()
Issue
This will return a non-null User object even if the User has been deleted.
Legacy synonym for Issue.getReporter()
.
Issue.getReporter()
public ApplicationUser getReporter()
Issue
Warning: previous incarnations of this method returned com.opensymphony.user.User
. This class
has now been removed from the JIRA API, meaning that the 5.0 version is not binary or source compatible with
earlier versions.
public String getReporterId()
public ApplicationUser getCreator()
public String getCreatorId()
public String getDescription()
public String getEnvironment()
public Collection<Version> getAffectedVersions()
Version
objects.public Collection<Version> getFixVersions()
Version
objects.public Timestamp getDueDate()
public org.ofbiz.core.entity.GenericValue getSecurityLevel()
Issue
public Long getSecurityLevelId()
Issue
public Priority getPriorityObject()
Issue
getPriorityObject
in interface Issue
getPriorityObject
in class AbstractIssue
public Priority getPriority()
Issue
public String getResolutionId()
public Resolution getResolutionObject()
Issue
getResolutionObject
in interface Issue
getResolutionObject
in class AbstractIssue
public Resolution getResolution()
Issue
public String getKey()
public Long getVotes()
public Long getWatches()
public Timestamp getCreated()
public Timestamp getResolutionDate()
Issue
public Timestamp getUpdated()
public Long getWorkflowId()
public Object getCustomFieldValue(CustomField customField)
customField
- the CustomFieldpublic String getStatusId()
public Status getStatusObject()
getStatusObject
in interface Issue
getStatusObject
in class AbstractIssue
public Status getStatus()
public Long getOriginalEstimate()
Issue
public Long getEstimate()
Issue
A better name would be getRemainingEstimate but for historical reasons it is called what it is called.
public Long getTimeSpent()
Issue
public boolean isSubTask()
public Long getParentId()
public boolean isCreated()
public Collection getSubTasks()
public Collection getSubTaskObjects()
Issue
MutableIssue
spublic IssueRenderContext getIssueRenderContext()
public String getString(String name)
OfBizValueWrapper
name
- the field namepublic Timestamp getTimestamp(String name)
OfBizValueWrapper
name
- the field namepublic Long getLong(String name)
OfBizValueWrapper
name
- the field namepublic org.ofbiz.core.entity.GenericValue getGenericValue()
Issue
public void store()
OfBizValueWrapper
As of JIRA 7.0 this method is considered optional.
If this object is actually immutable, then it will throw UnsupportedOperationException
because there
are no possible mutations to store.
Copyright © 2002-2017 Atlassian. All Rights Reserved.