public class BulkMigrate extends BulkMove
JiraWebActionSupport.MessageType
ErrorCollection.Reason
I18nHelper.BeanFactory
Modifier and Type | Field and Description |
---|---|
protected BulkMigrateOperation |
bulkMigrateOperation |
protected IssueService |
issueService |
protected com.atlassian.webresource.api.assembler.PageBuilderService |
pageBuilderService |
bulkMoveOperation, constantsManager, fieldManager, issueFactory, permissionManager, workflowManager
attachmentManager
projectManager
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilters
log
Constructor and Description |
---|
BulkMigrate(SearchService searchService,
BulkMoveOperation bulkMoveOperation,
FieldManager fieldManager,
WorkflowManager workflowManager,
ConstantsManager constantsManager,
IssueFactory issueFactory,
BulkMigrateOperation bulkMigrateOperation,
PermissionManager permissionManager,
BulkEditBeanSessionHelper bulkEditBeanSessionHelper,
TaskManager taskManager,
I18nHelper i18nHelper,
com.atlassian.webresource.api.assembler.PageBuilderService pageBuilderService,
IssueService issueService) |
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, setSubTaskPhase
submitBulkOperationTask
clearBulkEditBean, finishWizard, getColumns, getIssueTableLayoutBean, getRedirect, getRootBulkEditBean, isCanDisableMailNotifications, isSendBulkNotification, redirectToStart, setSendBulkNotification, storeBulkEditBean, storeReturnUrl, watchProgress
addIssueToHistory, clearSelectedIssue, getAttachmentManager, getCurrentFailedLoginCount, getCurrentJQL, getCustomFieldManager, getDaysPerWeek, getEverLoggedIn, getFormToken, 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, setFormToken, setSearchRequest, setSelectedIssueId, updateSearchRequest
getBrowsableProjects, getSelectedProjectId, setSelectedProject, setSelectedProject
addError, addErrorCollection, addErrorMessage, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, addMessageToResponse, addReason, addReasons, forceRedirect, getAdministratorContactLink, getApplicationProperties, getAuthorizationSupport, getConglomerateCookieValue, getDateFormat, getDateTimeFormat, getDateTimeFormatter, getDescTranslation, getDescTranslation, getDmyDateFormatter, getEmptyResponse, getErrorMessages, getErrors, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getHttpRequest, getHttpResponse, getHttpSession, getJiraContactHelper, getJiraServiceContext, getLanguage, getLoggedInApplicationUser, getLoggedInUser, getNameTranslation, 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, hasGlobalPermission, hasGlobalPermission, hasIssuePermission, hasIssuePermission, hasIssuePermission, hasPermission, hasProjectPermission, hasProjectPermission, htmlEncode, insertContextPath, isInlineDialogMode, isSystemAdministrator, isUserExists, isUserExistsByKey, isUserExistsByName, returnComplete, returnComplete, returnCompleteWithInlineRedirect, returnCompleteWithInlineRedirectAndMsg, returnCompleteWithInlineRedirectAndMsg, returnMsgToUser, returnMsgToUser, setConglomerateCookieValue, setInline, setReasons, setReturnUrl, setSelectedProjectId, tagMauEventWithApplication, tagMauEventWithProject, urlEncode
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getComponentInstanceOfType, getDefaultResourceBundle, getI18nHelper, getKeysForPrefix, getLocale, getOfBizDelegator, getResourceBundle, getResult, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getUnescapedText, getUntransformedRawText, getUserPreferences, hasAnyErrors, isIndexing, isKeyDefined, removeKeyOrAddError
addError, addErrorMessage, doExecute, doValidation, getCommandName, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, getTimezone, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addError, addErrorMessage, addErrorMessages, addErrors, hasAnyErrors, setErrorMessages
protected final BulkMigrateOperation bulkMigrateOperation
protected final com.atlassian.webresource.api.assembler.PageBuilderService pageBuilderService
protected final IssueService issueService
public BulkMigrate(SearchService searchService, BulkMoveOperation bulkMoveOperation, FieldManager fieldManager, WorkflowManager workflowManager, ConstantsManager constantsManager, IssueFactory issueFactory, BulkMigrateOperation bulkMigrateOperation, PermissionManager permissionManager, BulkEditBeanSessionHelper bulkEditBeanSessionHelper, TaskManager taskManager, I18nHelper i18nHelper, com.atlassian.webresource.api.assembler.PageBuilderService pageBuilderService, IssueService issueService)
public BulkEditBean getBulkEditBean()
getBulkEditBean
in class BulkMove
public MultiBulkMoveBean getMultiBulkMoveBean()
public IssueContext getCurrentIssueContext()
public BulkEditBean getCurrentRootBulkEditBean()
public String getOperationDetailsActionName()
getOperationDetailsActionName
in class BulkMove
public String getprojectFieldName(BulkEditBean bulkEditBean)
public String getIssueParentFieldName(BulkEditBean bulkEditBean)
public String getSameAsBulkEditBean()
public void setSameAsBulkEditBean(String sameAsBulkEditBean)
protected BulkMigrateOperation getBulkMigrateOperation()
public String getRedirectUrl() throws Exception
getRedirectUrl
in class AbstractBulkOperationAction
Exception
public Long getSingleIssueId()
public void setSingleIssueId(Long singleIssueId)
public SuggestionBean getIssuepickerDataSuggestion(String currentIssueKey)
Prefills option (pretty formatted) in the view so that after sending form with error currently selected item is pretty formatted.
currentIssueKey
- Currently entered parent issue keySuggestionBean
used to format option in select tagpublic boolean isParentIssueInherited(BulkEditBean bulkEditBean)
BulkEditBean
.
Parent issue is inherited from parent BulkEditBean
when
subtasks are processed and parent of processed subtasks is moved to subtask.
bulkEditBean
- Currently processed BulkEditBean
BulkEditBean
, otherwise falsepublic boolean isIssueToSubtaskPossible(BulkEditBean bulkEditBean)
This method is used on choose context page to determine if parent issue selector should be rendered. It should be rendered when we are not moving subtasks, since subtasks have Project selector locked and parent issue inherited from their parent so You can't choose new parent there.
bulkEditBean
- Currently processed BulkEditBean
public String getIssueKeys(BulkEditBean bulkEditBean)
bulkEditBean
- Should be rootBulkEditBean because we need ass currently processing issuespublic boolean isFieldCopiedFromParent(OrderableField orderableField, BulkEditBean bulkEditBean)
orderableField
- Field in questionbulkEditBean
- Currently processed BulkEditBean
public boolean isSubtaskToIssue(BulkEditBean bulkEditBean)
BulkEditBean
represents conversion from subtask to issue.bulkEditBean
- Currently processed BulkEditBean
BulkEditBean
represents conversion from subtask to issue, false otherwise.public boolean isIssueToSubtask(BulkEditBean bulkEditBean)
BulkEditBean
represents conversion from issue to subtask.bulkEditBean
- Currently processed BulkEditBean
BulkEditBean
represents conversion from issue to subtask, false otherwise.Copyright © 2002-2015 Atlassian. All Rights Reserved.