com.atlassian.jira.web.action.issue
Class CreateSubTaskIssueDetails

java.lang.Object
  extended by webwork.action.ActionSupport
      extended by com.atlassian.jira.action.JiraActionSupport
          extended by com.atlassian.jira.web.action.JiraWebActionSupport
              extended by com.atlassian.jira.web.action.ProjectActionSupport
                  extended by com.atlassian.jira.web.action.IssueActionSupport
                      extended by com.atlassian.jira.web.action.issue.AbstractIssueSelectAction
                          extended by com.atlassian.jira.web.action.issue.CreateIssue
                              extended by com.atlassian.jira.web.action.issue.CreateIssueDetails
                                  extended by com.atlassian.jira.web.action.issue.CreateSubTaskIssueDetails
All Implemented Interfaces:
OperationContext, ErrorCollection, I18nHelper, Assignable, IssueSummaryAware, HttpServletVariables, AuthorizationSupport, Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware

public class CreateSubTaskIssueDetails
extends CreateIssueDetails

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.jira.web.action.issue.CreateIssue
CreateIssue.ButtonHolder
 
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
static String SUB_TASK_LINK_TYPE_INWARD_NAME
           
static String SUB_TASK_LINK_TYPE_NAME
           
static String SUB_TASK_LINK_TYPE_OUTWARD_NAME
           
static String SUB_TASK_LINK_TYPE_STYLE
           
 
Fields inherited from class com.atlassian.jira.web.action.issue.CreateIssueDetails
validationResult
 
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
CreateSubTaskIssueDetails(ConstantsManager constantsManager, SubTaskManager subTaskManager, IssueCreationHelperBean issueCreationHelperBean, IssueFactory issueFactory, IssueService issueService, TemporaryAttachmentsMonitorLocator temporaryAttachmentsMonitorLocator, ProjectFactory projectFactory)
           
 
Method Summary
protected  String doPostCreationTasks()
           
protected  void doValidation()
           
protected  Collection getIssueTypes()
           
 Long getParentIssueId()
           
 String getParentIssueKey()
           
 String getParentIssuePath()
          Gets the relative path to the parent issue.
 boolean isRequiresLogin()
           
protected  void recordHistoryIssueType()
           
 void setParentIssueId(Long parentIssueId)
           
 
Methods inherited from class com.atlassian.jira.web.action.issue.CreateIssueDetails
createIssue, doExecute, doInit, getAuxiliarySubmitButtonValue, getDisplayParams, getIssue, transferErrorToMessages
 
Methods inherited from class com.atlassian.jira.web.action.issue.CreateIssue
doDefault, getAllowedProjects, getAssignee, getAssignIn, getButtons, getCustomFields, getFieldScreenRenderer, getFieldScreenRenderTabs, getFieldValuesHolder, getIgnoreFieldIds, getIssueObject, getIssueOperation, getIssuetype, getIssueTypeGV, getIssueTypesForProject, getPid, getProject, getRedirectForCreateBypass, getSelectedTab, getSubmitButtonName, getTabsWithErrors, hasProjectPermission, isAbleToCreateIssueInSelectedProject, isHasProjectPermission, populateFieldHolderWithDefaults, setAssignee, setHistoryIssuetype, setIssuetype, setPid, validateIssueType
 
Methods inherited from class com.atlassian.jira.web.action.issue.AbstractIssueSelectAction
addErrorMessage, assertIssueIsValid, cameFromIssue, cameFromParent, getId, getIssueObjectWithoutDatabaseRead, getIssuePath, getKey, getLayoutBean, getParentIssueObject, getProjectObject, 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.IssueActionSupport
addIssueToHistory, clearSelectedIssue, getAttachmentManager, getCurrentFailedLoginCount, getCurrentJQL, getCustomFieldManager, getDaysPerWeek, getEverLoggedIn, getFormToken, getHoursPerDay, getIssueManager, getLastFailedLogin, getLastLogin, getLoginCount, getPossibleVersions, getPossibleVersionsReleasedFirst, getPrettyDuration, getPreviousLogin, getSearchRequest, getSelectedIssueId, getSessionPagerFilterManager, getSessionSearchRequestManager, getSessionSearchRequestManagerFactory, getSessionSelectedIssueManager, getTotalFailedLoginCount, getUrlEncoded, getWorkflow, getWorkflowTransitionDescription, getWorkflowTransitionDisplayName, isCustomFieldHidden, isElevatedSecurityCheckRequired, isFieldHidden, isFieldHidden, isTimeTrackingEnabled, setFormToken, setSearchRequest, setSelectedIssueId, updateSearchRequest
 
