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
 java.util.List getFieldsForEdit(com.opensymphony.user.User user, Issue issueObject)
           
 boolean isFieldValidForEdit(com.opensymphony.user.User user, java.lang.String fieldId, Issue issueObject)
           
 webwork.dispatcher.ActionResult updateIssue(MutableIssue issueObject, OperationContext operationContext, com.opensymphony.user.User user, ErrorCollection errors, I18nHelper i18n)
           
 void validate(Issue issueObject, OperationContext operationContext, java.util.Map actionParams, com.opensymphony.user.User user, ErrorCollection errors, I18nHelper i18n)
           
 

Method Detail

updateIssue

webwork.dispatcher.ActionResult updateIssue(MutableIssue issueObject,
                                            OperationContext operationContext,
                                            com.opensymphony.user.User user,
                                            ErrorCollection errors,
                                            I18nHelper i18n)
                                            throws java.lang.Exception
Throws:
java.lang.Exception

validate

void validate(Issue issueObject,
              OperationContext operationContext,
              java.util.Map actionParams,
              com.opensymphony.user.User user,
              ErrorCollection errors,
              I18nHelper i18n)

getFieldsForEdit

java.util.List getFieldsForEdit(com.opensymphony.user.User user,
                                Issue issueObject)

isFieldValidForEdit

boolean isFieldValidForEdit(com.opensymphony.user.User user,
                            java.lang.String fieldId,
                            Issue issueObject)


Copyright © 2002-2010 Atlassian. All Rights Reserved.