com.atlassian.jira.web.action.issue.bulkedit
Class BulkMigrate
java.lang.Object
webwork.action.ActionSupport
com.atlassian.jira.action.JiraActionSupport
com.atlassian.jira.web.action.JiraWebActionSupport
com.atlassian.jira.web.action.ProjectActionSupport
com.atlassian.jira.web.action.IssueActionSupport
com.atlassian.jira.web.action.issue.bulkedit.AbstractBulkOperationAction
com.atlassian.jira.web.action.issue.bulkedit.AbstractBulkOperationDetailsAction
com.atlassian.jira.web.action.issue.bulkedit.BulkMove
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
Fields inherited from class webwork.action.ActionSupport |
command, errorMap, errorMessages |
Fields inherited from interface webwork.action.Action |
ERROR, INPUT, LOGIN, NONE, SUCCESS |
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.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.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 webwork.action.CommandDriven |
getCommandName, setCommand |
bulkMigrateOperation
protected final BulkMigrateOperation bulkMigrateOperation
BulkMigrate
public BulkMigrate(SearchService searchService,
BulkMoveOperation bulkMoveOperation,
FieldManager fieldManager,
WorkflowManager workflowManager,
ConstantsManager constantsManager,
IssueFactory issueFactory,
BulkMigrateOperation bulkMigrateOperation,
PermissionManager permissionManager,
BulkEditBeanSessionHelper bulkEditBeanSessionHelper)
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.