com.atlassian.jira.web.action.issue.bulkedit
Class BulkEdit

java.lang.Object
  extended by webwork.action.ActionSupport
      extended by com.atlassian.jira.action.JiraActionSupport
          extended by com.atlassian.jira.web.action.JiraWebActionSupport
              extended by com.atlassian.jira.web.action.ProjectActionSupport
                  extended by com.atlassian.jira.web.action.IssueActionSupport
                      extended by com.atlassian.jira.web.action.issue.bulkedit.AbstractBulkOperationAction
                          extended by com.atlassian.jira.web.action.issue.bulkedit.AbstractBulkOperationDetailsAction
                              extended by com.atlassian.jira.web.action.issue.bulkedit.BulkEdit
All Implemented Interfaces:
ErrorCollection, I18nHelper, Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware

public class BulkEdit
extends AbstractBulkOperationDetailsAction

See Also:
Serialized Form

Field Summary
static String RADIO_ERROR_MSG
           
 
Fields inherited from class com.atlassian.jira.web.action.IssueActionSupport
attachmentManager
 
Fields inherited from class com.atlassian.jira.web.action.ProjectActionSupport
projectManager
 
Fields inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, savedFilters, selectedProject
 
Fields inherited from class com.atlassian.jira.action.JiraActionSupport
log
 
Fields inherited from class webwork.action.ActionSupport
command, errorMap, errorMessages
 
