public class ConvertIssueToSubTask extends AbstractConvertIssue
AbstractConvertIssue
JiraWebActionSupport.MessageType
ErrorCollection.Reason
I18nHelper.BeanFactory
Modifier and Type | Field and Description |
---|---|
protected String |
parentIssueKey |
constantsManager, fieldLayoutManager, guid, id, issue, issueManager, issueType, permissionManager, rendererManager, SECURITY_BREACH, STEP_1, STEP_2, STEP_3, STEP_4, targetStatusId, workflowManager
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilters, SECURITY_BREACH_RESULT
log
Constructor and Description |
---|
ConvertIssueToSubTask(IssueToSubTaskConversionService service,
IssueManager issueManager,
ConstantsManager constantsManager,
WorkflowManager workflowManager,
FieldLayoutManager fieldLayoutManager,
RendererManager rendererManager,
PermissionManager permissionManager,
IssueTypeSchemeManager issueTypeSchemeManager,
IssueFactory issueFactory) |
Modifier and Type | Method and Description |
---|---|
String |
getActionPrefix()
Prefix used for jsps Actions.
|
Collection |
getAvailableIssueTypes()
Gets a collection of
IssueType that are the available target Issue Types. |
protected ConvertIssueBean |
getBean()
Retrieves the wizard bean from the session.
|
String |
getPropertiesPrefix()
Prefix used for i18n properties.
|
protected MutableIssue |
getTargetIssueObjectWithSecurityLevel()
Get the issue with updated Issue type and status.
|
protected void |
initExtraFields(ConvertIssueBean bean,
JiraServiceContext context)
Set the parent issue on the bean.
|
void |
setParentIssueKey(String issueKey) |
protected void |
validateStep1(JiraServiceContextImpl context)
Validates the first step of the wizard, subclasses can override to extend validation
|
addI18nError, addI18nError, addI18nErrorMessage, addI18nErrorMessage, doCancel, doConvert, doDefault, doSetIssueType, doSetWorkflowStatus, doStartWizard, doUpdateFields, getConvertFieldLayoutItems, getCurrentStep, getCurrentWorkflow, getFieldHtml, getFieldName, getGuid, getId, getIssue, getIssuePath, getIssuetype, getNewViewHtml, getOldViewHtml, getParentIssueKey, getRemoveFields, getTargetIssue, getTargetStatusId, getTargetWorkflow, getTextKey, getUpdatedIssue, initRequest, isStatusChangeRequired, setCurrentStep, setGuid, setId, setIssuetype, setTargetStatusId, wasPassed
addError, addErrorCollection, addErrorMessage, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, addMessageToResponse, addReason, addReasons, forceRedirect, getAdministratorContactLink, getApplicationProperties, getAuthorizationSupport, getConglomerateCookieValue, getConstantsManager, 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, getRedirect, getRedirectSanitiser, getRequestSourceType, 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 String parentIssueKey
public ConvertIssueToSubTask(IssueToSubTaskConversionService service, IssueManager issueManager, ConstantsManager constantsManager, WorkflowManager workflowManager, FieldLayoutManager fieldLayoutManager, RendererManager rendererManager, PermissionManager permissionManager, IssueTypeSchemeManager issueTypeSchemeManager, IssueFactory issueFactory)
protected void validateStep1(JiraServiceContextImpl context)
AbstractConvertIssue
validateStep1
in class AbstractConvertIssue
context
- jira service contextprotected MutableIssue getTargetIssueObjectWithSecurityLevel()
AbstractConvertIssue
getTargetIssueObjectWithSecurityLevel
in class AbstractConvertIssue
protected ConvertIssueBean getBean()
AbstractConvertIssue
getBean
in class AbstractConvertIssue
public void setParentIssueKey(String issueKey)
protected void initExtraFields(ConvertIssueBean bean, JiraServiceContext context)
initExtraFields
in class AbstractConvertIssue
bean
- bean that holds params.context
- jira service context.public Collection getAvailableIssueTypes()
AbstractConvertIssue
IssueType
that are the available target Issue Types.getAvailableIssueTypes
in class AbstractConvertIssue
IssueType
public String getActionPrefix()
AbstractConvertIssue
getActionPrefix
in class AbstractConvertIssue
public String getPropertiesPrefix()
AbstractConvertIssue
getPropertiesPrefix
in class AbstractConvertIssue
Copyright © 2002-2022 Atlassian. All Rights Reserved.