com.atlassian.jira.issue
Interface Issue

All Superinterfaces:
IssueContext, OfBizValueWrapper
All Known Subinterfaces:
MutableIssue
All Known Implementing Classes:
AbstractIssue, DocumentIssueImpl, IssueImpl, TemplateIssue

public interface Issue
extends OfBizValueWrapper, IssueContext

Main issue interface. Historically, JIRA has just passed around GenericValues 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.


Method Summary
 Collection getAffectedVersions()
           
 User getAssignee()
           
 String getAssigneeId()
           
 Collection getAttachments()
           
 Collection getComponents()
           
 Timestamp getCreated()
           
 Object getCustomFieldValue(CustomField customField)
           
 String getDescription()
           
 Timestamp getDueDate()
           
 String getEnvironment()
           
 Long getEstimate()
           
 Object getExternalFieldValue(String fieldId)
           
 Collection getFixVersions()
           
 Long getId()
           
 IssueRenderContext getIssueRenderContext()
           
 org.ofbiz.core.entity.GenericValue getIssueType()
           
 IssueType getIssueTypeObject()
           
 String getKey()
           
 Long getOriginalEstimate()
           
 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()
           
 Priority getPriorityObject()
           
 org.ofbiz.core.entity.GenericValue getProject()
          Deprecated. please use getProjectObject (this still implicitly relies on the GV), but it is a start!
 Project getProjectObject()
           
 User getReporter()
           
 String getReporterId()
           
 org.ofbiz.core.entity.GenericValue getResolution()
           
 Resolution getResolutionObject()
           
 org.ofbiz.core.entity.GenericValue getSecurityLevel()
           
 Long getSecurityLevelId()
           
 org.ofbiz.core.entity.GenericValue getStatus()
          Deprecated. Use getStatusObject() instead.
 Status getStatusObject()
           
 Collection getSubTaskObjects()
          Gets all the issue's subtasks.
 Collection getSubTasks()
          Deprecated. Use getSubTaskObjects()
 String getSummary()
           
 Long getTimeSpent()
           
 Timestamp getUpdated()
           
 Long getVotes()
           
 Long getWorkflowId()
           
 boolean isCreated()
           
 boolean isEditable()
           
 boolean isSubTask()
           
 
Methods inherited from interface com.atlassian.jira.ofbiz.OfBizValueWrapper
getGenericValue, getLong, getString, getTimestamp, store
 

Method Detail

getId

Long getId()

getProject

org.ofbiz.core.entity.GenericValue getProject()
Deprecated. please use getProjectObject (this still implicitly relies on the GV), but it is a start!

Specified by:
getProject in interface IssueContext

getProjectObject

Project getProjectObject()

getIssueType

org.ofbiz.core.entity.GenericValue getIssueType()
Specified by:
getIssueType in interface IssueContext

getIssueTypeObject

IssueType getIssueTypeObject()

getSummary

String getSummary()

getAssignee

User getAssignee()

getAssigneeId

String getAssigneeId()

getComponents

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

getReporter

User getReporter()

getReporterId

String getReporterId()

getDescription

String getDescription()

getEnvironment

String getEnvironment()

getAffectedVersions

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

getFixVersions

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

getDueDate

Timestamp getDueDate()

getSecurityLevel

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

getSecurityLevelId

Long getSecurityLevelId()

getPriority

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

getPriorityObject

Priority getPriorityObject()

getResolution

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

getResolutionObject

Resolution getResolutionObject()

getKey

String getKey()

getVotes

Long getVotes()

getCreated

Timestamp getCreated()

getUpdated

Timestamp getUpdated()

getWorkflowId

Long getWorkflowId()

getCustomFieldValue

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

getStatus

org.ofbiz.core.entity.GenericValue getStatus()
Deprecated. Use getStatusObject() instead.


getStatusObject

Status getStatusObject()

getOriginalEstimate

Long getOriginalEstimate()

getEstimate

Long getEstimate()

getTimeSpent

Long getTimeSpent()

getExternalFieldValue

Object getExternalFieldValue(String fieldId)

isSubTask

boolean isSubTask()

getParentId

Long getParentId()

isCreated

boolean isCreated()

getParentObject

Issue getParentObject()
If this issue is a subtask, return its parent. The parent Issue, or null if the issue is not a subtask.


getParent

org.ofbiz.core.entity.GenericValue getParent()
Deprecated. Use getParentObject() instead.


getSubTasks

Collection getSubTasks()
Deprecated. Use getSubTaskObjects()


getSubTaskObjects

Collection getSubTaskObjects()
Gets all the issue's subtasks.

Returns:
A collection of MutableIssues

isEditable

boolean isEditable()

getIssueRenderContext

IssueRenderContext getIssueRenderContext()

getAttachments

Collection getAttachments()
Returns:
A collection of Attachment objects


Copyright © 2002-2008 Atlassian. All Rights Reserved.