Methods inherited from class com.atlassian.jira.web.action.ProjectActionSupport
getBrowsableProjects, getBrowseableProjects, getSelectedProjectId, setSelectedProject, setSelectedProject
 
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
addError, addErrorCollection, addErrorMessage, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, addMessageToResponse, addReason, addReasons, forceRedirect, getAdministratorContactLink, getApplicationProperties, getAuthorizationSupport, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDateTimeFormatter, getDescTranslation, getDmyDateFormatter, getEmptyResponse, getErrorMessages, getErrors, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getHttpRequest, getHttpResponse, getHttpSession, getJiraContactHelper, getJiraServiceContext, getLanguage, getLoggedInApplicationUser, getLoggedInUser, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getRandomHint, getReasons, getRedirect, getRedirect, getRedirectSanitiser, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getServletContext, getTimeFormat, getUriValidator, getUserFullName, getUserManager, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasErrorMessage, hasErrorMessageByKey, hasGlobalPermission, hasIssuePermission, hasIssuePermission, hasPermission, hasProjectPermission, htmlEncode, insertContextPath, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isInlineDialogMode, isSystemAdministrator, isUserExists, isUserExistsByKey, isUserExistsByName, returnComplete, returnComplete, returnCompleteWithInlineRedirect, returnCompleteWithInlineRedirectAndMsg, returnCompleteWithInlineRedirectAndMsg, returnMsgToUser, returnMsgToUser, setConglomerateCookieValue, setInline, setReasons, setReturnUrl, setSelectedProjectId, urlEncode
 
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, 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.web.action.issue.IssueSummaryAware
getLoggedInUser
 
Methods inherited from interface com.atlassian.jira.util.ErrorCollection
addError, addErrorMessages, addErrors, hasAnyErrors, setErrorMessages
 
Methods inherited from interface webwork.action.CommandDriven
getCommandName, setCommand
 

Field Detail

SUB_TASK_LINK_TYPE_NAME

public static final String SUB_TASK_LINK_TYPE_NAME
See Also:
Constant Field Values

SUB_TASK_LINK_TYPE_STYLE

public static final String SUB_TASK_LINK_TYPE_STYLE
See Also:
Constant Field Values

SUB_TASK_LINK_TYPE_INWARD_NAME

public static final String SUB_TASK_LINK_TYPE_INWARD_NAME
See Also:
Constant Field Values

SUB_TASK_LINK_TYPE_OUTWARD_NAME

public static final String SUB_TASK_LINK_TYPE_OUTWARD_NAME
See Also:
Constant Field Values
Constructor Detail

CreateSubTaskIssueDetails

public CreateSubTaskIssueDetails(ConstantsManager constantsManager,
                                 SubTaskManager subTaskManager,
                                 IssueCreationHelperBean issueCreationHelperBean,
                                 IssueFactory issueFactory,
                                 IssueService issueService,
                                 TemporaryAttachmentsMonitorLocator temporaryAttachmentsMonitorLocator,
                                 ProjectFactory projectFactory)
Method Detail

doValidation

protected void doValidation()
Overrides:
doValidation in class CreateIssueDetails

getIssueTypes

protected Collection getIssueTypes()

doPostCreationTasks

protected String doPostCreationTasks()
                              throws Exception
Overrides:
doPostCreationTasks in class CreateIssueDetails
Throws:
Exception

recordHistoryIssueType

protected void recordHistoryIssueType()
Overrides:
recordHistoryIssueType in class CreateIssue

getParentIssueKey

public String getParentIssueKey()

getParentIssuePath

public String getParentIssuePath()
Gets the relative path to the parent issue. It does not include the context path.

Returns:
The relative path to the parent issue.

getParentIssueId

public Long getParentIssueId()

setParentIssueId

public void setParentIssueId(Long parentIssueId)

isRequiresLogin

public boolean isRequiresLogin()


Copyright © 2002-2015 Atlassian. All Rights Reserved.