|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MutableIssue
Facade for an issue's GenericValue
.
After calling any 'setter' method, you will need to call OfBizValueWrapper.store()
to persist the change to the database.
Note that this is a 'shallow' store - only fields directly part of the issue (in the database schema) are persisted.
IssueManager
Method Summary | |
---|---|
Map |
getModifiedFields()
Retrieve a map of issue fields whose values have been set (since object creation or last resetModifiedFields() call. |
void |
resetModifiedFields()
Reset the internal list of modified fields. |
void |
setAffectedVersions(Collection affectedVersions)
|
void |
setAssignee(User assignee)
|
void |
setAssigneeId(String assigneeId)
|
void |
setComponents(Collection components)
|
void |
setCreated(Timestamp created)
|
void |
setCustomFieldValue(CustomField customField,
Object value)
Sets a custom field value on this Issue Object, but does not write it to the database. |
void |
setDescription(String description)
|
void |
setDueDate(Timestamp dueDate)
|
void |
setEnvironment(String environment)
|
void |
setEstimate(Long estimate)
|
void |
setExternalFieldValue(String fieldId,
Object value)
|
void |
setFixVersions(Collection fixVersions)
|
void |
setIssueType(org.ofbiz.core.entity.GenericValue issueType)
|
void |
setIssueTypeId(String issueTypeId)
|
void |
setKey(String key)
|
void |
setOriginalEstimate(Long estimate)
|
void |
setParentId(Long parentId)
|
void |
setPriority(org.ofbiz.core.entity.GenericValue priority)
|
void |
setPriorityId(String priorityId)
|
void |
setProject(org.ofbiz.core.entity.GenericValue project)
|
void |
setReporter(User reporter)
|
void |
setReporterId(String reporterId)
|
void |
setResolution(org.ofbiz.core.entity.GenericValue resolution)
|
void |
setResolutionId(String resolutionId)
|
void |
setSecurityLevel(org.ofbiz.core.entity.GenericValue securityLevel)
|
void |
setStatus(org.ofbiz.core.entity.GenericValue status)
|
void |
setStatusId(String statusId)
Set issue's status by status id ("1", "2" etc). |
void |
setSummary(String summary)
|
void |
setTimeSpent(Long timespent)
|
void |
setUpdated(Timestamp updated)
|
void |
setVotes(Long votes)
|
void |
setWorkflowId(Long workflowId)
|
Methods inherited from interface com.atlassian.jira.ofbiz.OfBizValueWrapper |
---|
getGenericValue, getLong, getString, getTimestamp, store |
Method Detail |
---|
void setProject(org.ofbiz.core.entity.GenericValue project)
void setIssueType(org.ofbiz.core.entity.GenericValue issueType)
void setIssueTypeId(String issueTypeId)
void setSummary(String summary)
void setAssignee(User assignee)
void setComponents(Collection components)
void setAssigneeId(String assigneeId)
void setReporter(User reporter)
void setReporterId(String reporterId)
void setDescription(String description)
void setEnvironment(String environment)
void setAffectedVersions(Collection affectedVersions)
affectedVersions
- A collection of 'affects' Version
objects.void setFixVersions(Collection fixVersions)
fixVersions
- A collection of fix-for Version
objects.void setDueDate(Timestamp dueDate)
void setSecurityLevel(org.ofbiz.core.entity.GenericValue securityLevel)
void setPriority(org.ofbiz.core.entity.GenericValue priority)
void setPriorityId(String priorityId)
void setResolution(org.ofbiz.core.entity.GenericValue resolution)
void setKey(String key)
void setVotes(Long votes)
void setCreated(Timestamp created)
void setUpdated(Timestamp updated)
void setWorkflowId(Long workflowId)
void setCustomFieldValue(CustomField customField, Object value)
OrderableField.updateIssue(com.atlassian.jira.issue.fields.layout.field.FieldLayoutItem, MutableIssue, java.util.Map)
void setStatus(org.ofbiz.core.entity.GenericValue status)
void setStatusId(String statusId)
void resetModifiedFields()
getModifiedFields()
void setOriginalEstimate(Long estimate)
void setTimeSpent(Long timespent)
void setEstimate(Long estimate)
void setExternalFieldValue(String fieldId, Object value)
void setParentId(Long parentId)
void setResolutionId(String resolutionId)
Map getModifiedFields()
resetModifiedFields()
call.
IssueFieldConstants
and objects are field-specific.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |