Class IssueImpl
- All Implemented Interfaces:
WithId,WithKey,IssueContext,Issue,MutableIssue,OfBizValueWrapper,Serializable
GenericValue.- Since:
- 3.2
- See Also:
-
Field Summary
Fields inherited from class com.atlassian.jira.issue.AbstractIssue
attachmentManager, constantsManager, issueManagerFields inherited from interface com.atlassian.jira.issue.context.IssueContext
GLOBALFields inherited from interface com.atlassian.jira.entity.WithId
ID_COMPARATOR -
Constructor Summary
ConstructorsConstructorDescriptionIssueImpl(Issue issue, IssueManager issueManager, ProjectManager projectManager, VersionManager versionManager, IssueSecurityLevelManager issueSecurityLevelManager, ConstantsManager constantsManager, SubTaskManager subTaskManager, AttachmentManager attachmentManager, LabelManager labelManager, ProjectComponentManager projectComponentManager, UserManager userManager, JiraAuthenticationContext jiraAuthenticationContext, IssueArchiveHelper issueArchiveHelper) Create an issue, cloning another issue's data.IssueImpl(org.ofbiz.core.entity.GenericValue genericValue, IssueManager issueManager, ProjectManager projectManager, VersionManager versionManager, IssueSecurityLevelManager issueSecurityLevelManager, ConstantsManager constantsManager, SubTaskManager subTaskManager, AttachmentManager attachmentManager, LabelManager labelManager, ProjectComponentManager projectComponentManager, UserManager userManager, JiraAuthenticationContext jiraAuthenticationContext, IssueArchiveHelper issueArchiveHelper) Load an issue backed by the database. -
Method Summary
Modifier and TypeMethodDescriptionReturns the userid of user who archived this issue, or null if it wasn't archived.Returns the user who archived this issue, or null if it wasn't archived.Returns the timestamp when this issue was archived, or null if it wasn't archived.Returns the Assignee User.Returns the Assignee User.getCustomFieldValue(CustomField customField) This is the "remaining estimate" of work left to be performed on this issue, in seconds.getExternalFieldValue(String fieldId) org.ofbiz.core.entity.GenericValueGet the backing GenericValue object.getId()static MutableIssuegetIssueObject(org.ofbiz.core.entity.GenericValue genericValue) Deprecated.Gets the IssueType for this Issue.Gets the ID of the IssueType for this Issue.getKey()Returns a set of all the labels for this issue or an empty set if none exist yet.Retrieve a numeric field.Retrieve a map of issue fields whose values have been set (since object creation or lastMutableIssue.resetModifiedFields()call.This is the "original estimate" of work to be performed on this issue, in seconds.org.ofbiz.core.entity.GenericValueDeprecated.UsegetParentObject()instead.If this issue is a subtask, return its parent.Returns the Priority for this Issue.org.ofbiz.core.entity.GenericValueGets the ID of the Project for this Issue.Gets the Project for this Issue.Returns the Reporter User.Returns the Reporter User.Returns the Resolution for this Issue.Returns the datetime that an issue was resolved on.org.ofbiz.core.entity.GenericValueReturns the Security Level for this Issue.Returns the Security Level for this Issue.Retrieve a String field.Gets all the issue's subtasks.Collection<org.ofbiz.core.entity.GenericValue> This is the "total time spent" working on this issue, in seconds.getTimestamp(String name) Retrieve a timestamp field.getVotes()booleanReturns true if issue is archivedbooleanbooleanvoidReset the internal list of modified fields.voidsetAffectedVersions(Collection<Version> affectedVersions) voidsetArchived(boolean archived) voidsetAssignee(ApplicationUser assignee) voidsetAssigneeId(String assigneeKey) Sets the user that this issue is assigned to.voidsetComponent(Collection<ProjectComponent> components) Sets the components for this Issue.voidsetCreated(Timestamp created) voidsetCustomFieldValue(CustomField customField, Object value) Sets a custom field value on this Issue Object, but does not write it to the database.voidsetDescription(String description) voidsetDueDate(Timestamp dueDate) voidsetEnvironment(String environment) voidsetEstimate(Long estimate) voidsetExternalFieldValue(String fieldId, Object newValue) This can be used by a field to "place" a custom object into the MutableIssue so that it can be retrieved by key at a later point via theMutableIssue.getModifiedFields()andIssue.getExternalFieldValue(String).voidsetExternalFieldValue(String fieldId, Object oldValue, Object newValue) This can be used bya field to "place" a custom object into the MutableIssue so that it can be retrieved by key at a later point via theMutableIssue.getModifiedFields()andIssue.getExternalFieldValue(String).voidsetFixVersions(Collection<Version> fixVersions) voidsetIssueType(IssueType issueType) voidsetIssueTypeId(String issueTypeId) Set the issue type, by type id.voidsetIssueTypeObject(IssueType issueType) Sets the IssueType for this Issue.voidvoidSet the labels for this issue.voidvoidsetOriginalEstimate(Long originalEstimate) voidsetParentId(Long parentId) Sets the ParentId of this Issue.voidsetParentObject(Issue parentIssue) Sets the parent Issue Object for this Issue (subtask).voidsetPriority(Priority priority) Sets the priority for this Issue.voidsetPriority(org.ofbiz.core.entity.GenericValue priority) voidsetPriorityId(String priorityId) Sets the priority for this Issue.voidsetPriorityObject(Priority priority) Sets the priority for this Issue.voidsetProject(org.ofbiz.core.entity.GenericValue project) Sets the Project for this Issue.voidsetProjectId(Long projectId) Sets the project by id.voidsetProjectObject(Project project) Sets the Project for this Issue.voidsetReporter(ApplicationUser reporter) voidsetReporterId(String reporterId) Sets the reporter in this issue.voidsetResolution(Resolution resolution) Sets the resolution for this Issue.voidsetResolutionDate(Timestamp resolutionDate) voidsetResolutionId(String resolutionId) voidsetResolutionObject(Resolution resolution) Sets the resolution for this Issue.voidsetSecurityLevel(org.ofbiz.core.entity.GenericValue securityLevel) Sets the SecurityLevel for this Issue.voidsetSecurityLevelId(Long securityLevelId) Sets the SecurityLevel for this Issue.voidSets the status for this Issue.voidsetStatusId(String statusId) Set issue's status by status id ("1", "2" etc).voidsetStatusObject(Status status) Sets the status for this Issue.voidsetSummary(String summary) voidsetTimeSpent(Long timespent) voidsetUpdated(Timestamp updated) voidvoidsetWatches(Long watches) voidsetWorkflowId(Long workflowId) voidstore()Persist this issue's immediate fields.toString()Methods inherited from class com.atlassian.jira.issue.AbstractIssue
equals, getAttachments, getIssueTypeObject, getPriorityObject, getResolutionObject, getStatusObject, hashCode, isEditableMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.atlassian.jira.issue.Issue
equals, getAttachments, getIssueTypeObject, getPriorityObject, getResolutionObject, getStatusObject, hashCode, isEditable
-
Constructor Details
-
IssueImpl
public IssueImpl(org.ofbiz.core.entity.GenericValue genericValue, IssueManager issueManager, ProjectManager projectManager, VersionManager versionManager, IssueSecurityLevelManager issueSecurityLevelManager, ConstantsManager constantsManager, SubTaskManager subTaskManager, AttachmentManager attachmentManager, LabelManager labelManager, ProjectComponentManager projectComponentManager, UserManager userManager, JiraAuthenticationContext jiraAuthenticationContext, IssueArchiveHelper issueArchiveHelper) Load an issue backed by the database.- Parameters:
genericValue- generic value of the issueissueManager- issue managerprojectManager- project managerversionManager- version managerissueSecurityLevelManager- issue security level managerconstantsManager- constant managersubTaskManager- sub-task managerattachmentManager- attachment managerlabelManager- label managerprojectComponentManager- project component manageruserManager- user managerjiraAuthenticationContext- jira authentication contextissueArchiveHelper- issue archive helper
-
IssueImpl
public IssueImpl(@Nonnull Issue issue, IssueManager issueManager, ProjectManager projectManager, VersionManager versionManager, IssueSecurityLevelManager issueSecurityLevelManager, ConstantsManager constantsManager, SubTaskManager subTaskManager, AttachmentManager attachmentManager, LabelManager labelManager, ProjectComponentManager projectComponentManager, UserManager userManager, JiraAuthenticationContext jiraAuthenticationContext, IssueArchiveHelper issueArchiveHelper) Create an issue, cloning another issue's data.- Parameters:
issue- issueissueManager- issue managerprojectManager- project managerversionManager- version managerissueSecurityLevelManager- issue security level managerconstantsManager- constant managersubTaskManager- sub-task managerattachmentManager- attachment managerlabelManager- label managerprojectComponentManager- project component manageruserManager- user managerjiraAuthenticationContext- jira authentication contextissueArchiveHelper- issue archive helper
-
-
Method Details
-
getIssueObject
Deprecated.You should construct this yourself if at all possible, or useIssueFactory.getIssue(org.ofbiz.core.entity.GenericValue)instead.This is a static way of instantiating an Issue Object.- Parameters:
genericValue- generic value of the issue- Returns:
- new instance of MutableIssue
-
getId
-
getProject
public org.ofbiz.core.entity.GenericValue getProject()- Specified by:
getProjectin interfaceIssue
-
getProjectObject
Description copied from interface:IssueGets the Project for this Issue.- Specified by:
getProjectObjectin interfaceIssue- Specified by:
getProjectObjectin interfaceIssueContext- Returns:
- The Project for this Issue.
-
getProjectId
Description copied from interface:IssueGets the ID of the Project for this Issue.- Specified by:
getProjectIdin interfaceIssue- Specified by:
getProjectIdin interfaceIssueContext- Returns:
- The ID of the Project for this Issue.
-
setProjectId
Description copied from interface:MutableIssueSets the project by id.- Specified by:
setProjectIdin interfaceMutableIssue- Parameters:
projectId- The id of the project
-
setProject
public void setProject(org.ofbiz.core.entity.GenericValue project) Description copied from interface:MutableIssueSets the Project for this Issue.- Specified by:
setProjectin interfaceMutableIssue- Parameters:
project- the new Project
-
setProjectObject
Description copied from interface:MutableIssueSets the Project for this Issue.- Specified by:
setProjectObjectin interfaceMutableIssue- Parameters:
project- the new Project
-
getIssueType
Description copied from interface:IssueGets the IssueType for this Issue.- Specified by:
getIssueTypein interfaceIssue- Specified by:
getIssueTypein interfaceIssueContext- Returns:
- The IssueType for this Issue.
-
getIssueTypeId
Description copied from interface:IssueGets the ID of the IssueType for this Issue.- Specified by:
getIssueTypeIdin interfaceIssue- Specified by:
getIssueTypeIdin interfaceIssueContext- Returns:
- The ID of the IssueType for this Issue.
-
setIssueType
- Specified by:
setIssueTypein interfaceMutableIssue
-
setIssueTypeObject
Description copied from interface:MutableIssueSets the IssueType for this Issue.- Specified by:
setIssueTypeObjectin interfaceMutableIssue- Parameters:
issueType- the new IssueType
-
setIssueTypeId
Set the issue type, by type id.- Specified by:
setIssueTypeIdin interfaceMutableIssue
-
getSummary
- Specified by:
getSummaryin interfaceIssue
-
setSummary
- Specified by:
setSummaryin interfaceMutableIssue
-
isArchived
public boolean isArchived()Description copied from interface:IssueReturns true if issue is archived- Specified by:
isArchivedin interfaceIssue- Returns:
- is issue archived
-
setArchived
public void setArchived(boolean archived) - Specified by:
setArchivedin interfaceMutableIssue
-
getArchivedById
Description copied from interface:IssueReturns the userid of user who archived this issue, or null if it wasn't archived.- Specified by:
getArchivedByIdin interfaceIssue- Returns:
- the userid of user who archived this issue, or null if it wasn't archived.
-
getArchivedByUser
Description copied from interface:IssueReturns the user who archived this issue, or null if it wasn't archived.- Specified by:
getArchivedByUserin interfaceIssue- Returns:
- the user who archived this issue, or null if it wasn't archived.
-
getArchivedDate
Description copied from interface:IssueReturns the timestamp when this issue was archived, or null if it wasn't archived.- Specified by:
getArchivedDatein interfaceIssue- Returns:
- timestamp when this issue was archived, or null if it wasn't archived.
-
getReporterUser
Description copied from interface:IssueReturns the Reporter User.This will return a non-null User object even if the User has been deleted.
Legacy synonym for
Issue.getReporter().- Specified by:
getReporterUserin interfaceIssue- Returns:
- the Reporter User.
- See Also:
-
getReporter
Description copied from interface:IssueReturns the Reporter User.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.- Specified by:
getReporterin interfaceIssue- Returns:
- the Reporter User.
-
getReporterId
- Specified by:
getReporterIdin interfaceIssue- Returns:
- a user key of the reporter
-
getCreator
- Specified by:
getCreatorin interfaceIssue
-
getCreatorId
- Specified by:
getCreatorIdin interfaceIssue- Returns:
- a user key of the creator
-
setReporter
- Specified by:
setReporterin interfaceMutableIssue
-
setReporterId
Description copied from interface:MutableIssueSets the reporter in this issue. Note that this should be the userkey, not the username.- Specified by:
setReporterIdin interfaceMutableIssue- Parameters:
reporterId- userkey of the desired reporter.- See Also:
-
getDescription
- Specified by:
getDescriptionin interfaceIssue
-
setDescription
- Specified by:
setDescriptionin interfaceMutableIssue
-
getEnvironment
- Specified by:
getEnvironmentin interfaceIssue
-
setEnvironment
- Specified by:
setEnvironmentin interfaceMutableIssue
-
getAssigneeUser
Description copied from interface:IssueReturns the Assignee User.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()- Specified by:
getAssigneeUserin interfaceIssue- Returns:
- the Assignee User.
- See Also:
-
getAssignee
Description copied from interface:IssueReturns the Assignee User.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.- Specified by:
getAssigneein interfaceIssue- Returns:
- the Assignee User.
-
getAssigneeId
- Specified by:
getAssigneeIdin interfaceIssue- Returns:
- a user key of the assignee
-
setAssignee
- Specified by:
setAssigneein interfaceMutableIssue
-
setAssigneeId
Description copied from interface:MutableIssueSets the user that this issue is assigned to. Note that this should be the userkey, not the username.- Specified by:
setAssigneeIdin interfaceMutableIssue- Parameters:
assigneeKey- The user key.
-
getComponentObjects
- Specified by:
getComponentObjectsin interfaceIssue- Returns:
- collection of project components (as objects) that this issue is assigned to
-
getComponents
- Specified by:
getComponentsin interfaceIssue- Returns:
- collection of project components (as objects) that this issue is assigned to
-
setComponent
Description copied from interface:MutableIssueSets the components for this Issue.- Specified by:
setComponentin interfaceMutableIssue- Parameters:
components- the new components value
-
getFixVersions
- Specified by:
getFixVersionsin interfaceIssue- Returns:
- a collection of fix-for
Versionobjects.
-
setFixVersions
- Specified by:
setFixVersionsin interfaceMutableIssue- Parameters:
fixVersions- A collection of fix-forVersionobjects.
-
getDueDate
- Specified by:
getDueDatein interfaceIssue
-
setDueDate
- Specified by:
setDueDatein interfaceMutableIssue
-
getSecurityLevel
public org.ofbiz.core.entity.GenericValue getSecurityLevel()Description copied from interface:IssueReturns the Security Level for this Issue.- Specified by:
getSecurityLevelin interfaceIssue- Returns:
- the Security Level for this Issue.
-
getSecurityLevelId
Description copied from interface:IssueReturns the Security Level for this Issue.- Specified by:
getSecurityLevelIdin interfaceIssue- Returns:
- the Security Level for this Issue.
-
setSecurityLevelId
Description copied from interface:MutableIssueSets the SecurityLevel for this Issue.- Specified by:
setSecurityLevelIdin interfaceMutableIssue- Parameters:
securityLevelId- the new SecurityLevel value
-
setSecurityLevel
public void setSecurityLevel(org.ofbiz.core.entity.GenericValue securityLevel) Description copied from interface:MutableIssueSets the SecurityLevel for this Issue.- Specified by:
setSecurityLevelin interfaceMutableIssue- Parameters:
securityLevel- the new SecurityLevel value
-
getPriority
Description copied from interface:IssueReturns the Priority for this Issue.- Specified by:
getPriorityin interfaceIssue- Returns:
- the Priority for this Issue.
-
setPriority
public void setPriority(org.ofbiz.core.entity.GenericValue priority) -
setPriority
Description copied from interface:MutableIssueSets the priority for this Issue.- Specified by:
setPriorityin interfaceMutableIssue- Parameters:
priority- the new priority value
-
setPriorityObject
Description copied from interface:MutableIssueSets the priority for this Issue.- Specified by:
setPriorityObjectin interfaceMutableIssue- Parameters:
priority- the new priority value
-
setPriorityId
Description copied from interface:MutableIssueSets the priority for this Issue.- Specified by:
setPriorityIdin interfaceMutableIssue- Parameters:
priorityId- the new priority value
-
getResolutionId
- Specified by:
getResolutionIdin interfaceIssue
-
getResolution
Description copied from interface:IssueReturns the Resolution for this Issue.- Specified by:
getResolutionin interfaceIssue- Returns:
- the Resolution for this Issue.
-
setResolutionId
- Specified by:
setResolutionIdin interfaceMutableIssue
-
setResolution
Description copied from interface:MutableIssueSets the resolution for this Issue.- Specified by:
setResolutionin interfaceMutableIssue
-
setResolutionObject
Description copied from interface:MutableIssueSets the resolution for this Issue.- Specified by:
setResolutionObjectin interfaceMutableIssue- Parameters:
resolution- the new resolution value
-
getKey
-
getNumber
-
setKey
- Specified by:
setKeyin interfaceMutableIssue- Parameters:
key-
-
setNumber
- Specified by:
setNumberin interfaceMutableIssue
-
getVotes
-
setVotes
- Specified by:
setVotesin interfaceMutableIssue
-
getWatches
- Specified by:
getWatchesin interfaceIssue
-
setWatches
- Specified by:
setWatchesin interfaceMutableIssue
-
getAffectedVersions
- Specified by:
getAffectedVersionsin interfaceIssue- Returns:
- a collection of 'affects'
Versionobjects.
-
setAffectedVersions
- Specified by:
setAffectedVersionsin interfaceMutableIssue- Parameters:
affectedVersions- A collection of 'affects'Versionobjects.
-
getString
Description copied from interface:OfBizValueWrapperRetrieve a String field.- Specified by:
getStringin interfaceOfBizValueWrapper- Parameters:
name- the field name- Returns:
- the value for the given field.
-
getTimestamp
Description copied from interface:OfBizValueWrapperRetrieve a timestamp field.- Specified by:
getTimestampin interfaceOfBizValueWrapper- Parameters:
name- the field name- Returns:
- the value for the given field.
-
getLong
Description copied from interface:OfBizValueWrapperRetrieve a numeric field.- Specified by:
getLongin interfaceOfBizValueWrapper- Parameters:
name- the field name- Returns:
- the value for the given field.
-
getGenericValue
public org.ofbiz.core.entity.GenericValue getGenericValue()Description copied from interface:IssueGet the backing GenericValue object.- Specified by:
getGenericValuein interfaceIssue- Specified by:
getGenericValuein interfaceOfBizValueWrapper- Returns:
- the backing GenericValue object.
-
getCreated
- Specified by:
getCreatedin interfaceIssue
-
setCreated
- Specified by:
setCreatedin interfaceMutableIssue
-
getUpdated
- Specified by:
getUpdatedin interfaceIssue
-
setUpdated
- Specified by:
setUpdatedin interfaceMutableIssue
-
getResolutionDate
Description copied from interface:IssueReturns the datetime that an issue was resolved on. Will be null if it hasn't been resolved yet, or if an issue has been returned to the 'unresolved' state.- Specified by:
getResolutionDatein interfaceIssue- Returns:
- Timestamp of when an issue was resolved, or null
-
setResolutionDate
- Specified by:
setResolutionDatein interfaceMutableIssue
-
getWorkflowId
- Specified by:
getWorkflowIdin interfaceIssue
-
setWorkflowId
- Specified by:
setWorkflowIdin interfaceMutableIssue
-
getCustomFieldValue
- Specified by:
getCustomFieldValuein interfaceIssue- Parameters:
customField- the CustomField- Returns:
- A custom field's value. Will be a List, User, Timestamp etc, depending on custom field type.
-
setCustomFieldValue
Description copied from interface:MutableIssueSets a custom field value on this Issue Object, but does not write it to the database. This is highly misleading.
To actually set a custom field value, useOrderableField.updateIssue(com.atlassian.jira.issue.fields.layout.field.FieldLayoutItem, MutableIssue, java.util.Map)- Specified by:
setCustomFieldValuein interfaceMutableIssue- Parameters:
customField- the CustomFieldvalue- the value.
-
getExternalFieldValue
- Specified by:
getExternalFieldValuein interfaceIssue
-
setExternalFieldValue
Description copied from interface:MutableIssueThis can be used by a field to "place" a custom object into the MutableIssue so that it can be retrieved by key at a later point via theMutableIssue.getModifiedFields()andIssue.getExternalFieldValue(String).The passed in newValue will be wrapped in the
ModifiedValue.getNewValue()TheModifiedValue.getOldValue()will be null.- Specified by:
setExternalFieldValuein interfaceMutableIssue- Parameters:
fieldId- the field id to use as a keynewValue- the new value to place in aModifiedValue
-
setExternalFieldValue
Description copied from interface:MutableIssueThis can be used bya field to "place" a custom object into the MutableIssue so that it can be retrieved by key at a later point via theMutableIssue.getModifiedFields()andIssue.getExternalFieldValue(String).The passed in newValue will be wrapped in the
ModifiedValue.getNewValue()and the oldValue will be placed inModifiedValue.getOldValue()- Specified by:
setExternalFieldValuein interfaceMutableIssue- Parameters:
fieldId- the field id to use as a keyoldValue- the old value to place in aModifiedValuenewValue- the new value to place in aModifiedValue
-
isSubTask
public boolean isSubTask() -
getParentId
- Specified by:
getParentIdin interfaceIssue
-
setParentId
Description copied from interface:MutableIssueSets the ParentId of this Issue.- Specified by:
setParentIdin interfaceMutableIssue- Parameters:
parentId- The new parentId.- See Also:
-
setParentObject
Description copied from interface:MutableIssueSets the parent Issue Object for this Issue (subtask).Normally a subtask just has the ID of the parent set using
setParentId(). In this case, the getParentObject() method will look up the parent object from the DB (or cache). However, when you are editing a parent and its subtask within a transaction (eg a Bulk Move), it is useful to be able to link the subtask to the pending parent object in order that it can see the new values for the parent.- Specified by:
setParentObjectin interfaceMutableIssue- Parameters:
parentIssue- the required parent Issue for this subtask.- Throws:
IllegalArgumentException- See Also:
-
getParentObject
Description copied from interface:IssueIf this issue is a subtask, return its parent.- Specified by:
getParentObjectin interfaceIssue- Overrides:
getParentObjectin classAbstractIssue- Returns:
- The parent Issue, or null if the issue is not a subtask.
-
getParent
public org.ofbiz.core.entity.GenericValue getParent()Deprecated.UsegetParentObject()instead.- Specified by:
getParentin interfaceIssue- Overrides:
getParentin classAbstractIssue
-
getSubTasks
- Specified by:
getSubTasksin interfaceIssue
-
getSubTaskObjects
Description copied from interface:IssueGets all the issue's subtasks.- Specified by:
getSubTaskObjectsin interfaceIssue- Returns:
- A collection of
MutableIssues
-
isCreated
public boolean isCreated() -
getStatus
-
getStatusId
- Specified by:
getStatusIdin interfaceIssue
-
setStatusId
Description copied from interface:MutableIssueSet issue's status by status id ("1", "2" etc).- Specified by:
setStatusIdin interfaceMutableIssue- Parameters:
statusId- the new StatusId.
-
setLabels
Description copied from interface:MutableIssueSet the labels for this issue.- Specified by:
setLabelsin interfaceMutableIssue- Parameters:
labels- the labels for this issue
-
getLabels
Description copied from interface:IssueReturns a set of all the labels for this issue or an empty set if none exist yet. -
setStatus
Description copied from interface:MutableIssueSets the status for this Issue.- Specified by:
setStatusin interfaceMutableIssue- Parameters:
status- the new status value
-
setStatusObject
Description copied from interface:MutableIssueSets the status for this Issue.- Specified by:
setStatusObjectin interfaceMutableIssue- Parameters:
status- the new status value
-
getOriginalEstimate
Description copied from interface:IssueThis is the "original estimate" of work to be performed on this issue, in seconds.- Specified by:
getOriginalEstimatein interfaceIssue- Returns:
- the "original estimate" of work to be performed on this issue, in seconds.
-
setOriginalEstimate
- Specified by:
setOriginalEstimatein interfaceMutableIssue
-
getEstimate
Description copied from interface:IssueThis is the "remaining estimate" of work left to be performed on this issue, in seconds.A better name would be getRemainingEstimate but for historical reasons it is called what it is called.
- Specified by:
getEstimatein interfaceIssue- Returns:
- the "remaining estimate" of work left to be performed on this issue, in seconds.
-
setEstimate
- Specified by:
setEstimatein interfaceMutableIssue
-
getTimeSpent
Description copied from interface:IssueThis is the "total time spent" working on this issue, in seconds.- Specified by:
getTimeSpentin interfaceIssue- Returns:
- the "total time spent" working on this issue, in seconds.
-
setTimeSpent
- Specified by:
setTimeSpentin interfaceMutableIssue
-
getIssueRenderContext
- Specified by:
getIssueRenderContextin interfaceIssue
-
store
public void store()Description copied from interface:MutableIssuePersist this issue's immediate fields. This is for internal usage only.- Specified by:
storein interfaceMutableIssue- Specified by:
storein interfaceOfBizValueWrapper
-
getModifiedFields
Description copied from interface:MutableIssueRetrieve a map of issue fields whose values have been set (since object creation or lastMutableIssue.resetModifiedFields()call.- Specified by:
getModifiedFieldsin interfaceMutableIssue- Returns:
- A Map of key -> ModifiedValue pairs, where keys are defined in
IssueFieldConstantsand the value objects in the ModifiedValue are field-specific.
-
resetModifiedFields
public void resetModifiedFields()Description copied from interface:MutableIssueReset the internal list of modified fields.- Specified by:
resetModifiedFieldsin interfaceMutableIssue- See Also:
-
toString
-
IssueFactory.getIssue(org.ofbiz.core.entity.GenericValue)instead.