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

java.lang.Object
  extended bywebwork.action.ActionSupport
      extended bycom.atlassian.jira.action.JiraActionSupport
          extended bycom.atlassian.jira.web.action.JiraWebActionSupport
              extended bycom.atlassian.jira.web.action.ProjectActionSupport
                  extended bycom.atlassian.jira.web.action.IssueActionSupport
                      extended bycom.atlassian.jira.web.action.issue.AbstractIssueSelectAction
                          extended bycom.atlassian.jira.web.action.issue.CreateIssue
                              extended bycom.atlassian.jira.web.action.issue.CreateIssueDetails
                                  extended bycom.atlassian.jira.web.action.issue.CreateSubTaskIssueDetails
All Implemented Interfaces:
webwork.action.Action, Assignable, webwork.action.CommandDriven, CustomFieldValuesAware, ErrorCollection, I18nHelper, webwork.action.IllegalArgumentAware, java.io.Serializable

public class CreateSubTaskIssueDetails
extends CreateIssueDetails

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class com.atlassian.jira.web.action.issue.CreateIssue
CreateIssue.ButtonHolder
 
Field Summary
static java.lang.String SUB_TASK_LINK_TYPE_INWARD_NAME
           
static java.lang.String SUB_TASK_LINK_TYPE_NAME
           
static java.lang.String SUB_TASK_LINK_TYPE_OUTWARD_NAME
           
static java.lang.String SUB_TASK_LINK_TYPE_STYLE
           
 
Fields inherited from class com.atlassian.jira.web.action.issue.CreateIssueDetails
assignee, components, description, duedate, environment, fixVersions, summary, timeoriginalestimate, versions
 
Fields inherited from class com.atlassian.jira.web.action.issue.CreateIssue
customFieldValuesHolder, issuetype, pid, priority, reporter, security
 
Fields inherited from class com.atlassian.jira.web.action.issue.AbstractIssueSelectAction
id
 
Fields inherited from class com.atlassian.jira.web.action.IssueActionSupport
attachmentManager
 
Fields inherited from class com.atlassian.jira.web.action.ProjectActionSupport
projectManager, savedFilters
 
Fields inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request
 
Fields inherited from class com.atlassian.jira.action.JiraActionSupport
log
 
Fields inherited from class webwork.action.ActionSupport
command, errorMap, errorMessages
 
Fields inherited from interface com.atlassian.jira.util.I18nHelper
DEFAULT_RESOURCE_BUNDLE
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
CreateSubTaskIssueDetails(WebAttachmentManager webAttachmentManager, ConstantsManager constantsManager, SubTaskManager subTaskManager)
           
 
Method Summary
protected  java.lang.String doExecute()
           
 java.lang.String doGetRequiredFields()
           
protected  java.lang.String doPostCreationTasks()
           
protected  void doValidation()
           
protected  java.lang.Long getActualSecurity()
           
protected  java.util.Collection getIssueTypes()
           
 java.lang.Long getParentIssueId()
           
 java.lang.String getParentIssueKey()
           
 boolean isFieldErrorsPresent()
           
 boolean isQuickCreate()
           
 boolean isSubTask()
           
protected  void recordHistoryIssueType()
           
 void setParentIssueId(java.lang.Long parentIssueId)
           
 void setQuickCreate(boolean quickCreate)
           
 
Methods inherited from class com.atlassian.jira.web.action.issue.CreateIssueDetails
createIssue, getAssignee, getComponents, getDescription, getDuedate, getEnvironment, getFixVersions, getIssue, getMandatoryFieldsErrors, getSummary, getTimeoriginalestimate, getVersions, setAssignee, setComponents, setDescription, setDuedate, setEnvironment, setFixVersions, setSummary, setTimeoriginalestimate, setVersions, validateAssignee
 
Methods inherited from class com.atlassian.jira.web.action.issue.CreateIssue
doDefault, getAllowedProjects, getAssignIn, getButtons, getCustomFieldCreateHtml, getCustomFields, getCustomFieldValuesHolder, getIssuetype, getIssueTypeDescription, getIssueTypeGV, getPid, getPriority, getProject, getProjectIssueType, getReporter, getRequiredLayoutItems, getSecurity, getVisibleFieldLayoutItems, isAttachable, isHasProjectPermission, setHistoryIssuetype, setIssuetype, setPid, setPriority, setReporter, setSecurity, validateIssueType, validateProject
 
