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:
OperationContext, ErrorCollection, I18nHelper, Assignable, IssueSummaryAware, 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
 
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, issueObject
 
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
 
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
CreateIssueDetails(IssueFactory issueFactory, IssueCreationHelperBean issueCreationHelperBean)
           
 
Method Summary
protected  void checkAttachments()
           
protected  void createIssue()
           
protected  String doExecute()
           
 String doInit()
          JRA-4791 - To allow direct links to populate the create issue details page without submiting the form
protected  String doPostCreationTasks()
           
protected  void doValidation()
           
protected  String getAuxiliarySubmitButtonValue()
          The jira-workflow.xml Create action (id 1) can contain meta attributes indicating that auxiliary (alternative) 'Create' buttons must be shown, to support alternative ways of submitting an issue (eg.
 org.ofbiz.core.entity.GenericValue getIssue()
          Gets the current issue's GenericValue.
 
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, isAbleToCreateIssueInSelectedProject, isHasProjectPermission, populateFieldHolderWithDefaults, recordHistoryIssueType, setAssignee, setHistoryIssuetype, setIssuetype, setPid, validateIssueType
 
Methods inherited from class com.atlassian.jira.web.action.issue.AbstractIssueSelectAction
getId, getIssueObjectNoSecurityCheck, getIssuePath, getKey, getLayoutBean, getSecurityLevel, getSecurityLevel, getSecurityLevelName, getSummaryIssue, getViewIssueKey, getViewUrl, isEditable, isEditable, isHasEditIssuePermission, isIssueExists, isIssueValid, isWorkflowAllowsEdit, redirectToView, resetIssue, setId, setIssue, setKey, setViewIssueKey
 
Methods inherited from class com.atlassian.jira.web.action.IssueActionSupport
getAttachmentManager, getCurrentJQL, getCustomFieldManager, getDaysPerWeek, getEverLoggedIn, getHoursPerDay, getIssueManager, getLastLogin, getLoginCount, getPossibleVersions, getPossibleVersionsReleasedFirst, getPrettyDuration, getPreviousLogin, getSearchRequest, getSelectedIssueId, getUrlEncoded, getWorkflow, getWorkflowTransitionDescription, getWorkflowTransitionDisplayName, isCustomFieldHidden, isFieldHidden, isFieldHidden, isFieldHidden, setCurrentIssue, setSearchRequest, setSelectedIssueId, updateSearchRequest
 
Methods inherited from class com.atlassian.jira.web.action.ProjectActionSupport
getBrowseableProjects, getBrowseableProjectsInCategory, getSelectedProjectId, setSelectedProject, setSelectedProject
 
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
addErrorCollection, forceRedirect, getAssignableUsers, getAssignableUsers, getCachedGroups, getComponentManager, getConstantsManager, getDateFormat, getDateTimeFormat, getDescTranslation, getExternalLinkUtils, getField, getFlushedErrorMessages, getGlobalPermissionManager, getJiraServiceContext, getLanguage, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getPropertySet, getRedirect, getRemoteUser, getReturnUrl, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getText, getTimeFormat, getUserFullName, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, htmlEncode, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isSystemAdministrator, isUserExists, setReturnUrl, setSelectedProjectId
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getApplicationProperties, getDefaultResourceBundle, getDelegator, getJiraLocaleUtils, getLocale, getResult, getText, getText, getText, getText, getText, getText, getText, getText0, getUnescapedText, getUserPreferences, getWatcherManager, hasAnyErrors, isEnterprise, isIndexing, isProfessional, isProfessionalOrEnterprise, isStandard, removeKeyOrAddError
 
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, 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
getRemoteUser
 
Methods inherited from interface com.atlassian.jira.util.ErrorCollection
addError, addErrorMessage, addErrorMessages, addErrors, getErrorMessages, getErrors, hasAnyErrors, setErrorMessages
 
Methods inherited from interface webwork.action.CommandDriven
setCommand
 

Constructor Detail

CreateIssueDetails

public CreateIssueDetails(IssueFactory issueFactory,
                          IssueCreationHelperBean issueCreationHelperBean)
Method Detail

doInit

public String doInit()
JRA-4791 - To allow direct links to populate the create issue details page without submiting the form


doValidation

protected void doValidation()
Overrides:
doValidation in class CreateIssue

checkAttachments

protected void checkAttachments()

doExecute

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

createIssue

protected void createIssue()
                    throws Exception
Throws:
Exception

doPostCreationTasks

protected String doPostCreationTasks()
                              throws Exception
Throws:
Exception

getIssue

public org.ofbiz.core.entity.GenericValue getIssue()
Description copied from class: AbstractIssueSelectAction
Gets the current issue's GenericValue.

Overrides:
getIssue in class AbstractIssueSelectAction
See Also:
AbstractIssueSelectAction.getIssueObject()

getAuxiliarySubmitButtonValue

protected String getAuxiliarySubmitButtonValue()
                                        throws WorkflowException
The jira-workflow.xml Create action (id 1) can contain meta attributes indicating that auxiliary (alternative) 'Create' buttons must be shown, to support alternative ways of submitting an issue (eg. shortcutting a step). For example:

createissue.shortcut.submit

This method checks whether a Request param matching any meta name was found (eg. 'foo.jsp?jira.button.submit=jira.button.submit', and if so, returns the name ('jira.button.submit'). This can then be passed back to the workflow. Returns 'null' if the regular submit button was pressed

Throws:
WorkflowException


Copyright © 2002-2009 Atlassian. All Rights Reserved.