Fields inherited from interface com.atlassian.jira.util.I18nHelper
DEFAULT_RESOURCE_BUNDLE
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
BulkEdit(BulkOperationManager bulkOperationManager, FieldManager fieldManager, IssueFactory issueFactory, PermissionManager permissionManager)
           
 
Method Summary
protected  FieldScreenRenderLayoutItem buildFieldScreenRenderLayoutItem(OrderableField field, org.ofbiz.core.entity.GenericValue issue)
           
 String doDefault()
           
 String doDetails()
           
 String doDetailsValidation()
           
 String doPerform()
           
 String[] getActions()
           
 Collection getCustomFields()
           
 Map getEditActions()
          Returns a list of bulk actions If search request was performed on "All Projects" (ie.
 String getFieldHtml(String fieldId)
           
 String getFieldViewHtml(OrderableField orderableField)
           
 Collection getHiddenActions()
          Returns a list of bulk actions which are hidden/unavailable
protected  Issue getIssueObject(org.ofbiz.core.entity.GenericValue issueGV)
           
 String getOperationDetailsActionName()
           
 Collection getVisibleActions()
          Returns a list of bulk actions which are visible/available
 boolean isAvailable(String action)
           
 boolean isChecked(String value)
           
 boolean isHasAvailableActions()
           
 boolean isHasFirstElement(List actions)
           
 void setActions(String[] actions)
           
 void setCurrentStep(int step)
           
 
Methods inherited from class com.atlassian.jira.web.action.issue.bulkedit.AbstractBulkOperationAction
clearBulkEditBean, finishWizard, getBulkEditBean, getColumns, getIssueTableLayoutBean, getRootBulkEditBean, isCanDisableMailNotifications, isSendBulkNotification, redirectToStart, setSendBulkNotification
 
Methods inherited from class com.atlassian.jira.web.action.IssueActionSupport
getAttachmentManager, getCustomFieldManager, getDaysPerWeek, getHoursPerDay, getIssueManager, getPossibleVersions, getPossibleVersionsReleasedFirst, getPrettyDuration, getSearchRequest, getUrlEncoded, getWorkflow, getWorkflowTransitionDescription, getWorkflowTransitionDisplayName, isCustomFieldHidden, isFieldHidden, isFieldHidden, isFieldHidden, setCurrentIssue
 
Methods inherited from class com.atlassian.jira.web.action.ProjectActionSupport
getBrowseableProjects, getBrowseableProjectsInCategory, getSelectedProjectId, setSelectedProject, setSelectedProject
 
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
addErrorCollection, forceRedirect, getAssignableUsers, getAssignableUsers, getCachedGroups, getComponentManager, getConstantsManager, getDateFormat, getDateTimeFormat, getDescTranslation, getExternalLinkUtils, getField, getFlushedErrorMessages, getGlobalPermissionManager, getJiraServiceContext, getLanguage, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getPropertySet, getRedirect, getRemoteUser, getReturnUrl, getSavedFilters, getSelectedProject, getSelectedProjectObject, getServerId, getText, getTimeFormat, getUserFullName, getVersionManager, getWebworkStack, getWebworkStack, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, isSystemAdministrator, isUserExists, setReturnUrl, setSelectedProjectId
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getApplicationProperties, getDefaultResourceBundle, getDelegator, getJiraLocaleUtils, getLocale, getResult, getText, getText, getText, getText, getText, getUnescapedText, getUserPreferences, getWatcherManager, hasAnyErrors, isEnterprise, isIndexing, isProfessional, isProfessionalOrEnterprise, isStandard, removeKeyOrAddError
 
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, doExecute, doValidation, getErrorMessages, getErrors, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, getTimezone, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.util.ErrorCollection
addError, addErrorMessage, addErrorMessages, addErrors, getErrorMessages, getErrors, hasAnyErrors, setErrorMessages
 
Methods inherited from interface webwork.action.CommandDriven
setCommand
 

Field Detail

RADIO_ERROR_MSG

public static final String RADIO_ERROR_MSG
See Also:
Constant Field Values
Constructor Detail

BulkEdit

public BulkEdit(BulkOperationManager bulkOperationManager,
                FieldManager fieldManager,
                IssueFactory issueFactory,
                PermissionManager permissionManager)
Method Detail

getFieldHtml

public String getFieldHtml(String fieldId)
                    throws Exception
Throws:
Exception

getFieldViewHtml

public String getFieldViewHtml(OrderableField orderableField)

getIssueObject

protected Issue getIssueObject(org.ofbiz.core.entity.GenericValue issueGV)

buildFieldScreenRenderLayoutItem

protected FieldScreenRenderLayoutItem buildFieldScreenRenderLayoutItem(OrderableField field,
                                                                       org.ofbiz.core.entity.GenericValue issue)

doDetails

public String doDetails()
Specified by:
doDetails in class AbstractBulkOperationDetailsAction

doDetailsValidation

public String doDetailsValidation()
                           throws Exception
Specified by:
doDetailsValidation in class AbstractBulkOperationDetailsAction
Throws:
Exception

doPerform

public String doPerform()
                 throws Exception
Specified by:
doPerform in class AbstractBulkOperationDetailsAction
Throws:
Exception

doDefault

public String doDefault()
                 throws Exception
Overrides:
doDefault in class webwork.action.ActionSupport
Throws:
Exception

isHasAvailableActions

public boolean isHasAvailableActions()
                              throws Exception
Throws:
Exception

getEditActions

public Map getEditActions()
Returns a list of bulk actions If search request was performed on "All Projects" (ie. multiple projects) certain actions such as fixfor will not be displayed, as fixfor versions obviously differ across projects.

If no issues have been selected then no actions should be shown


getVisibleActions

public Collection getVisibleActions()
Returns a list of bulk actions which are visible/available


getHiddenActions

public Collection getHiddenActions()
Returns a list of bulk actions which are hidden/unavailable


isAvailable

public boolean isAvailable(String action)
                    throws Exception
Throws:
Exception

getCustomFields

public Collection getCustomFields()

isHasFirstElement

public boolean isHasFirstElement(List actions)

setCurrentStep

public void setCurrentStep(int step)

getActions

public String[] getActions()

setActions

public void setActions(String[] actions)

getOperationDetailsActionName

public String getOperationDetailsActionName()

isChecked

public boolean isChecked(String value)


Copyright © 2002-2007 Atlassian. All Rights Reserved.