|
||||||||||
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.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, 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 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
protected MutableIssue getTargetIssueObjectWithSecurityLevel()
AbstractConvertIssue
getTargetIssueObjectWithSecurityLevel
in class AbstractConvertIssue
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 |