public class BulkMigrate extends BulkMove
JiraWebActionSupport.MessageType
I18nHelper.BeanFactory
ErrorCollection.Reason
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, log, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilters, SECURITY_BREACH_RESULT
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) |
Modifier and Type | Method and Description |
---|---|
String |
doChooseContext() |
String |
doChooseStatus() |
String |
doChooseSubTaskContext() |
String |
doDetails() |
String |
doPerform() |
String |
doSetFields() |
String |
doStart() |
BulkEditBean |
getBulkEditBean() |
protected BulkMigrateOperation |
getBulkMigrateOperation() |
IssueContext |
getCurrentIssueContext() |
BulkEditBean |
getCurrentRootBulkEditBean() |
String |
getIssueKeys(BulkEditBean bulkEditBean)
Supply a comma separated list of issue keys to parent issue selector.
|
String |
getIssueParentFieldName(BulkEditBean bulkEditBean) |
SuggestionBean |
getIssuepickerDataSuggestion(String currentIssueKey)
Prefills option (pretty formatted) in the view.
|
MultiBulkMoveBean |
getMultiBulkMoveBean() |
String |
getNameTranslation(IssueType issueType) |
String |
getOperationDetailsActionName() |
String |
getprojectFieldName(BulkEditBean bulkEditBean) |
String |
getRedirectUrl() |
String |
getSameAsBulkEditBean() |
Long |
getSingleIssueId() |
boolean |
isAllowProjectEdit(BulkEditBean bulkEditBean)
Determines if passed
BulkEditBean should be allowed to edit project. |
boolean |
isFieldCopiedFromParent(OrderableField orderableField,
BulkEditBean bulkEditBean)
Determines if the value of @orderableField for current @bulkEditBean is copied from new parent issue.
|
boolean |
isIssueToSubtask(BulkEditBean bulkEditBean)
Determines if passed
BulkEditBean represents conversion from issue to subtask. |
boolean |
isParentIssueInherited(BulkEditBean bulkEditBean)
Determines if parent issue is inherited from parent
BulkEditBean . |
boolean |
isParentSelectPresent(BulkEditBean bulkEditBean)
Determines if parent issue selector should be rendered.
|
boolean |
isSubtaskToIssue(BulkEditBean bulkEditBean)
Determines if passed
BulkEditBean represents conversion from subtask to issue. |
boolean |
isSubtaskToSubtask(BulkEditBean bulkEditBean)
Determines if passed
BulkEditBean represents conversion from subtask to subtask. |
void |
setSameAsBulkEditBean(String sameAsBulkEditBean) |
void |
setSingleIssueId(Long singleIssueId) |
doContextValidation, doDefault, doDetailsValidation, doFieldsValidation, doStatusValidation, getConstantsManager, getCurrentIssueType, getCurrentTargetPid, getCurrentTargetProject, getFieldHtml, getFieldHtml, getFieldHtml, getFieldName, getFieldViewHtml, getIssueObject, getMappingViewHtml, getMoveFieldLayoutItems, getNewViewHtml, getNewViewHtml, getStatusName, getSubstitutionsForField, getTargetWorkflowStatuses, getWorkflowForType, 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, getAttachmentManager, getCurrentDateTimeInUsersTimezone, 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, addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, addMessageToResponse, addReason, addReasons, checkIfUrlIsAllowed, execute, forceRedirect, getActionName, getAdministratorContactLink, getApplicationProperties, getAuthorizationSupport, getComponentInstanceOfType, getConglomerateCookieValue, getDateFormat, getDateTimeFormat, getDateTimeFormatter, getDefaultResourceBundle, getDescTranslation, getDescTranslation, getDmyDateFormatter, getEmptyResponse, getErrorMessages, getErrors, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getHttpRequest, getHttpResponse, getHttpSession, getI18nHelper, getJiraContactHelper, getJiraServiceContext, getKeysForPrefix, getLanguage, getLocale, getLoggedInApplicationUser, getLoggedInUser, getNameTranslation, getNameTranslation, getOfBizDelegator, getOutlookDate, getPermissionManager, getProjectManager, getRandomHint, getReasons, getRedirect, getRedirectSanitiser, getRequestSourceType, getResourceBundle, getResult, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getServletContext, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTimeFormat, getUnescapedText, getUntransformedRawText, getUriValidator, getUserFullName, getUserManager, getUserPreferences, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasAnyErrors, hasErrorMessage, hasErrorMessageByKey, hasGlobalPermission, hasGlobalPermission, hasIssuePermission, hasIssuePermission, hasIssuePermission, hasPermission, hasProjectPermission, hasProjectPermission, htmlEncode, insertContextPath, isAdministrator, isIndexing, isInlineDialogMode, isKeyDefined, isSystemAdministrator, isUserExists, isUserExistsByKey, isUserExistsByName, removeKeyOrAddError, returnComplete, returnComplete, returnCompleteWithInlineRedirect, returnCompleteWithInlineRedirectAndMsg, returnCompleteWithInlineRedirectAndMsg, returnMsgToUser, returnMsgToUser, setConglomerateCookieValue, setInline, setReasons, setReturnUrl, setSelectedProjectId, tagMauEventWithApplication, tagMauEventWithProject, urlEncode
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, 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 isParentSelectPresent(BulkEditBean bulkEditBean)
This method is used on choose context page to determine if parent issue selector should be rendered. It should be rendered always, except the step 2 of choose context when subtasks are handled since they inherit their parent issue from parent bulkEditBean
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.public boolean isSubtaskToSubtask(BulkEditBean bulkEditBean)
BulkEditBean
represents conversion from subtask to subtask.bulkEditBean
- Currently processed BulkEditBean
BulkEditBean
represents conversion from subtask to subtask, false otherwise.public boolean isAllowProjectEdit(BulkEditBean bulkEditBean)
BulkEditBean
should be allowed to edit project.
This should be disallowed for subtask of changed tasks (step2), but allowed for moved subtasks (step1).
isAllowProjectEdit
in class BulkMove
bulkEditBean
- Currently processed BulkEditBean
BulkEditBean
should be allowed to edit project, false otherwise.Copyright © 2002-2024 Atlassian. All Rights Reserved.