Project Wonder 5.0

er.jasperreports
Class ERJRFetchSpecificationReportTask

java.lang.Object
  extended by er.jasperreports.ERJRFetchSpecificationReportTask
All Implemented Interfaces:
ERXTaskPercentComplete, java.util.concurrent.Callable<java.io.File>

public class ERJRFetchSpecificationReportTask
extends java.lang.Object
implements java.util.concurrent.Callable<java.io.File>, ERXTaskPercentComplete

A background task class that creates a JasperReports report in the context of a WebObjects application. Sensible defaults are used. A convenient Builder pattern inner class is provided too.

Author:
kieran

Constructor Summary
ERJRFetchSpecificationReportTask(com.webobjects.eocontrol.EOFetchSpecification fetchSpecification, java.lang.String jasperCompiledReportFileName)
           
ERJRFetchSpecificationReportTask(com.webobjects.eocontrol.EOFetchSpecification fetchSpecification, java.lang.String jasperCompiledReportFileName, java.util.HashMap<java.lang.String,java.lang.Object> parameters)
           
ERJRFetchSpecificationReportTask(com.webobjects.eocontrol.EOFetchSpecification fetchSpecification, java.lang.String jasperCompiledReportFileName, java.lang.String frameworkName, java.util.HashMap<java.lang.String,java.lang.Object> parameters)
           
 
Method Summary
 java.io.File call()
          Callable interface implementation
 java.io.File file()
           
 java.lang.Double percentComplete()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ERJRFetchSpecificationReportTask

public ERJRFetchSpecificationReportTask(com.webobjects.eocontrol.EOFetchSpecification fetchSpecification,
                                        java.lang.String jasperCompiledReportFileName)

ERJRFetchSpecificationReportTask

public ERJRFetchSpecificationReportTask(com.webobjects.eocontrol.EOFetchSpecification fetchSpecification,
                                        java.lang.String jasperCompiledReportFileName,
                                        java.util.HashMap<java.lang.String,java.lang.Object> parameters)

ERJRFetchSpecificationReportTask

public ERJRFetchSpecificationReportTask(com.webobjects.eocontrol.EOFetchSpecification fetchSpecification,
                                        java.lang.String jasperCompiledReportFileName,
                                        java.lang.String frameworkName,
                                        java.util.HashMap<java.lang.String,java.lang.Object> parameters)
Method Detail

call

public java.io.File call()
                  throws java.lang.Exception
Callable interface implementation

Specified by:
call in interface java.util.concurrent.Callable<java.io.File>
Returns:
Throws:
java.lang.Exception

file

public java.io.File file()

percentComplete

public java.lang.Double percentComplete()
Specified by:
percentComplete in interface ERXTaskPercentComplete
Returns:
a Double between 0 and 1.0 indicating how far a task has progressed toward completion. A null return value indicates that percent complete is unknown

Last updated: Tue, Feb 21, 2017 • 05:45 PM CET

Copyright © 2002 – 2007 Project Wonder.