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, java.io.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 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)
           
 
Method Summary
 java.lang.String doChooseContext()
           
 java.lang.String doChooseStatus()
           
 java.lang.String doChooseSubTaskContext()
           
 java.lang.String doDetails()
           
 java.lang.String doPerform()
           
 java.lang.String doSetFields()
           
 java.lang.String doStart()
           
 BulkEditBean getBulkEditBean()
           
protected  BulkMigrateOperation getBulkMigrateOperation()
           
 IssueContext getCurrentIssueContext()
           
 BulkEditBean getCurrentRootBulkEditBean()
           
 MultiBulkMoveBean getMultiBulkMoveBean()
           
 java.lang.String getOperationDetailsActionName()
           
 java.lang.String getprojectFieldName(BulkEditBean bulkEditBean)
           
 java.lang.String getRedirect(java.lang.String defaultUrl)
          Get a definitive result with a redirect upon success.
 java.lang.String getSameAsBulkEditBean()
           
 void setSameAsBulkEditBean(java.lang.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
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, isFieldHidden, isTimeTrackingEnabled, setCurrentIssue, setSearchRequest, setSelectedIssueId, updateSearchRequest
 
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, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, forceRedirect, getApplicationProperties, getAssignableUsers, getAssignableUsers, getCachedGroups, getComponentManager, getConglomerateCookieValue, getDateFormat, getDateTimeFormat, getDescTranslation, getExternalLinkUtils, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getJiraServiceContext, getLanguage, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getPropertySet, getRandomHint, getRemoteUser, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getText, getTimeFormat, getUriValidator, getUserFullName, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasErrorMessage, hasErrorMessageByKey, htmlEncode, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, isInlineDialogMode, isSystemAdministrator, isUserExists, returnComplete, returnComplete, returnCompleteWithInlineRedirect, setConglomerateCookieValue, setInline, setReturnUrl, setSelectedProjectId
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getDefaultResourceBundle, getDelegator, getKeysForPrefix, getLocale, getResult, getText, getText, getText, getText, getText, getText, getText, getText, getText0, getUnescapedText, getUserPreferences, getWatcherManager, hasAnyErrors, isEnterprise, isIndexing, isProfessional, isProfessionalOrEnterprise, isStandard, removeKeyOrAddError
 
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, doExecute, doValidation, getCommandName, 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
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)
Method Detail

doDetails

public java.lang.String doDetails()
                           throws FieldLayoutStorageException
Overrides:
doDetails in class BulkMove
Throws:
FieldLayoutStorageException

doStart

public java.lang.String doStart()
                         throws java.lang.Exception
Throws:
java.lang.Exception

doChooseContext

public java.lang.String doChooseContext()
                                 throws java.lang.Exception
Throws:
java.lang.Exception

doChooseSubTaskContext

public java.lang.String doChooseSubTaskContext()
                                        throws java.lang.Exception
Throws:
java.lang.Exception

doChooseStatus

public java.lang.String doChooseStatus()
                                throws java.lang.Exception
Throws:
java.lang.Exception

doSetFields

public java.lang.String doSetFields()
                             throws java.lang.Exception
Throws:
java.lang.Exception

doPerform

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

getBulkEditBean

public BulkEditBean getBulkEditBean()
Overrides:
getBulkEditBean in class BulkMove

getMultiBulkMoveBean

public MultiBulkMoveBean getMultiBulkMoveBean()

getCurrentIssueContext

public IssueContext getCurrentIssueContext()

getCurrentRootBulkEditBean

public BulkEditBean getCurrentRootBulkEditBean()

getOperationDetailsActionName

public java.lang.String getOperationDetailsActionName()
Overrides:
getOperationDetailsActionName in class BulkMove

getprojectFieldName

public java.lang.String getprojectFieldName(BulkEditBean bulkEditBean)

getSameAsBulkEditBean

public java.lang.String getSameAsBulkEditBean()

setSameAsBulkEditBean

public void setSameAsBulkEditBean(java.lang.String sameAsBulkEditBean)

getBulkMigrateOperation

protected BulkMigrateOperation getBulkMigrateOperation()

getRedirect

public java.lang.String getRedirect(java.lang.String defaultUrl)
Description copied from class: JiraWebActionSupport
Get a definitive result with a redirect upon success.

Returns Action.ERROR if there are error messages, otherwise redirects to another URL if successful. If URL starts with '/', interpreted as context-relative

Since 3.1 now redirects to a the "returnUrl" if one exists. Will clear this value once this occurs

Overrides:
getRedirect in class JiraWebActionSupport
Parameters:
defaultUrl - default URL to redirect to
Returns:
URL to redirect to


Copyright © 2002-2010 Atlassian. All Rights Reserved.