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 EchoBaseEntityEnum |
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 |
setDbEditorService(DbEditorService dbEditorService) |
void |
setEntityType(EchoBaseEntityEnum entityType) |
void |
setExportAsSeen(boolean exportAsSeen) |
void |
setExportFileName(String exportFileName) |
void |
setExportService(ExportService exportService) |
addFlashError, addFlashMessage, addFlashWarning, formatDate, formatMonth, getDocumentation, getDocumentation, getEchoBaseApplicationContext, getEchoBaseSession, getServiceContext, newService, setApplicationContext, setEchoBaseSession, setServiceContextaddActionError, 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 EchoBaseEntityEnum entityType
protected String exportFileName
protected boolean exportAsSeen
protected transient InputStream inputStream
protected long contentLength
protected String contentType
protected transient DbEditorService dbEditorService
protected transient ExportService exportService
public void setEntityType(EchoBaseEntityEnum entityType)
public String getExportFileName()
public void setExportFileName(String exportFileName)
public void setExportAsSeen(boolean exportAsSeen)
public InputStream getInputStream()
public long getContentLength()
public String getContentType()
public String execute() throws Exception
execute in interface com.opensymphony.xwork2.Actionexecute in class com.opensymphony.xwork2.ActionSupportExceptionpublic void setDbEditorService(DbEditorService dbEditorService)
public void setExportService(ExportService exportService)
Copyright © 2011–2013 Ifremer. All rights reserved.