com.jaspersoft.jasperserver.war.action
Class ReportExcelExporter

java.lang.Object
  extended by org.springframework.webflow.action.AbstractAction
      extended by org.springframework.webflow.action.MultiAction
          extended by com.jaspersoft.jasperserver.war.action.AbstractReportExporter
              extended by com.jaspersoft.jasperserver.war.action.ReportExcelExporter
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean, org.springframework.webflow.execution.Action

public class ReportExcelExporter
extends AbstractReportExporter

Version:
$Id: ReportExcelExporter.java 10154 2007-09-19 16:55:09Z lucian $
Author:
Lucian Chirita (lucianc@users.sourceforge.net)

Nested Class Summary
 
Nested classes/interfaces inherited from class org.springframework.webflow.action.MultiAction
org.springframework.webflow.action.MultiAction.MethodResolver
 
Field Summary
 
Fields inherited from class org.springframework.webflow.action.AbstractAction
logger
 
Constructor Summary
ReportExcelExporter()
           
 
Method Summary
 void export(org.springframework.webflow.execution.RequestContext context, ExecutionContext executionContext, java.lang.String reportUnitURI, java.util.Map baseParameters)
           
protected  java.lang.String getContentType(org.springframework.webflow.execution.RequestContext context)
           
 XlsExportParametersBean getExportParameters()
           
 ExportParameters getExportParameters(org.springframework.webflow.execution.RequestContext context)
           
protected  void setAdditionalResponseHeaders(org.springframework.webflow.execution.RequestContext context, javax.servlet.http.HttpServletResponse response)
           
 void setExportParameters(XlsExportParametersBean exportParameters)
           
 
Methods inherited from class com.jaspersoft.jasperserver.war.action.AbstractReportExporter
export, exportBuffered, exportToStream, getExecutionContext, getFilename, getFlowAttributeJasperPrintName, getFlowAttributeReportUnitURI, getHttpUtils, getInitialMemoryBufferSize, getJasperPrintAccessor, getMemoryThreshold, getReportName, isSetResponseContentLength, setFlowAttributeJasperPrintName, setFlowAttributeReportUnitURI, setHttpUtils, setInitialMemoryBufferSize, setJasperPrintAccessor, setMemoryThreshold, setSetResponseContentLength
 
Methods inherited from class org.springframework.webflow.action.MultiAction
doExecute, getMethodResolver, setMethodResolver, setTarget
 
Methods inherited from class org.springframework.webflow.action.AbstractAction
afterPropertiesSet, doPostExecute, doPreExecute, error, error, execute, getActionNameForLogging, getEventFactorySupport, initAction, no, result, result, result, result, success, success, yes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReportExcelExporter

public ReportExcelExporter()
Method Detail

getExportParameters

public XlsExportParametersBean getExportParameters()
Returns:
Returns the exportParameters.

getExportParameters

public ExportParameters getExportParameters(org.springframework.webflow.execution.RequestContext context)
Specified by:
getExportParameters in class AbstractReportExporter
Returns:
Returns the exportParameters.

setExportParameters

public void setExportParameters(XlsExportParametersBean exportParameters)
Parameters:
exportParameters - The exportParameters to set.

export

public void export(org.springframework.webflow.execution.RequestContext context,
                   ExecutionContext executionContext,
                   java.lang.String reportUnitURI,
                   java.util.Map baseParameters)
            throws net.sf.jasperreports.engine.JRException,
                   JSException
Specified by:
export in class AbstractReportExporter
Throws:
net.sf.jasperreports.engine.JRException
JSException

getContentType

protected java.lang.String getContentType(org.springframework.webflow.execution.RequestContext context)
Specified by:
getContentType in class AbstractReportExporter

setAdditionalResponseHeaders

protected void setAdditionalResponseHeaders(org.springframework.webflow.execution.RequestContext context,
                                            javax.servlet.http.HttpServletResponse response)
Overrides:
setAdditionalResponseHeaders in class AbstractReportExporter


Copyright © 2007. All Rights Reserved.