|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.joseluismartin.gui.report.ReportManager.ProcessFileStrategy
public abstract class ReportManager.ProcessFileStrategy
Strategy to process the jasper file. Different strategies depending on the system used to retrieve the data (JRDataSource, java.sql.Connection)
| Constructor Summary | |
|---|---|
ReportManager.ProcessFileStrategy()
|
|
| Method Summary | |
|---|---|
FileProcessor |
getFileProcessor()
|
Map<String,Object> |
getParameters()
|
boolean |
isInteractive()
|
boolean |
preprocessFile(Report report)
Pre-process file. |
void |
processFile(Report report,
String outputType,
Object reportDataSource)
Process the report with this reportDataSource. |
void |
setFileProcessor(FileProcessor fileProcessor)
|
void |
setInteractive(boolean interactive)
|
void |
setParameters(Map<String,Object> parameters)
|
abstract void |
setReportDataSource(FileProcessor fp,
Object obj)
Set the data source in this file processor. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReportManager.ProcessFileStrategy()
| Method Detail |
|---|
public abstract void setReportDataSource(FileProcessor fp,
Object obj)
fp - obj - public boolean preprocessFile(Report report)
file -
public void processFile(Report report,
String outputType,
Object reportDataSource)
throws ReportingException,
IOException
report - outputType - reportDataSource -
ReportingException
IOExceptionpublic boolean isInteractive()
public void setInteractive(boolean interactive)
interactive - the interactive to setpublic Map<String,Object> getParameters()
public void setParameters(Map<String,Object> parameters)
parameters - the parameters to setpublic FileProcessor getFileProcessor()
public void setFileProcessor(FileProcessor fileProcessor)
fileProcessor - the fileProcessor to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||