com.atlassian.jira.web.action.issue
Interface UpdateFieldsHelperBean
- All Known Implementing Classes:
- UpdateFieldsHelperBeanImpl
- public interface UpdateFieldsHelperBean
Bean to helpe with updating issues only for the fields in the action params. That is, no attempt is made to update
fields that are not explicitly passed in the action params map. This way, you can use this bean to update a single, or
a small numbe of fields without having to recreate the entire object.
Method Summary |
List |
getFieldsForEdit(User user,
Issue issueObject)
|
boolean |
isFieldValidForEdit(User user,
String fieldId,
Issue issueObject)
|
webwork.dispatcher.ActionResult |
updateIssue(MutableIssue issueObject,
Map actionParams,
User user,
ErrorCollection errors,
I18nHelper i18n)
|
void |
validate(Issue issueObject,
Map actionParams,
User user,
ErrorCollection errors,
I18nHelper i18n)
|
updateIssue
public webwork.dispatcher.ActionResult updateIssue(MutableIssue issueObject,
Map actionParams,
User user,
ErrorCollection errors,
I18nHelper i18n)
throws Exception
- Throws:
Exception
validate
public void validate(Issue issueObject,
Map actionParams,
User user,
ErrorCollection errors,
I18nHelper i18n)
getFieldsForEdit
public List getFieldsForEdit(User user,
Issue issueObject)
isFieldValidForEdit
public boolean isFieldValidForEdit(User user,
String fieldId,
Issue issueObject)
Copyright © 2002-2006 Atlassian. All Rights Reserved.