public class DJResult
extends com.opensymphony.webwork.views.jasperreports.JasperReportsResult
| Modifier and Type | Field and Description |
|---|---|
protected String |
documentFormat |
protected String |
dynamicReport |
protected String |
exportParams |
static String |
LAYOUT_CLASSIC |
static String |
LAYOUT_LIST |
protected String |
layoutManager
The layout manager to use.
|
protected String |
parameters |
contentDisposition, dataSource, delimiter, documentName, format, imageServletUrlDEFAULT_PARAM, encode, location, parse| Constructor and Description |
|---|
DJResult() |
| Modifier and Type | Method and Description |
|---|---|
protected net.sf.jasperreports.engine.JRDataSource |
buildJRDataSource(Object dsCandidate)
returns the JRDataSource pointed by the result-type parameter "dataSource"
Accepts JRDataSource, Collection, ResultSet and Object[]
|
protected void |
checkParams() |
protected Object |
conditionalParse(String _param,
com.opensymphony.xwork.ActionInvocation _invocation,
Class _type) |
protected void |
doExecute(String _finalLocation,
com.opensymphony.xwork.ActionInvocation _invocation)
Executes the result given a final location (jsp page, action, etc) and the action invocation
(the state in which the action was executed).
|
protected String |
getContentDisposition(com.opensymphony.xwork.ActionInvocation _invocation) |
protected String |
getDocumentName(com.opensymphony.xwork.ActionInvocation _invocation) |
protected DynamicReport |
getDynamicReport(com.opensymphony.xwork.ActionInvocation _invocation) |
String |
getExportParams() |
protected Map |
getExportParams(com.opensymphony.xwork.ActionInvocation _invocation) |
protected String |
getFormat(com.opensymphony.xwork.ActionInvocation _invocation) |
String |
getLayoutManager() |
protected LayoutManager |
getLayOutManagerObj(com.opensymphony.xwork.ActionInvocation _invocation)
Returns the export format indicated in the result-type parameter "layoutManager"
|
protected Map |
getParametersMap(com.opensymphony.xwork.ActionInvocation _invocation)
Returns the object pointed by the result-type parameter "parameters"
|
protected void |
handleConTypeRequest(javax.servlet.http.HttpServletResponse _response) |
void |
setDynamicReport(String _dynamicReport) |
void |
setExportParams(String exportParams) |
void |
setLayoutManager(String layoutManager) |
void |
setParameters(String parameters) |
protected void |
setResponseHeaders(javax.servlet.http.HttpServletResponse _response,
com.opensymphony.xwork.ActionInvocation _invocation) |
protected void |
writeReponse(javax.servlet.http.HttpServletRequest _request,
javax.servlet.http.HttpServletResponse _response,
net.sf.jasperreports.engine.JasperPrint _jasperPrint,
com.opensymphony.xwork.ActionInvocation _invocation) |
getImageServletUrl, setContentDisposition, setDataSource, setDelimiter, setDocumentName, setFormat, setImageServletUrlpublic static final String LAYOUT_CLASSIC
public static final String LAYOUT_LIST
protected String dynamicReport
protected String documentFormat
protected String layoutManager
protected String exportParams
protected String parameters
public void setDynamicReport(String _dynamicReport)
protected void doExecute(String _finalLocation, com.opensymphony.xwork.ActionInvocation _invocation) throws Exception
doExecute in class com.opensymphony.webwork.views.jasperreports.JasperReportsResult_finalLocation - the location (jsp page, action, etc) to go to._invocation - the execution state of the action.Exception - if an error occurs while executing the result.protected Map getParametersMap(com.opensymphony.xwork.ActionInvocation _invocation)
_invocation - protected net.sf.jasperreports.engine.JRDataSource buildJRDataSource(Object dsCandidate)
dsCandidate - protected LayoutManager getLayOutManagerObj(com.opensymphony.xwork.ActionInvocation _invocation)
_invocation - protected void handleConTypeRequest(javax.servlet.http.HttpServletResponse _response)
throws javax.servlet.ServletException
javax.servlet.ServletExceptionprotected void checkParams()
protected void setResponseHeaders(javax.servlet.http.HttpServletResponse _response,
com.opensymphony.xwork.ActionInvocation _invocation)
protected void writeReponse(javax.servlet.http.HttpServletRequest _request,
javax.servlet.http.HttpServletResponse _response,
net.sf.jasperreports.engine.JasperPrint _jasperPrint,
com.opensymphony.xwork.ActionInvocation _invocation)
throws net.sf.jasperreports.engine.JRException,
IOException
net.sf.jasperreports.engine.JRExceptionIOExceptionprotected Map getExportParams(com.opensymphony.xwork.ActionInvocation _invocation)
protected DynamicReport getDynamicReport(com.opensymphony.xwork.ActionInvocation _invocation)
protected String getFormat(com.opensymphony.xwork.ActionInvocation _invocation)
protected String getDocumentName(com.opensymphony.xwork.ActionInvocation _invocation)
protected String getContentDisposition(com.opensymphony.xwork.ActionInvocation _invocation)
protected Object conditionalParse(String _param, com.opensymphony.xwork.ActionInvocation _invocation, Class _type)
public String getLayoutManager()
public void setLayoutManager(String layoutManager)
public String getExportParams()
public void setExportParams(String exportParams)
public void setParameters(String parameters)
Copyright © 2006–2015 FDV Solutions. All rights reserved.