|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@PublicApi public interface Issue
Main issue interface. Historically, JIRA has just passed around 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.
IssueManager.getIssueObject(String)
, or converted
using IssueFactory
.
Field Summary |
---|
Fields inherited from interface com.atlassian.jira.issue.context.IssueContext |
---|
GLOBAL |
Method Summary | |
---|---|
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()
|
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. |
Status |
getStatusObject()
|
Collection<Issue> |
getSubTaskObjects()
Gets all the issue's subtasks. |
Collection<org.ofbiz.core.entity.GenericValue> |
getSubTasks()
Deprecated. Use getSubTaskObjects() |
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()
|
Methods inherited from interface com.atlassian.jira.ofbiz.OfBizValueWrapper |
---|
getGenericValue, getLong, getString, getTimestamp, store |
Method Detail |
---|
Long getId()
getId
in interface WithId
@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.0
getIssueType
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()
String getKey()
getKey
in interface WithKey
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.
Status getStatusObject()
Long getOriginalEstimate()
Long getEstimate()
Long getTimeSpent()
Object getExternalFieldValue(String fieldId)
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)
equals
in class Object
o
- the other object
int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |