public class ValidateFileAction extends AbstractFileUploadAction
| Modifier and Type | Field and Description |
|---|---|
protected static Locale |
DEFAULT_LOCALE |
protected String |
fileCaption
The caption of the file entered by user.
|
protected boolean |
fileValid
Indicates whether the data of the uploaded file can be added to the db.
|
protected Collection<ExchangeMessageDto> |
messages
The messages returned from the file upload validation.
|
protected File |
upload
The uploaded file.
|
protected String |
uploadContentType
The content type of the uploaded file.
|
protected String |
uploadFileName
The name of the uploaded file.
|
protected boolean |
validated
Indicates whether the uploaded file has been submitted for validation.
|
comment, fileExchangeService, originTypeId, overwriteData, preserveStatus, standardImport, statusIdapplication, configuration, formatDate, formatDateOnly, menu, nextPage, parameters, serviceMessages, session, sispeaSession, strutsMessages, submitValue, territoryService, userService| Constructor and Description |
|---|
ValidateFileAction() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
doExecute()
This method is called by the execute method.
|
String |
getFileCaption() |
Collection<ExchangeMessageDto> |
getMessages() |
File |
getUpload() |
String |
getUploadContentType() |
String |
getUploadFileName() |
boolean |
isFileValid() |
boolean |
isValidated()
Returns true if the uploaded file has been submitted for validation.
|
void |
setFileCaption(String pFileCaption) |
void |
setUpload(File pUpload) |
void |
setUploadContentType(String pUploadContentType) |
void |
setUploadFileName(String pUploadFileName) |
checkRight, getComment, getOriginTypeId, getOriginTypesList, getOverwriteData, getPreserveStatus, getStandardImport, getStatusId, getStatusList, setComment, setOriginTypeId, setOverwriteData, setPreserveStatus, setStandardImport, setStatusIdbuildMenu, checkIfUserCanViewDashBoard, checkUserRight, checkUserRight, checkUserRight, createMenu, 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, validateprotected static final Locale DEFAULT_LOCALE
protected File upload
protected String uploadContentType
protected String uploadFileName
protected String fileCaption
protected boolean validated
protected boolean fileValid
protected Collection<ExchangeMessageDto> messages
protected String doExecute() throws Exception
AbstractSispeaActiondoExecute in class AbstractSispeaActionExceptionpublic boolean isValidated()
public boolean isFileValid()
public Collection<ExchangeMessageDto> getMessages()
public File getUpload()
public void setUpload(File pUpload)
public String getUploadContentType()
public void setUploadContentType(String pUploadContentType)
public String getUploadFileName()
public void setUploadFileName(String pUploadFileName)
public String getFileCaption()
public void setFileCaption(String pFileCaption)
Copyright © 2014–2015 eaudefrance. All rights reserved.