com.atlassian.jira.web.action.util.csv
Class ConfigureCsvMapping
java.lang.Object
webwork.action.ActionSupport
com.atlassian.jira.action.JiraActionSupport
com.atlassian.jira.web.action.JiraWebActionSupport
com.atlassian.jira.web.action.JiraWizardActionSupport
com.atlassian.jira.web.action.util.csv.ConfigureCsvMapping
- All Implemented Interfaces:
- ErrorCollection, I18nHelper, java.io.Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware
public class ConfigureCsvMapping
- extends JiraWizardActionSupport
- See Also:
- Serialized Form
Fields inherited from class webwork.action.ActionSupport |
command, errorMap, errorMessages |
Fields inherited from interface webwork.action.Action |
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Methods inherited from class com.atlassian.jira.web.action.JiraWizardActionSupport |
getCurrentStep, getFinishButton, getSubmitBtn, isButtonClickedByName, isButtonClickedByValue, isFinishClicked, isNextClicked, isPreviousClicked, setCurrentStep, setFinishButton, setSubmitBtn |
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport |
addErrorCollection, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, forceRedirect, getApplicationProperties, getAssignableUsers, getAssignableUsers, getCachedGroups, getComponentManager, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDescTranslation, getExternalLinkUtils, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getJiraServiceContext, getLanguage, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getPropertySet, getRandomHint, getRedirect, getRemoteUser, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getText, getTimeFormat, getUriValidator, getUserFullName, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasErrorMessage, hasErrorMessageByKey, htmlEncode, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, isInlineDialogMode, isSystemAdministrator, isUserExists, returnComplete, returnComplete, returnCompleteWithInlineRedirect, setConglomerateCookieValue, setInline, setReturnUrl, setSelectedProjectId |
Methods inherited from class com.atlassian.jira.action.JiraActionSupport |
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getDefaultResourceBundle, getDelegator, getKeysForPrefix, getLocale, getResult, getText, 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, 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 webwork.action.CommandDriven |
getCommandName, setCommand |
PROJECT_CONFIGURATION_STEP
public static final int PROJECT_CONFIGURATION_STEP
- See Also:
- Constant Field Values
VALUE_MAPPING_STEP
public static final int VALUE_MAPPING_STEP
- See Also:
- Constant Field Values
importLocation
protected java.lang.String importLocation
configFileLocation
protected java.lang.String configFileLocation
delimiter
protected java.lang.String delimiter
ConfigureCsvMapping
public ConfigureCsvMapping(ConstantsManager constantsManager,
CustomFieldManager customFieldManager,
ProjectManager projectManager,
com.opensymphony.user.UserManager userManager,
ExternalUtils externalUtils,
ApplicationProperties applicationProperties,
ProjectService projectService,
JiraHome jiraHome)
doDefault
public java.lang.String doDefault()
throws java.lang.Exception
- Overrides:
doDefault
in class webwork.action.ActionSupport
- Throws:
java.lang.Exception
doStart
public java.lang.String doStart()
throws java.lang.Exception
- Throws:
java.lang.Exception
isExternalUserManagementEnabled
public boolean isExternalUserManagementEnabled()
doValidation
protected void doValidation()
- Overrides:
doValidation
in class webwork.action.ActionSupport
doExecute
protected java.lang.String doExecute()
throws java.lang.Exception
- Overrides:
doExecute
in class JiraWizardActionSupport
- Throws:
java.lang.Exception
doAddConstant
public java.lang.String doAddConstant()
throws java.lang.Exception
- Throws:
java.lang.Exception
getBean
public CsvConfigBean getBean()
setBean
public void setBean(CsvConfigBean bean)
getProjects
public java.util.List getProjects()
getProjectOptions
public java.util.Map getProjectOptions()
getCustomFields
public java.util.Collection getCustomFields()
getAllUsers
public java.util.List getAllUsers()
getPriorities
public java.util.Collection getPriorities()
getIssueTypes
public java.util.Collection getIssueTypes()
getResolutions
public java.util.Collection getResolutions()
getStatuses
public java.util.Collection getStatuses()
isNameInList
public boolean isNameInList(java.util.Collection collection,
java.lang.String name)
getTotalSteps
public int getTotalSteps()
- Specified by:
getTotalSteps
in class JiraWizardActionSupport
getConstantType
public java.lang.String getConstantType()
setConstantType
public void setConstantType(java.lang.String constantType)
getConstantValue
public java.lang.String getConstantValue()
setConstantValue
public void setConstantValue(java.lang.String constantValue)
getConstantField
public java.lang.String getConstantField()
setConstantField
public void setConstantField(java.lang.String constantField)
isAddConstant
public boolean isAddConstant()
setAddConstant
public void setAddConstant(boolean addConstant)
getConfigFile
public org.apache.commons.configuration.FileConfiguration getConfigFile()
setConfigFile
public void setConfigFile(org.apache.commons.configuration.FileConfiguration configFile)
getConfigFileLocation
public java.lang.String getConfigFileLocation()
setConfigFileLocation
public void setConfigFileLocation(java.lang.String configFileLocation)
getImportLocation
public java.lang.String getImportLocation()
setImportLocation
public void setImportLocation(java.lang.String importLocation)
getDefaultImportPath
public java.lang.String getDefaultImportPath()
getSafeImportLocation
public java.lang.String getSafeImportLocation()
getSafeConfigFileLocation
public java.lang.String getSafeConfigFileLocation()
getDelimiterChar
public java.lang.Character getDelimiterChar()
setDelimiter
public void setDelimiter(java.lang.String delimiter)
- Set's the delimiter property. An extra check is done to see if the delimiter
is a '\t' if the passed delimiter is, it will be set via
setTabCharacter(String delimter)
- Parameters:
delimiter
-
getDelimiter
public java.lang.String getDelimiter()
getDefaultDelimiter
public char getDefaultDelimiter()
getImporter
public JiraDataImporter getImporter()
getImportActionName
public java.lang.String getImportActionName()
Copyright © 2002-2010 Atlassian. All Rights Reserved.