fr.ifremer.echobase.ui.actions.importData
Class ConfigureFiles
java.lang.Object
com.opensymphony.xwork2.ActionSupport
org.nuiton.web.struts2.BaseAction
fr.ifremer.echobase.ui.actions.EchoBaseActionSupport
fr.ifremer.echobase.ui.actions.importData.ConfigureFiles
- All Implemented Interfaces:
- com.opensymphony.xwork2.Action, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.Preparable, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, com.opensymphony.xwork2.ValidationAware, Serializable, org.nuiton.topia.framework.TopiaTransactionAware
public class ConfigureFiles
- extends EchoBaseActionSupport
- implements com.opensymphony.xwork2.Preparable
Action to load input files to import.
- Since:
- 0.2
- Author:
- tchemit
- See Also:
- Serialized Form
| Fields inherited from class com.opensymphony.xwork2.ActionSupport |
LOG |
| Fields inherited from interface com.opensymphony.xwork2.Action |
ERROR, INPUT, LOGIN, NONE, SUCCESS |
| Methods inherited from class fr.ifremer.echobase.ui.actions.EchoBaseActionSupport |
copyFile, decorate, formatDate, formatMonth, getActionContext, getApplicationVersion, getConfiguration, getDateFormat, getDecoratorService, getEchoBaseApplicationContext, getEchoBaseSession, getMonthFormat, getServiceContext, getServiceFactory, getTransaction, newService, setTransaction, sortAndDecorate |
| Methods inherited from class org.nuiton.web.struts2.BaseAction |
_ |
| Methods inherited from class com.opensymphony.xwork2.ActionSupport |
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, doDefault, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validate |
model
protected ImportDataConfiguration model
- Import data configuration to push in session.
missionId
protected String missionId
- Id of selected voyage used in import.
importDataModes
protected Map<String,String> importDataModes
- Universe of possible import modes.
ConfigureFiles
public ConfigureFiles()
setMissionId
public void setMissionId(String missionId)
setImportDataMode
public void setImportDataMode(ImportDataMode importDataMode)
setAcoustic
public void setAcoustic(File file)
setAcousticContentType
public void setAcousticContentType(String contentType)
setAcousticFileName
public void setAcousticFileName(String fileName)
setCapture
public void setCapture(File file)
setCaptureContentType
public void setCaptureContentType(String contentType)
setCaptureFileName
public void setCaptureFileName(String fileName)
setLectureAgeGen
public void setLectureAgeGen(File file)
setLectureAgeGenContentType
public void setLectureAgeGenContentType(String contentType)
setLectureAgeGenFileName
public void setLectureAgeGenFileName(String fileName)
setEvents
public void setEvents(File file)
setEventsContentType
public void setEventsContentType(String contentType)
setEventsFileName
public void setEventsFileName(String fileName)
setTypeEchoSpecies
public void setTypeEchoSpecies(File file)
setTypeEchoSpeciesContentType
public void setTypeEchoSpeciesContentType(String contentType)
setTypeEchoSpeciesFileName
public void setTypeEchoSpeciesFileName(String fileName)
getMissionId
public String getMissionId()
getImportDataMode
public ImportDataMode getImportDataMode()
getModel
public ImportDataConfiguration getModel()
getImportDataModes
public Map<String,String> getImportDataModes()
input
public String input()
throws Exception
- Overrides:
input in class com.opensymphony.xwork2.ActionSupport
- Throws:
Exception
execute
public String execute()
throws Exception
- Specified by:
execute in interface com.opensymphony.xwork2.Action- Overrides:
execute in class com.opensymphony.xwork2.ActionSupport
- Throws:
Exception
prepare
public void prepare()
throws Exception
- Specified by:
prepare in interface com.opensymphony.xwork2.Preparable
- Throws:
Exception
Copyright © 2011-2012 Ifremer. All Rights Reserved.