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

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
All Implemented Interfaces:
CustomFieldValuesAware, ErrorCollection, I18nHelper, Assignable, java.io.Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware
Direct Known Subclasses:
CloneIssueDetails, CreateSubTaskIssueDetails

public class CreateIssueDetails
extends CreateIssue

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.jira.web.action.issue.CreateIssue
CreateIssue.ButtonHolder
 
Field Summary
 
Fields inherited from class com.atlassian.jira.web.action.issue.CreateIssue
customFieldValuesHolder, reporter
 
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
CreateIssueDetails(WebAttachmentManager webAttachmentManager)
           
 
Method Summary
protected  void createIssue()
           
protected  java.lang.String doExecute()
           
protected  java.lang.String doPostCreationTasks()
           
protected  void doValidation()
           
protected  java.lang.Long getActualSecurity()
           
 java.lang.String getAssignee()
          This is just a 'niceness' method so that the default assignee selected on the next page, if assignees are allowed, is the project lead.
 java.lang.String[] getComponents()
           
 java.lang.String getDescription()
           
 java.lang.String getDuedate()
           
 java.lang.String getEnvironment()
           
 java.lang.String[] getFixVersions()
           
 org.ofbiz.core.entity.GenericValue getIssue()
           
protected  ErrorCollection getMandatoryFieldsErrors()
           
 java.lang.String getSummary()
           
 java.lang.String getTimeoriginalestimate()
           
 java.lang.String[] getVersions()
           
 void setAssignee(java.lang.String assignee)
           
 void setComponents(java.lang.String[] components)
           
 void setDescription(java.lang.String description)
           
 void setDuedate(java.lang.String duedate)
           
 void setEnvironment(java.lang.String environment)
           
 void setFixVersions(java.lang.String[] fixVersions)
           
 void setSummary(java.lang.String summary)
           
 void setTimeoriginalestimate(java.lang.String originalEstimate)
           
 void setVersions(java.lang.String[] versions)
           
protected  java.lang.String validateAssignee(org.ofbiz.core.entity.GenericValue project, java.lang.String assignee, java.lang.String originalAssignee)
           
 
Methods inherited from class com.atlassian.jira.web.action.issue.CreateIssue
doDefault, getAllowedProjects, getAssignIn, getButtons, getCustomFieldCreateHtml, getCustomFields, getCustomFieldValuesHolder, getIssuetype, getIssueTypeDescription, getIssueTypeGV, getIssueTypes, getPid, getPriority, getProject, getProjectIssueType, getReporter, getRequiredLayoutItems, getSecurity, getVisibleFieldLayoutItems, isAttachable, isHasProjectPermission, isSubTask, recordHistoryIssueType, 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
 

Constructor Detail

CreateIssueDetails

public CreateIssueDetails(WebAttachmentManager webAttachmentManager)
Method Detail

doValidation

protected void doValidation()
Overrides:
doValidation in class CreateIssue

getMandatoryFieldsErrors

protected ErrorCollection getMandatoryFieldsErrors()

validateAssignee

protected java.lang.String validateAssignee(org.ofbiz.core.entity.GenericValue project,
                                            java.lang.String assignee,
                                            java.lang.String originalAssignee)
                                     throws org.ofbiz.core.entity.GenericEntityException
Throws:
org.ofbiz.core.entity.GenericEntityException

doExecute

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

createIssue

protected void createIssue()
                    throws java.lang.Exception
Throws:
java.lang.Exception

getActualSecurity

protected java.lang.Long getActualSecurity()
                                    throws java.lang.Exception
Throws:
java.lang.Exception

doPostCreationTasks

protected java.lang.String doPostCreationTasks()
                                        throws java.lang.Exception
Throws:
java.lang.Exception

getDuedate

public java.lang.String getDuedate()

setDuedate

public void setDuedate(java.lang.String duedate)

getSummary

public java.lang.String getSummary()

setSummary

public void setSummary(java.lang.String summary)

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String description)

getEnvironment

public java.lang.String getEnvironment()

setEnvironment

public void setEnvironment(java.lang.String environment)

getVersions

public java.lang.String[] getVersions()

setVersions

public void setVersions(java.lang.String[] versions)

getComponents

public java.lang.String[] getComponents()

setComponents

public void setComponents(java.lang.String[] components)

getAssignee

public java.lang.String getAssignee()
Description copied from class: CreateIssue
This is just a 'niceness' method so that the default assignee selected on the next page, if assignees are allowed, is the project lead.

Specified by:
getAssignee in interface Assignable
Overrides:
getAssignee in class CreateIssue

setAssignee

public void setAssignee(java.lang.String assignee)
Specified by:
setAssignee in interface Assignable
Overrides:
setAssignee in class CreateIssue

getFixVersions

public java.lang.String[] getFixVersions()

setFixVersions

public void setFixVersions(java.lang.String[] fixVersions)
                    throws java.lang.Exception
Throws:
java.lang.Exception

getTimeoriginalestimate

public java.lang.String getTimeoriginalestimate()

setTimeoriginalestimate

public void setTimeoriginalestimate(java.lang.String originalEstimate)

getIssue

public org.ofbiz.core.entity.GenericValue getIssue()
Overrides:
getIssue in class AbstractIssueSelectAction


Copyright © 2002-2006 Atlassian. All Rights Reserved.