@PublicApi public interface Issue extends OfBizValueWrapper, IssueContext, WithId, WithKey
GenericValue
s describing issue records. Issue
is essentially a GenericValue wrapper, with setters, getters and a OfBizValueWrapper.store()
operation for persisting changes
through the underlying GenericValue.
Amongst other means, Issue objects may be obtained with IssueManager.getIssueObject(String)
, or converted
using IssueFactory
.GLOBAL
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
For interactivity, implementations must be based on the issue key.
|
Collection<Version> |
getAffectedVersions() |
com.atlassian.crowd.embedded.api.User |
getAssignee()
Returns the Assignee User.
|
String |
getAssigneeId() |
com.atlassian.crowd.embedded.api.User |
getAssigneeUser()
Returns the Assignee User.
|
Collection<Attachment> |
getAttachments() |
Collection<ProjectComponent> |
getComponentObjects() |
Collection<org.ofbiz.core.entity.GenericValue> |
getComponents()
Deprecated.
Use
getComponentObjects() instead. Since v5.2. |
Timestamp |
getCreated() |
com.atlassian.crowd.embedded.api.User |
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()
Deprecated.
Use the Data object getters instead. Since v5.0.
|
Long |
getId() |
IssueRenderContext |
getIssueRenderContext() |
org.ofbiz.core.entity.GenericValue |
getIssueType()
Deprecated.
Please use
getIssueTypeObject() . Deprecated since v4.0 |
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 |
getNumber() |
Long |
getOriginalEstimate()
This is the "original estimate" of work to be performed on this issue, in milliseconds.
|
org.ofbiz.core.entity.GenericValue |
getParent()
Deprecated.
Use
getParentObject() instead. |
Long |
getParentId() |
Issue |
getParentObject()
If this issue is a subtask, return its parent.
|
org.ofbiz.core.entity.GenericValue |
getPriority()
Deprecated.
Use
getPriorityObject() instead. Since v5.2. |
Priority |
getPriorityObject()
Returns the Priority for this Issue.
|
org.ofbiz.core.entity.GenericValue |
getProject()
Deprecated.
please use getProjectObject (this still implicitly relies on the GV), but it is a start!
|
Long |
getProjectId()
Gets the ID of the Project for this Issue.
|
Project |
getProjectObject()
Gets the Project for this Issue.
|
com.atlassian.crowd.embedded.api.User |
getReporter()
Returns the Reporter User.
|
String |
getReporterId() |
com.atlassian.crowd.embedded.api.User |
getReporterUser()
Returns the Reporter User.
|
org.ofbiz.core.entity.GenericValue |
getResolution()
Deprecated.
Use
getResolutionObject() instead. Since v5.2. |
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()
Deprecated.
Use
getSecurityLevelId() instead. Since v5.2. |
Long |
getSecurityLevelId()
Returns the Security Level for this Issue.
|
org.ofbiz.core.entity.GenericValue |
getStatus()
Deprecated.
since 4.2. Use
getStatusObject() instead. |
String |
getStatusId() |
Status |
getStatusObject() |
Collection<Issue> |
getSubTaskObjects()
Gets all the issue's subtasks.
|
Collection<org.ofbiz.core.entity.GenericValue> |
getSubTasks()
Deprecated.
|
String |
getSummary() |
Long |
getTimeSpent()
This is the "total time spent" working on this issue, in milliseconds.
|
Timestamp |
getUpdated() |
Long |
getVotes() |
Long |
getWatches() |
Long |
getWorkflowId() |
int |
hashCode()
For interactivity, implementations must be based on the hashcode of the issue key.
|
boolean |
isCreated() |
boolean |
isEditable() |
boolean |
isSubTask() |
getLong, getString, getTimestamp, store
@Deprecated org.ofbiz.core.entity.GenericValue getProject()
IssueContext
A null return value is used to represent that this context applies to all Projects.
getProject
in interface IssueContext
Project getProjectObject()
getProjectObject
in interface IssueContext
Long getProjectId()
getProjectId
in interface IssueContext
@Deprecated org.ofbiz.core.entity.GenericValue getIssueType()
getIssueTypeObject()
. Deprecated since v4.0getIssueType
in interface IssueContext
IssueType getIssueTypeObject()
getIssueTypeObject
in interface IssueContext
String getIssueTypeId()
getIssueTypeId
in interface IssueContext
String getSummary()
com.atlassian.crowd.embedded.api.User getAssigneeUser()
getAssignee()
getAssignee()
@IncompatibleReturnType(since="5.0", was="com.opensymphony.user.User") com.atlassian.crowd.embedded.api.User getAssignee()
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.String getAssigneeId()
Collection<org.ofbiz.core.entity.GenericValue> getComponents()
getComponentObjects()
instead. Since v5.2.Collection<ProjectComponent> getComponentObjects()
com.atlassian.crowd.embedded.api.User getReporterUser()
getReporter()
.getReporter()
@IncompatibleReturnType(since="5.0", was="com.opensymphony.user.User") com.atlassian.crowd.embedded.api.User getReporter()
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.String getReporterId()
com.atlassian.crowd.embedded.api.User getCreator()
String getCreatorId()
String getDescription()
String getEnvironment()
Collection<Version> getAffectedVersions()
Version
objects.Collection<Version> getFixVersions()
Version
objects.Timestamp getDueDate()
org.ofbiz.core.entity.GenericValue getSecurityLevel()
getSecurityLevelId()
instead. Since v5.2.Long getSecurityLevelId()
@Nullable org.ofbiz.core.entity.GenericValue getPriority()
getPriorityObject()
instead. Since v5.2.@Nullable Priority getPriorityObject()
String getResolutionId()
org.ofbiz.core.entity.GenericValue getResolution()
getResolutionObject()
instead. Since v5.2.Resolution getResolutionObject()
Long getNumber()
Long getVotes()
Long getWatches()
Timestamp getCreated()
Timestamp getUpdated()
Timestamp getResolutionDate()
Long getWorkflowId()
Object getCustomFieldValue(CustomField customField)
customField
- the CustomField@Deprecated org.ofbiz.core.entity.GenericValue getStatus()
getStatusObject()
instead.String getStatusId()
Status getStatusObject()
Long getOriginalEstimate()
Long getEstimate()
Long getTimeSpent()
boolean isSubTask()
Long getParentId()
boolean isCreated()
Issue getParentObject()
@Deprecated org.ofbiz.core.entity.GenericValue getParent()
getParentObject()
instead.@Deprecated Collection<org.ofbiz.core.entity.GenericValue> getSubTasks()
getSubTaskObjects()
Collection<Issue> getSubTaskObjects()
MutableIssue
sboolean isEditable()
IssueRenderContext getIssueRenderContext()
Collection<Attachment> getAttachments()
Attachment
objectsSet<Label> getLabels()
boolean equals(Object o)
int hashCode()
org.ofbiz.core.entity.GenericValue getGenericValue()
getGenericValue
in interface OfBizValueWrapper
Copyright © 2002-2015 Atlassian. All Rights Reserved.