public class ExportTable extends EchoBaseActionSupport
| Modifier and Type | Field and Description |
|---|---|
protected long |
contentLength
Length of the file to export.
|
protected String |
contentType
Type of the file to export.
|
protected DbEditorService |
dbEditorService |
protected EchoBaseUserEntityEnum |
entityType
Type of entity to export.
|
protected boolean |
exportAsSeen
Export datas as seen on screen (no topiaId).
|
protected String |
exportFileName
Default file name to create.
|
protected ExportService |
exportService |
protected InputStream |
inputStream
Stream of the file to export.
|
| Constructor and Description |
|---|
ExportTable() |
| Modifier and Type | Method and Description |
|---|---|
String |
execute() |
long |
getContentLength() |
String |
getContentType() |
String |
getExportFileName() |
InputStream |
getInputStream() |
void |
setEntityType(EchoBaseUserEntityEnum entityType) |
void |
setExportAsSeen(boolean exportAsSeen) |
void |
setExportFileName(String exportFileName) |
addFlashError, addFlashMessage, addFlashWarning, formatDate, formatMonth, getDocumentation, getDocumentation, getEchoBaseApplicationContext, getEchoBaseSession, getServiceContext, newServiceaddActionError, 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 EchoBaseUserEntityEnum entityType
protected String exportFileName
protected boolean exportAsSeen
protected transient InputStream inputStream
protected long contentLength
protected String contentType
@Inject protected transient DbEditorService dbEditorService
@Inject protected transient ExportService exportService
public void setEntityType(EchoBaseUserEntityEnum entityType)
public String getExportFileName()
public void setExportFileName(String exportFileName)
public void setExportAsSeen(boolean exportAsSeen)
public InputStream getInputStream()
public long getContentLength()
public String getContentType()
Copyright © 2011–2015 Ifremer. All rights reserved.