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

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.BulkMove
All Implemented Interfaces:
ErrorCollection, I18nHelper, Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware
Direct Known Subclasses:
BulkMigrate

public class BulkMove
extends AbstractBulkOperationDetailsAction

See Also:
Serialized Form

Field Summary
protected  BulkMoveOperation bulkMoveOperation
           
protected  ConstantsManager constantsManager
           
protected  FieldManager fieldManager
           
protected  IssueFactory issueFactory
           
protected  PermissionManager permissionManager
           
static String RADIO_ERROR_MSG
           
protected  WorkflowManager workflowManager
           
 
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
BulkMove(BulkMoveOperation bulkMoveOperation, FieldManager fieldManager, WorkflowManager workflowManager, ConstantsManager constantsManager, IssueFactory issueFactory, PermissionManager permissionManager)
           
 
Method Summary
 String doContextValidation()
           
 String doDefault()
           
 String doDetails()
           
 String doDetailsValidation()
           
 String doFieldsValidation()
           
 String doPerform()
           
 String doStatusValidation()
           
 BulkEditBean getBulkEditBean()
           
 ConstantsManager getConstantsManager()
           
 String getCurrentIssueType()
           
 String getCurrentTargetPid()
           
 org.ofbiz.core.entity.GenericValue getCurrentTargetProject()
           
 String getFieldHtml(FieldLayoutItem fieldLayoutItem)
          Used when displaying the fields to be edited during the bulk move operation
 String getFieldHtml(String fieldId)
           
 String getFieldHtml(String fieldId, BulkEditBean bulkEditBean)
          Only invoked when displaying the Project and Issue type as part of the bulk move operation
 String getFieldName(Field field)
           
 String getFieldViewHtml(OrderableField orderableField)
           
protected  MutableIssue getIssueObject(org.ofbiz.core.entity.GenericValue issueGV)
           
 Collection getMoveFieldLayoutItems()
           
 String getNewViewHtml(BulkEditBean bulkEditBean, OrderableField field)
           
 String getNewViewHtml(OrderableField field)
           
 String getOperationDetailsActionName()
           
 String getStatusName(String id)
           
 Collection getTargetWorkflowStatuses(String issueTypeId)
           
 JiraWorkflow getWorkflowForType(Long projectId, String issueTypeId)
           
 boolean isAllowProjectEdit()
           
 boolean isAllowProjectEdit(BulkEditBean bulkEditBean)
           
 boolean isAvailable(String action)
           
 boolean isHasAvailableActions()
           
 boolean isIssueTypesAvailable()
           
 boolean isSubTaskPhase()
           
 boolean isSubTaskTypesAvailable()
           
protected  void populateFromParams(OrderableField orderableField)
           
protected  void progressToLastStep()
           
protected  String redirectToStart()
           
 void setSubTaskPhase(boolean subTaskPhase)
           
 
Methods inherited from class com.atlassian.jira.web.action.issue.bulkedit.AbstractBulkOperationAction
clearBulkEditBean, finishWizard, 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
 
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
addErrorCollection, forceRedirect, getAssignableUsers, getAssignableUsers, getCachedGroups, getCalendarTranslationFilenameForLanguage, getComponentManager, getDateFormat, getDateTimeFormat, getDescTranslation, getExternalLinkUtils, getField, getFlushedErrorMessages, getJiraServiceContext, getLanguage, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getPropertySet, getRedirect, getRemoteUser, getReturnUrl, getSavedFilters, getSelectedProject, getServerId, getText, getTimeFormat, getUserFullName, getVersionManager, getWebworkStack, getWebworkStack, isHasCalendarTranslationForLanguage, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, 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

bulkMoveOperation

protected BulkMoveOperation bulkMoveOperation

fieldManager

protected final FieldManager fieldManager

workflowManager

protected final WorkflowManager workflowManager

constantsManager

protected final ConstantsManager constantsManager

issueFactory

protected final IssueFactory issueFactory

permissionManager

protected final PermissionManager permissionManager
Constructor Detail

BulkMove

public BulkMove(BulkMoveOperation bulkMoveOperation,
                FieldManager fieldManager,
                WorkflowManager workflowManager,
                ConstantsManager constantsManager,
                IssueFactory issueFactory,
                PermissionManager permissionManager)
Method Detail

doDefault

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

doDetails

public String doDetails()
                 throws FieldLayoutStorageException
Specified by:
doDetails in class AbstractBulkOperationDetailsAction
Throws:
FieldLayoutStorageException

doPerform

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

doDetailsValidation

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

isHasAvailableActions

public boolean isHasAvailableActions()
                              throws Exception
Throws:
Exception

doContextValidation

public String doContextValidation()
                           throws Exception
Throws:
Exception

doStatusValidation

public String doStatusValidation()
                          throws Exception
Throws:
Exception

doFieldsValidation

public String doFieldsValidation()
                          throws Exception
Throws:
Exception

getFieldHtml

public String getFieldHtml(String fieldId,
                           BulkEditBean bulkEditBean)
Only invoked when displaying the Project and Issue type as part of the bulk move operation


getFieldHtml

public String getFieldHtml(String fieldId)

getFieldHtml

public String getFieldHtml(FieldLayoutItem fieldLayoutItem)
Used when displaying the fields to be edited during the bulk move operation


isIssueTypesAvailable

public boolean isIssueTypesAvailable()

isSubTaskTypesAvailable

public boolean isSubTaskTypesAvailable()

getFieldViewHtml

public String getFieldViewHtml(OrderableField orderableField)

getMoveFieldLayoutItems

public Collection getMoveFieldLayoutItems()

getFieldName

public String getFieldName(Field field)

getNewViewHtml

public String getNewViewHtml(OrderableField field)

getNewViewHtml

public String getNewViewHtml(BulkEditBean bulkEditBean,
                             OrderableField field)

isAvailable

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

isAllowProjectEdit

public boolean isAllowProjectEdit()

isAllowProjectEdit

public boolean isAllowProjectEdit(BulkEditBean bulkEditBean)

getOperationDetailsActionName

public String getOperationDetailsActionName()

populateFromParams

protected void populateFromParams(OrderableField orderableField)

getTargetWorkflowStatuses

public Collection getTargetWorkflowStatuses(String issueTypeId)
                                     throws WorkflowException
Throws:
WorkflowException

getWorkflowForType

public JiraWorkflow getWorkflowForType(Long projectId,
                                       String issueTypeId)
                                throws WorkflowException
Throws:
WorkflowException

getStatusName

public String getStatusName(String id)

getCurrentTargetPid

public String getCurrentTargetPid()

getCurrentTargetProject

public org.ofbiz.core.entity.GenericValue getCurrentTargetProject()

progressToLastStep

protected void progressToLastStep()

getIssueObject

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

getConstantsManager

public ConstantsManager getConstantsManager()
Overrides:
getConstantsManager in class JiraWebActionSupport

getCurrentIssueType

public String getCurrentIssueType()

redirectToStart

protected String redirectToStart()

isSubTaskPhase

public boolean isSubTaskPhase()

setSubTaskPhase

public void setSubTaskPhase(boolean subTaskPhase)

getBulkEditBean

public BulkEditBean getBulkEditBean()
Overrides:
getBulkEditBean in class AbstractBulkOperationAction


Copyright © 2002-2007 Atlassian. All Rights Reserved.