|
||||||||||
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.ProjectActionSupport com.atlassian.jira.web.action.IssueActionSupport com.atlassian.jira.web.action.issue.AbstractIssueSelectAction com.atlassian.jira.web.action.issue.CreateIssue com.atlassian.jira.web.action.issue.CreateSubTaskIssue
public class CreateSubTaskIssue
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.atlassian.jira.web.action.issue.CreateIssue |
---|
CreateIssue.ButtonHolder |
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 |
---|
Fields inherited from class com.atlassian.jira.web.action.issue.CreateIssue |
---|
fieldValuesHolder, issueCreationHelperBean |
Fields inherited from class com.atlassian.jira.web.action.issue.AbstractIssueSelectAction |
---|
id, ISSUE_PERMISSION_ERROR, PREPOPULATED_ISSUE_OBJECT |
Fields inherited from class com.atlassian.jira.web.action.IssueActionSupport |
---|
attachmentManager |
Fields inherited from class com.atlassian.jira.web.action.ProjectActionSupport |
---|
projectManager |
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 | |
---|---|
CreateSubTaskIssue(ConstantsManager constantsManager,
IssueManager issueManager,
IssueCreationHelperBean issueCreationHelperBean,
IssueFactory issueFactory)
|
Method Summary | |
---|---|
Map<String,Object> |
getDisplayParams()
|
MutableIssue |
getIssueObject()
Returns the current Issue . |
Collection |
getIssueTypes()
|
protected Collection |
getIssueTypesForProject(Project project)
Returns a collection of sub-tasks issue types for the given project. |
Long |
getParentIssueId()
|
String |
getParentIssueKey()
|
String |
getParentIssuePath()
Gets the relative path to the parent issue. |
Long |
getPid()
|
protected String |
getRedirectForCreateBypass()
|
protected void |
recordHistoryIssueType()
|
protected void |
setHistoryIssuetype()
|
void |
setParentIssueId(Long parentIssueId)
|
protected void |
validateIssueType()
|
Methods inherited from class com.atlassian.jira.web.action.issue.CreateIssue |
---|
doDefault, doExecute, doValidation, getAllowedProjects, getAssignee, getAssignIn, getButtons, getCustomFields, getFieldScreenRenderer, getFieldScreenRenderTabs, getFieldValuesHolder, getIgnoreFieldIds, getIssueOperation, getIssuetype, getIssueTypeGV, getProject, getSelectedTab, getSubmitButtonName, getTabsWithErrors, isAbleToCreateIssueInSelectedProject, isHasProjectPermission, populateFieldHolderWithDefaults, setAssignee, setIssuetype, setPid |
Methods inherited from class com.atlassian.jira.web.action.issue.AbstractIssueSelectAction |
---|
addErrorMessage, assertIssueIsValid, cameFromIssue, cameFromParent, getId, getIssue, getIssueObjectWithoutDatabaseRead, getIssuePath, getKey, getLayoutBean, getParentIssueObject, getSecurityLevel, getSubTaskManager, getSummaryIssue, getViewIssueKey, getViewUrl, isEditable, isEditable, isHasEditIssuePermission, isIssueExists, isIssueValid, isSubTask, isSubTaskCreatable, isWorkflowAllowsEdit, redirectToView, refreshIssueObject, setId, setIssueObject, setKey, setViewIssueKey |
Methods inherited from class com.atlassian.jira.web.action.ProjectActionSupport |
---|
getBrowsableProjects, getBrowseableProjects, getSelectedProjectId, setSelectedProject, setSelectedProject |
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, 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.web.action.issue.IssueSummaryAware |
---|
getLoggedInUser |
Methods inherited from interface com.atlassian.jira.util.ErrorCollection |
---|
addError, addErrorMessages, addErrors, getErrorMessages, getErrors, hasAnyErrors, setErrorMessages |
Methods inherited from interface webwork.action.CommandDriven |
---|
getCommandName, setCommand |
Constructor Detail |
---|
public CreateSubTaskIssue(ConstantsManager constantsManager, IssueManager issueManager, IssueCreationHelperBean issueCreationHelperBean, IssueFactory issueFactory)
Method Detail |
---|
protected String getRedirectForCreateBypass()
getRedirectForCreateBypass
in class CreateIssue
protected void setHistoryIssuetype()
setHistoryIssuetype
in class CreateIssue
protected void recordHistoryIssueType()
recordHistoryIssueType
in class CreateIssue
protected void validateIssueType()
validateIssueType
in class CreateIssue
public Collection getIssueTypes()
public Long getParentIssueId()
public void setParentIssueId(Long parentIssueId)
public MutableIssue getIssueObject()
AbstractIssueSelectAction
Issue
. This method performs the same security checks as AbstractIssueSelectAction.getIssue()
.
getIssueObject
in class CreateIssue
AbstractIssueSelectAction.getIssue()
public Long getPid()
getPid
in class CreateIssue
public String getParentIssueKey()
public String getParentIssuePath()
context path
.
protected Collection getIssueTypesForProject(Project project)
getIssueTypesForProject
in class CreateIssue
project
- project to get the sub-tasks issue types for
public Map<String,Object> getDisplayParams()
getDisplayParams
in class CreateIssue
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |