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,
OperationContext operationContext,
User user,
ErrorCollection errors,
I18nHelper i18n)
|
void |
validate(Issue issueObject,
OperationContext operationContext,
Map actionParams,
User user,
ErrorCollection errors,
I18nHelper i18n)
|
updateIssue
webwork.dispatcher.ActionResult updateIssue(MutableIssue issueObject,
OperationContext operationContext,
User user,
ErrorCollection errors,
I18nHelper i18n)
throws Exception
- Throws:
Exception
validate
void validate(Issue issueObject,
OperationContext operationContext,
Map actionParams,
User user,
ErrorCollection errors,
I18nHelper i18n)
getFieldsForEdit
List getFieldsForEdit(User user,
Issue issueObject)
isFieldValidForEdit
boolean isFieldValidForEdit(User user,
String fieldId,
Issue issueObject)
Copyright © 2002-2009 Atlassian. All Rights Reserved.