Methods inherited from class com.atlassian.jira.web.action.issue.AbstractIssueSelectAction
getDefaultSecurityLevel, getId, getIssuePath, getKey, getSecurityLevel, getSecurityLevel, getSecurityLevelName, getSecurityLevels, getSecurityLevels, getViewIssueKey, getViewUrl, isEditable, isEditable, isIssueExists, redirectToView, resetIssue, setId, setIssue, setKey, setViewIssueKey
 
Methods inherited from class com.atlassian.jira.web.action.IssueActionSupport
getActionManager, getAttachmentManager, getCustomFieldManager, getDaysPerWeek, getHoursPerDay, getIssueManager, getPossibleVersions, getPossibleVersionsReleasedFirst, getPrettyDuration, getSearchRequest, getUrlEncoded, getWorkflow, isCustomFieldHidden, isFieldHidden, isFieldHidden, isFieldHidden, setCurrentIssue
 
Methods inherited from class com.atlassian.jira.web.action.ProjectActionSupport
getBrowseableProjects, getBrowseableProjectsInCategory, getSavedFilters, getSelectedProject, isEnterprise, setSelectedProject, setSelectedProjectId
 
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
addErrorCollection, getAssignableUsers, getAssignableUsers, getCachedGroups, getColumnViewHtml, getComponentManager, getConstantsManager, getCustomFieldHtml, getCustomFieldXML, getDefaultAssignee, getDefaultResourceBundle, getField, getLocale, getOutlookDate, getPermissionManager, getProjectManager, getPropertySet, getRedirect, getRemoteUser, getReturnUrl, getText, getText, getText, getText, getText, getUserFullName, getUserPreferences, getVersionManager, isDefaultAssignee, isDefaultAssignee, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, processDefaultAssignee, processDefaultAssignee, processDefaultAssignee, setReturnUrl
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrorMessages, addErrors, execute, getActionName, getApplicationProperties, getDelegator, getLocaleUtils, getResult, getUnescapedText, getWatcherManager, hasAnyErrors, isIndexing
 
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, addIllegalArgumentException, getErrorMessages, getErrors, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, 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
 
Methods inherited from interface webwork.action.CommandDriven
setCommand
 

Field Detail

SUB_TASK_LINK_TYPE_NAME

public static final java.lang.String SUB_TASK_LINK_TYPE_NAME
See Also:
Constant Field Values

SUB_TASK_LINK_TYPE_STYLE

public static final java.lang.String SUB_TASK_LINK_TYPE_STYLE
See Also:
Constant Field Values

SUB_TASK_LINK_TYPE_INWARD_NAME

public static final java.lang.String SUB_TASK_LINK_TYPE_INWARD_NAME
See Also:
Constant Field Values

SUB_TASK_LINK_TYPE_OUTWARD_NAME

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

CreateSubTaskIssueDetails

public CreateSubTaskIssueDetails(WebAttachmentManager webAttachmentManager,
                                 ConstantsManager constantsManager,
                                 SubTaskManager subTaskManager)
Method Detail

doGetRequiredFields

public java.lang.String doGetRequiredFields()

doValidation

protected void doValidation()
Overrides:
doValidation in class CreateIssueDetails

doExecute

protected java.lang.String doExecute()
                              throws java.lang.Exception
Overrides:
doExecute in class CreateIssueDetails
Throws:
java.lang.Exception

getIssueTypes

protected java.util.Collection getIssueTypes()
Overrides:
getIssueTypes in class CreateIssue

doPostCreationTasks

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

recordHistoryIssueType

protected void recordHistoryIssueType()
Overrides:
recordHistoryIssueType in class CreateIssue

getParentIssueKey

public java.lang.String getParentIssueKey()

getActualSecurity

protected java.lang.Long getActualSecurity()
                                    throws java.lang.Exception
Overrides:
getActualSecurity in class CreateIssueDetails
Throws:
java.lang.Exception

isSubTask

public boolean isSubTask()
Overrides:
isSubTask in class CreateIssue

getParentIssueId

public java.lang.Long getParentIssueId()

setParentIssueId

public void setParentIssueId(java.lang.Long parentIssueId)

isQuickCreate

public boolean isQuickCreate()

isFieldErrorsPresent

public boolean isFieldErrorsPresent()

setQuickCreate

public void setQuickCreate(boolean quickCreate)


Copyright © 2002-2005 Atlassian. All Rights Reserved.