|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectwebwork.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.ConvertSubTaskToIssue
public class ConvertSubTaskToIssue
Main action for converting Sub-tasks into Issues
All do* methods in AbstractConvertIssue
| Nested Class Summary |
|---|
| 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 | |
|---|---|
ConvertSubTaskToIssue(SubTaskToIssueConversionService service,
IssueManager issueManager,
IssueTypeSchemeManager issueTypeSchemeManager,
FieldLayoutManager fieldLayoutManager,
ConstantsManager constantsManager,
WorkflowManager workflowManager,
RendererManager rendererManager,
IssueFactory issueFactory,
PermissionManager permissionManager)
|
|
| Method Summary | |
|---|---|
String |
getActionPrefix()
Prefix used for jsps Actions. |
Collection |
getAvailableIssueTypes()
Gets a collection of IssueType that are the available target Issue Types. |
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)
Allows subclasses to set and init own fields. |
| Methods inherited from class com.atlassian.jira.web.action.issue.AbstractConvertIssue |
|---|
addI18nError, addI18nError, addI18nErrorMessage, addI18nErrorMessage, doCancel, doConvert, doSetIssueType, doSetWorkflowStatus, doStartWizard, doUpdateFields, getBean, 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, validateStep1, wasPassed |
| Methods inherited from class com.atlassian.jira.action.JiraActionSupport |
|---|
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getComponentInstanceOfType, getDefaultResourceBundle, getDelegator, getI18nHelper, getKeysForPrefix, getLocale, getOfBizDelegator, getRemoteUser, getResult, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getUnescapedText, getUserPreferences, getWatcherManager, hasAnyErrors, isIndexing, removeKeyOrAddError |
| Methods inherited from class webwork.action.ActionSupport |
|---|
addError, addErrorMessage, doDefault, doExecute, doValidation, getCommandName, getErrorMessages, getErrors, 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, getErrorMessages, getErrors, hasAnyErrors, setErrorMessages |
| Methods inherited from interface webwork.action.CommandDriven |
|---|
getCommandName, setCommand |
| Field Detail |
|---|
protected String parentIssueKey
| Constructor Detail |
|---|
public ConvertSubTaskToIssue(SubTaskToIssueConversionService service,
IssueManager issueManager,
IssueTypeSchemeManager issueTypeSchemeManager,
FieldLayoutManager fieldLayoutManager,
ConstantsManager constantsManager,
WorkflowManager workflowManager,
RendererManager rendererManager,
IssueFactory issueFactory,
PermissionManager permissionManager)
| Method Detail |
|---|
protected void initExtraFields(ConvertIssueBean bean,
JiraServiceContext context)
AbstractConvertIssue
initExtraFields in class AbstractConvertIssuebean - bean that holds params.context - jira service context.public Collection getAvailableIssueTypes()
AbstractConvertIssueIssueType that are the available target Issue Types.
getAvailableIssueTypes in class AbstractConvertIssueIssueTypeprotected MutableIssue getTargetIssueObjectWithSecurityLevel()
AbstractConvertIssue
getTargetIssueObjectWithSecurityLevel in class AbstractConvertIssuepublic String getActionPrefix()
AbstractConvertIssue
getActionPrefix in class AbstractConvertIssuepublic String getPropertiesPrefix()
AbstractConvertIssue
getPropertiesPrefix in class AbstractConvertIssue
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||