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

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
                                  extended by com.atlassian.jira.web.action.issue.bulkedit.BulkMigrate
All Implemented Interfaces:
ErrorCollection, I18nHelper, HttpServletVariables, AuthorizationSupport, Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware
Direct Known Subclasses:
MigrateIssueTypes

public class BulkMigrate
extends BulkMove

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
JiraWebActionSupport.MessageType
 
Nested classes/interfaces inherited from interface com.atlassian.jira.util.ErrorCollection
ErrorCollection.Reason
 
Nested classes/interfaces inherited from interface com.atlassian.jira.util.I18nHelper
I18nHelper.BeanFactory
 
Field Summary
protected  BulkMigrateOperation bulkMigrateOperation
           
 
Fields inherited from class com.atlassian.jira.web.action.issue.bulkedit.BulkMove
bulkMoveOperation, constantsManager, fieldManager, issueFactory, permissionManager, RADIO_ERROR_MSG, 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, RETURN_URL_PARAMETER, savedFilters
 
Fields inherited from class com.atlassian.jira.action.JiraActionSupport
log
 
Fields inherited from class webwork.action.ActionSupport
command, errorMap, errorMessages
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
BulkMigrate(SearchService searchService, BulkMoveOperation bulkMoveOperation, FieldManager fieldManager, WorkflowManager workflowManager, ConstantsManager constantsManager, IssueFactory issueFactory, BulkMigrateOperation bulkMigrateOperation, PermissionManager permissionManager, BulkEditBeanSessionHelper bulkEditBeanSessionHelper)
           
 
Method Summary
 String doChooseContext()
           
 String doChooseStatus()
           
 String doChooseSubTaskContext()
           
 String doDetails()
           
 String doPerform()
           
 String doSetFields()
           
 String doStart()
           
 BulkEditBean getBulkEditBean()
           
protected  BulkMigrateOperation getBulkMigrateOperation()
           
 IssueContext getCurrentIssueContext()
           
 BulkEditBean getCurrentRootBulkEditBean()
           
 MultiBulkMoveBean getMultiBulkMoveBean()
           
 String getOperationDetailsActionName()
           
 String getprojectFieldName(BulkEditBean bulkEditBean)
           
 String getRedirect(String defaultUrl)
          Redirects to the value of getReturnUrl(), falling back to defaultUrl if the returnUrl is not set.
 String getSameAsBulkEditBean()
           
 void setSameAsBulkEditBean(String sameAsBulkEditBean)
           
 
Methods inherited from class com.atlassian.jira.web.action.issue.bulkedit.BulkMove
doContextValidation, doDefault, doDetailsValidation, doFieldsValidation, doStatusValidation, getConstantsManager, getCurrentIssueType, getCurrentTargetPid, getCurrentTargetProject, getFieldHtml, getFieldHtml, getFieldHtml, getFieldName, getFieldViewHtml, getIssueObject, getMappingViewHtml, getMoveFieldLayoutItems, getNewViewHtml, getNewViewHtml, getStatusName, getSubstitutionsForField, getTargetWorkflowStatuses, getWorkflowForType, isAllowProjectEdit, isAllowProjectEdit, isAvailable, isFieldUsingSubstitutions, isHasAvailableActions, isIssueTypesAvailable, isRetainMandatory, isSubTaskPhase, isSubTaskTypesAvailable, populateFromParams, progressToLastStep, redirectToStart, setSubTaskPhase
 
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
addIssueToHistory, clearSelectedIssue, getAttachmentManager, getCurrentFailedLoginCount, getCurrentJQL, getCustomFieldManager, getDaysPerWeek, getEverLoggedIn, getHoursPerDay, getIssueManager, getLastFailedLogin, getLastLogin, getLoginCount, getPossibleVersions, getPossibleVersionsReleasedFirst, getPrettyDuration, getPreviousLogin, getSearchRequest, getSelectedIssueId, getSessionPagerFilterManager, getSessionSearchRequestManager, getSessionSearchRequestManagerFactory, getSessionSelectedIssueManager, getTotalFailedLoginCount, getUrlEncoded, getWorkflow, getWorkflowTransitionDescription, getWorkflowTransitionDisplayName, isCustomFieldHidden, isElevatedSecurityCheckRequired, isFieldHidden, isFieldHidden, isTimeTrackingEnabled, setSearchRequest, setSelectedIssueId, updateSearchRequest
 
Methods inherited from class com.atlassian.jira.web.action.ProjectActionSupport
getBrowsableProjects, getBrowseableProjects, getSelectedProjectId, setSelectedProject, setSelectedProject
 
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
addError, addErrorCollection, addErrorMessage, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, addMessageToResponse, addReason, addReasons, forceRedirect, getAdministratorContactLink, getApplicationProperties, getAuthorizationSupport, getConglomerateCookieValue, getDateFormat, getDateTimeFormat, getDateTimeFormatter, getDescTranslation, getDmyDateFormatter, getEmptyResponse, getErrorMessages, getErrors, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getHttpRequest, getHttpResponse, getHttpSession, getJiraContactHelper, getJiraServiceContext, getLanguage, getLoggedInApplicationUser, getLoggedInUser, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getRandomHint, getReasons, getRedirect, getRedirectSanitiser, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getServletContext, getTimeFormat, getUriValidator, getUserFullName, getUserManager, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasErrorMessage, hasErrorMessageByKey, hasIssuePermission, hasPermission, hasProjectPermission, htmlEncode, insertContextPath, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, isInlineDialogMode, isSystemAdministrator, isUserExists, isUserExistsByKey, isUserExistsByName, returnComplete, returnComplete, returnCompleteWithInlineRedirect, returnCompleteWithInlineRedirectAndMsg, returnCompleteWithInlineRedirectAndMsg, returnMsgToUser, returnMsgToUser, setConglomerateCookieValue, setInline, setReasons, setReturnUrl, setSelectedProjectId, urlEncode
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getComponentInstanceOfType, getDefaultResourceBundle, getDelegator, getI18nHelper, getKeysForPrefix, getLocale, getOfBizDelegator, getRemoteUser, getResourceBundle, getResult, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getUnescapedText, getUntransformedRawText, getUserPreferences, getWatcherManager, hasAnyErrors, isIndexing, isKeyDefined, removeKeyOrAddError
 
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, doExecute, doValidation, getCommandName, 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, hasAnyErrors, setErrorMessages
 
Methods inherited from interface webwork.action.CommandDriven
getCommandName, setCommand
 

Field Detail

bulkMigrateOperation

protected final BulkMigrateOperation bulkMigrateOperation
Constructor Detail

BulkMigrate

public BulkMigrate(SearchService searchService,
                   BulkMoveOperation bulkMoveOperation,
                   FieldManager fieldManager,
                   WorkflowManager workflowManager,
                   ConstantsManager constantsManager,
                   IssueFactory issueFactory,
                   BulkMigrateOperation bulkMigrateOperation,
                   PermissionManager permissionManager,
                   BulkEditBeanSessionHelper bulkEditBeanSessionHelper)
Method Detail

doDetails

public String doDetails()
Overrides:
doDetails in class BulkMove

doStart

public String doStart()
               throws Exception
Throws:
Exception

doChooseContext

public String doChooseContext()
                       throws Exception
Throws:
Exception

doChooseSubTaskContext

public String doChooseSubTaskContext()
                              throws Exception
Throws:
Exception

doChooseStatus

public String doChooseStatus()
                      throws Exception
Throws:
Exception

doSetFields

public String doSetFields()
                   throws Exception
Throws:
Exception

doPerform

public String doPerform()
                 throws Exception
Overrides:
doPerform in class BulkMove
Throws:
Exception

getBulkEditBean

public BulkEditBean getBulkEditBean()
Overrides:
getBulkEditBean in class BulkMove

getMultiBulkMoveBean

public MultiBulkMoveBean getMultiBulkMoveBean()

getCurrentIssueContext

public IssueContext getCurrentIssueContext()

getCurrentRootBulkEditBean

public BulkEditBean getCurrentRootBulkEditBean()

getOperationDetailsActionName

public String getOperationDetailsActionName()
Overrides:
getOperationDetailsActionName in class BulkMove

getprojectFieldName

public String getprojectFieldName(BulkEditBean bulkEditBean)

getSameAsBulkEditBean

public String getSameAsBulkEditBean()

setSameAsBulkEditBean

public void setSameAsBulkEditBean(String sameAsBulkEditBean)

getBulkMigrateOperation

protected BulkMigrateOperation getBulkMigrateOperation()

getRedirect

public String getRedirect(String defaultUrl)
Description copied from class: JiraWebActionSupport
Redirects to the value of getReturnUrl(), falling back to defaultUrl if the returnUrl is not set. This method clears the returnUrl. If there are errors, this method returns "ERROR".

If the URL starts with '/' it is interpreted as context-relative.

Off-site redirects

Starting from JIRA 6.0, this method will not redirect to a URL that is considered "unsafe" as per RedirectSanitiser.makeSafeRedirectUrl(String). Use JiraWebActionSupport.getRedirect(String, boolean) to allow unsafe redirects for URLs that do not contain possibly malicious user input.

Overrides:
getRedirect in class JiraWebActionSupport
Parameters:
defaultUrl - default URL to redirect to
Returns:
URL to redirect to
See Also:
JiraWebActionSupport.getRedirect(String, boolean)


Copyright © 2002-2014 Atlassian. All Rights Reserved.