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 ExportQueryService |
exportQueryService |
protected String |
fileName
File name of the download.
|
protected InputStream |
inputStream
Input stream of the file to download.
|
protected String |
queryId
Id of the query to call.
|
| Constructor and Description |
|---|
DownloadExportQueryResult() |
| Modifier and Type | Method and Description |
|---|---|
String |
execute() |
int |
getContentLength() |
String |
getContentType() |
String |
getFileName() |
InputStream |
getInputStream() |
void |
setExportQueryService(ExportQueryService exportQueryService) |
void |
setFileName(String fileName) |
void |
setQueryId(String queryId) |
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 String queryId
TopiaEntity.getTopiaId()protected transient InputStream inputStream
protected String fileName
protected int contentLength
protected String contentType
protected transient ExportQueryService exportQueryService
public void setQueryId(String queryId)
public InputStream getInputStream()
public void setFileName(String fileName)
public String getFileName()
public int getContentLength()
public String getContentType()
public String execute() throws Exception
execute in interface com.opensymphony.xwork2.Actionexecute in class com.opensymphony.xwork2.ActionSupportExceptionpublic void setExportQueryService(ExportQueryService exportQueryService)
Copyright © 2011–2013 Ifremer. All rights reserved.