public class FilterStorage extends ReportStorage
FilterStorage
contains some other report storage, which it
uses as its basic storage. A filter storage may suppress, duplicate, change
or modify a report in any other way. This class itself simply overrides
storeReport
and pass all calls to this method to the
contained storage. Subclasses of the FilterStorage
may
override this method to execute modifications.Modifier and Type | Field and Description |
---|---|
protected ReportStorage |
storage |
Constructor and Description |
---|
FilterStorage(ReportStorage storage)
Creates a new filter storage.
|
Modifier and Type | Method and Description |
---|---|
void |
storeReport(Report report,
ReportContext ctx)
Invoked by the report engine to store a report.
|
finish, init
protected ReportStorage storage
public FilterStorage(ReportStorage storage)
storage
- Contained storage.public void storeReport(Report report, ReportContext ctx) throws ReportException
ReportStorage
storeReport
in class ReportStorage
report
- Reportctx
- Context of reportReportException
© 2003-2011 by Sascha Schmidt (vision-cloud.de). All Rights Reserved.