com.atlassian.jira.web.action.util.csv
Class ConfigureCsvMapping

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.JiraWizardActionSupport
                  extended bycom.atlassian.jira.web.action.util.BaseImporter
                      extended bycom.atlassian.jira.web.action.util.csv.ConfigureCsvMapping
All Implemented Interfaces:
webwork.action.Action, webwork.action.CommandDriven, ErrorCollection, I18nHelper, webwork.action.IllegalArgumentAware, java.io.Serializable

public class ConfigureCsvMapping
extends BaseImporter

See Also:
Serialized Form

Field Summary
static int VALUE_MAPPING_STEP
           
 
Fields inherited from class com.atlassian.jira.web.action.util.BaseImporter
configFileLocation, importFileLocation
 
Fields inherited from class com.atlassian.jira.web.action.JiraWizardActionSupport
currentStep, finishButton, submitBtn
 
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
ConfigureCsvMapping(ConstantsManager constantsManager, CustomFieldManager customFieldManager, ProjectManager projectManager, com.opensymphony.user.UserManager userManager, ExternalUtils externalUtils)
           
 
Method Summary
 java.lang.String doAddConstant()
           
 java.lang.String doDefault()
           
protected  java.lang.String doExecute()
           
 java.lang.String doStart()
           
protected  void doValidation()
           
 java.util.List getAllUsers()
           
 CsvConfigBean getBean()
           
 org.apache.commons.configuration.FileConfiguration getConfigFile()
           
 java.lang.String getConstantField()
           
 java.lang.String getConstantType()
           
 java.lang.String getConstantValue()
           
 java.util.List getCustomFields()
           
 JiraDataImporter getImporter()
           
 java.util.Collection getIssueTypes()
           
 java.util.Collection getPriorities()
           
 java.util.Map getProjectOptions()
           
 java.util.List getProjects()
           
 java.util.Collection getResolutions()
           
 java.util.Collection getStatuses()
           
 int getTotalSteps()
           
 boolean isAddConstant()
           
 boolean isNameInList(java.util.Collection collection, java.lang.String name)
           
 void setAddConstant(boolean addConstant)
           
 void setBean(CsvConfigBean bean)
           
 void setConfigFile(org.apache.commons.configuration.FileConfiguration configFile)
           
 void setConstantField(java.lang.String constantField)
           
 void setConstantType(java.lang.String constantType)
           
 void setConstantValue(java.lang.String constantValue)
           
 
Methods inherited from class com.atlassian.jira.web.action.util.BaseImporter
getConfigFileLocation, getImportFileLocation, getLogs, getStats, setConfigFileLocation, setImportFileLocation, setLogs, setStats
 
Methods inherited from class com.atlassian.jira.web.action.JiraWizardActionSupport
getCurrentStep, getFinishButton, getSubmitBtn, isButtonClicked, isFinishClicked, isNextClicked, isPreviousClicked, setCurrentStep, setFinishButton, setSubmitBtn
 
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, 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

VALUE_MAPPING_STEP

public static final int VALUE_MAPPING_STEP
See Also:
Constant Field Values
Constructor Detail

ConfigureCsvMapping

public ConfigureCsvMapping(ConstantsManager constantsManager,
                           CustomFieldManager customFieldManager,
                           ProjectManager projectManager,
                           com.opensymphony.user.UserManager userManager,
                           ExternalUtils externalUtils)
Method Detail

doDefault

public java.lang.String doDefault()
                           throws java.lang.Exception
Throws:
java.lang.Exception

doStart

public java.lang.String doStart()
                         throws java.lang.Exception
Throws:
java.lang.Exception

doValidation

protected void doValidation()

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.List 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()
Overrides:
getTotalSteps in class BaseImporter

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)

getImporter

public JiraDataImporter getImporter()


Copyright © 2002-2005 Atlassian. All Rights Reserved.