public class MoveSubTaskChooseOperation extends MoveIssue
JiraWebActionSupport.MessageTypeI18nHelper.BeanFactoryErrorCollection.ReasonconstantsManager, fieldLayoutManager, fieldManager, issueFactory, SUBTASK_STATUS_PREFIX, workflowManageruserUtilid, ISSUE_PERMISSION_ERROR, PREPOPULATED_ISSUE_OBJECTattachmentManagerprojectManagerISSUE_NOT_FOUND_RESULT, log, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilters, SECURITY_BREACH_RESULT| Constructor and Description |
|---|
MoveSubTaskChooseOperation(SubTaskManager subTaskManager,
ConstantsManager constantsManager,
WorkflowManager workflowManager,
FieldManager fieldManager,
FieldLayoutManager fieldLayoutManager,
IssueFactory issueFactory,
FieldScreenRendererFactory fieldScreenRendererFactory,
MoveSubTaskOperationManager moveSubTaskOperationManager,
CommentService commentService,
UserUtil userUtil,
UserManager userManager) |
| Modifier and Type | Method and Description |
|---|---|
String |
doDefault()
Handles the initial request to move an issue.
|
protected String |
doExecute()
Handles the request to submit the input from the first step of the wizard, the submitted information is the target
project and the target issue type.
|
protected void |
doValidation() |
String |
getCannotPerformMessageKey(MoveSubTaskOperation moveSubTaskOperation)
Get the i18n key for why this operation can not be performed
|
Collection |
getMoveSubTaskOperations() |
String |
getOperation() |
boolean |
isCanPerform(MoveSubTaskOperation moveSubTaskOperation) |
boolean |
isHasAvailableOperations() |
void |
setCurrentStep(int step) |
void |
setOperation(String operation) |
getAllowedProjects, getBeanTargetStatusId, getConstantsManager, getCurrentIssueType, getCurrentStatus, getCurrentStatusObject, getCurrentWorkflow, getFieldHtml, getFieldLayoutManager, getFieldManager, getIssueObject, getMoveIssueBean, getPrefixIssueTypeId, getPrefixTaskStatusId, getSubTasks, getSubtaskTargetIssueType, getSubTaskTargetStatus, getSubTaskTypesUsed, getTargetIssueType, getTargetIssueTypeObject, getTargetPid, getTargetProjectObj, getTargetStatusId, getTargetWorkflow, getTargetWorkflowStatuses, getTaskInvalidStatuses, getTaskInvalidStatusObjects, getTasksWithStatus, getViewHtmlParams, getWorkflowForType, getWorkflowManager, isHasSubTasks, isIssueStatusValid, isStatusChangeRequired, isSubTask, isTaskStatusChangeRequired, isTaskStatusValid, isWorkflowMatch, redirectToSessionTimeoutPage, setBeanTargetStatusId, validateAttachmentMove, validateCreateIssueassigneeChanged, getAssignee, getAssignIn, hasAssigneePermission, setAssigneecreateComment, doCommentValidation, getComment, getCommentLevel, getDisplayParams, getFieldScreenRendererLayoutItemForField, getFieldScreenRendererWithAllFields, getFieldValuesHolder, getGroupLevel, getGroupLevels, getIssueOperation, getOrderableField, getRoleLevels, populateAttachmentsFieldValuesHolderAndValidate, populateCommentFields, processAttachments, processAttachments, requireAttachmentsResources, setComment, setCommentLevel, setFieldValuesHolder, setGroupLevelgetAttachments, getPossibleComponents, getPossibleVersions, getPossibleVersionsReleasedFirstaddErrorMessage, assertIssueIsValid, cameFromIssue, cameFromParent, getId, getIssue, getIssueObject, getIssueObjectWithoutDatabaseRead, getIssuePath, getKey, getLayoutBean, getMutableIssue, getParentIssueObject, getProject, getProjectObject, getSecurityLevel, getSubTaskManager, getSummaryIssue, getViewIssueKey, getViewUrl, isEditable, isEditable, isHasEditIssuePermission, isIssueExists, isIssueValid, isSubTaskCreatable, isWorkflowAllowsEdit, redirectToView, refreshIssueObject, setId, setIssueObject, setKey, setViewIssueKeyaddIssueToHistory, 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, updateSearchRequestgetBrowsableProjects, getSelectedProjectId, setSelectedProject, setSelectedProjectaddError, 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, 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, urlEncodeaddError, getCommandName, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, getTimezone, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLoggedInApplicationUseraddError, setErrorMessagespublic MoveSubTaskChooseOperation(SubTaskManager subTaskManager, ConstantsManager constantsManager, WorkflowManager workflowManager, FieldManager fieldManager, FieldLayoutManager fieldLayoutManager, IssueFactory issueFactory, FieldScreenRendererFactory fieldScreenRendererFactory, MoveSubTaskOperationManager moveSubTaskOperationManager, CommentService commentService, UserUtil userUtil, UserManager userManager)
public String doDefault() throws Exception
MoveIssuedoDefault in class MoveIssueAction.ERROR if
the issue can't be found (which means it was probably deleted), or if the user isn't authorised to browse the
issue; otherwise, Action.INPUT} is returned to render the view for the first step of the
wizard.Exceptionprotected void doValidation()
doValidation in class MoveIssueprotected String doExecute() throws Exception
MoveIssueMoveIssueSubtasks.doDefault()
so that the tasks issue types can be mapped; otherwise, it redirects to
MoveIssueUpdateWorkflow.doDefault()doExecute in class MoveIssueMoveIssueSubtasks.doDefault()
so that the tasks issue types can be mapped; otherwise, it redirects to
MoveIssueUpdateWorkflow.doDefault()Exceptionpublic Collection getMoveSubTaskOperations()
public boolean isCanPerform(MoveSubTaskOperation moveSubTaskOperation) throws Exception
Exceptionpublic String getCannotPerformMessageKey(MoveSubTaskOperation moveSubTaskOperation)
moveSubTaskOperation - The operation to checkpublic boolean isHasAvailableOperations()
throws Exception
Exceptionpublic String getOperation()
public void setOperation(String operation)
public void setCurrentStep(int step)
Copyright © 2002-2024 Atlassian. All Rights Reserved.