|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object webwork.action.ActionSupport com.atlassian.jira.action.JiraActionSupport com.atlassian.jira.web.action.JiraWebActionSupport com.atlassian.jira.web.action.issue.AbstractConvertIssue com.atlassian.jira.web.action.issue.ConvertIssueToSubTask
public class ConvertIssueToSubTask
Main action for converting Issue to sub-task
All do* methods in AbstractConvertIssue
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.atlassian.jira.web.action.JiraWebActionSupport |
---|
JiraWebActionSupport.MessageType |
Nested classes/interfaces inherited from interface com.atlassian.jira.util.ErrorCollection |
---|
ErrorCollection.Reason |
Nested classes/interfaces inherited from interface com.atlassian.jira.util.I18nHelper |
---|
I18nHelper.BeanFactory |
Field Summary | |
---|---|
protected String |
parentIssueKey
|
Fields inherited from class com.atlassian.jira.web.action.issue.AbstractConvertIssue |
---|
constantsManager, fieldLayoutManager, guid, id, issue, issueManager, issueType, permissionManager, rendererManager, SECURITY_BREACH, STEP_1, STEP_2, STEP_3, STEP_4, targetStatusId, workflowManager |
Fields inherited from class com.atlassian.jira.web.action.JiraWebActionSupport |
---|
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilters |
Fields inherited from class com.atlassian.jira.action.JiraActionSupport |
---|
log |
Fields inherited from class webwork.action.ActionSupport |
---|
command, errorMap, errorMessages |
Fields inherited from interface webwork.action.Action |
---|
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Constructor Summary | |
---|---|
ConvertIssueToSubTask(IssueToSubTaskConversionService service,
IssueManager issueManager,
ConstantsManager constantsManager,
WorkflowManager workflowManager,
FieldLayoutManager fieldLayoutManager,
RendererManager rendererManager,
PermissionManager permissionManager,
IssueTypeSchemeManager issueTypeSchemeManager,
IssueFactory issueFactory)
|
Method Summary | |
---|---|
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 |
Methods inherited from class com.atlassian.jira.web.action.issue.AbstractConvertIssue |
---|
addI18nError, addI18nError, addI18nErrorMessage, addI18nErrorMessage, doCancel, doConvert, doSetIssueType, doSetWorkflowStatus, doStartWizard, doUpdateFields, getConvertFieldLayoutItems, getCurrentJQL, getCurrentStep, getCurrentWorkflow, getFieldHtml, getFieldName, getGuid, getId, getIssue, getIssuePath, getIssuetype, getNewViewHtml, getOldViewHtml, getParentIssueKey, getRemoveFields, getSearchRequest, getTargetIssue, getTargetStatusId, getTargetWorkflow, getTextKey, getUpdatedIssue, initRequest, isStatusChangeRequired, setCurrentStep, setGuid, setId, setIssuetype, setTargetStatusId, wasPassed |
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, doDefault, 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 com.atlassian.jira.util.ErrorCollection |
---|
addError, addErrorMessage, addErrorMessages, addErrors, hasAnyErrors, setErrorMessages |
Methods inherited from interface webwork.action.CommandDriven |
---|
getCommandName, setCommand |
Field Detail |
---|
protected String parentIssueKey
Constructor Detail |
---|
public ConvertIssueToSubTask(IssueToSubTaskConversionService service, IssueManager issueManager, ConstantsManager constantsManager, WorkflowManager workflowManager, FieldLayoutManager fieldLayoutManager, RendererManager rendererManager, PermissionManager permissionManager, IssueTypeSchemeManager issueTypeSchemeManager, IssueFactory issueFactory)
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |