public class DownloadExportQueryResult extends EchoBaseActionSupport
| Modifier and Type | Field and Description |
|---|---|
protected int |
contentLength
Length of the file to download.
|
protected String |
contentType
Content type of the file to download.
|
protected String |
fileName
File name of the download.
|
protected InputStream |
inputStream
Input stream of the file to download.
|
protected String |
sql
Sql request to execute.
|
| Constructor and Description |
|---|
DownloadExportQueryResult() |
| Modifier and Type | Method and Description |
|---|---|
String |
execute() |
int |
getContentLength() |
String |
getContentType() |
String |
getFileName() |
InputStream |
getInputStream() |
void |
setFileName(String fileName) |
void |
setSql(String sql) |
addFlashError, addFlashMessage, addFlashWarning, clearFlashErrors, clearFlashMessages, decorateEnums, formatDate, formatMonth, getActionContext, getApplicationVersion, getConfiguration, getDocumentation, getDocumentation, getEchoBaseApplicationContext, getEchoBaseSession, getFlashErrors, getFlashMessages, getFlashWarnings, getParameters, getService, getServiceContext, getSession, hasAnyErrors, hasFlashErrors, hasFlashMessages, hasFlashWarnings, isAdmin, isWorkingDbSelected, loadSortAndDecorate, setParameters, setSessionaddActionError, 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, input, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validateprotected String sql
protected transient InputStream inputStream
protected String fileName
protected int contentLength
protected String contentType
public void setSql(String sql)
public void setFileName(String fileName)
public InputStream getInputStream()
public String getFileName()
public int getContentLength()
public String getContentType()
Copyright © 2011-2012 Ifremer. All Rights Reserved.