public abstract class AbstractFileUploadAction extends AbstractSispeaAction
| Modifier and Type | Field and Description |
|---|---|
protected String |
comment
An optionnal comment the general admin can add when uploading an XML file
|
protected FileExchangeService |
fileExchangeService |
protected Integer |
originTypeId
the selected origin type
|
protected Boolean |
overwriteData
Flag if true, overwrite previous data
|
protected Boolean |
preserveStatus
Flag if true, do not overwrite speas in status
|
protected Boolean |
standardImport
Flag if true, do a regular import
|
protected Integer |
statusId
the selected status, if NULL any status
|
application, configuration, formatDate, formatDateOnly, menu, nextPage, parameters, serviceMessages, session, sispeaSession, strutsMessages, submitValue, territoryService, userService| Constructor and Description |
|---|
AbstractFileUploadAction() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkRight()
This method should throw an exception if the user has not got the right to access the function.
|
String |
getComment() |
Integer |
getOriginTypeId() |
Map<String,String> |
getOriginTypesList() |
Boolean |
getOverwriteData() |
Boolean |
getPreserveStatus() |
Boolean |
getStandardImport() |
Integer |
getStatusId() |
Map<String,String> |
getStatusList() |
void |
setComment(String pComment) |
void |
setOriginTypeId(Integer pOriginTypeId) |
void |
setOverwriteData(Boolean pOverwriteData) |
void |
setPreserveStatus(Boolean pPreserveStatus) |
void |
setStandardImport(Boolean pStandardImport) |
void |
setStatusId(Integer pStatusId) |
buildMenu, checkIfUserCanViewDashBoard, checkUserRight, checkUserRight, checkUserRight, createMenu, doExecute, doHandleException, doHandleSispeaException, execute, getApplication, getCurrentUser, getCurrentUserTerritory, getFormatDate, getFormatDateOnly, getMenu, getNextPage, getOption, getParameters, getSession, getSispeaSession, getSubmitValue, initSession, isEnglish, isFrench, isSpanish, logException, openMenu, removeSession, setApplication, setMenu, setNextPage, setParameters, setSession, setSubmitValueaddActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, doDefault, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getFormatted, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validate@Autowired protected transient FileExchangeService fileExchangeService
protected Boolean standardImport
protected Integer statusId
protected Integer originTypeId
protected Boolean overwriteData
protected Boolean preserveStatus
protected String comment
protected void checkRight()
throws SispeaException
checkRight in class AbstractSispeaActionSispeaExceptionpublic Boolean getStandardImport()
public void setStandardImport(Boolean pStandardImport)
public Integer getStatusId()
public void setStatusId(Integer pStatusId)
public Integer getOriginTypeId()
public void setOriginTypeId(Integer pOriginTypeId)
public Boolean getOverwriteData()
public void setOverwriteData(Boolean pOverwriteData)
public Boolean getPreserveStatus()
public void setPreserveStatus(Boolean pPreserveStatus)
public String getComment()
public void setComment(String pComment)
Copyright © 2014–2015 eaudefrance. All rights reserved.