|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ReportFilter
An interface to report filters.
| Method Summary | |
|---|---|
Variable |
createVariable(String type)
Creates a new variable MBean instance of the specified type. |
CharSequence |
evaluate(ReportLayout[] layouts,
String extension,
ServletRequest request,
ServletResponse response,
FilterChain chain)
Evaluates the specified reports and returns them as a char sequence. |
void |
export(ReportLayout[] layouts,
String extension,
ServletRequest request,
ServletResponse response,
FilterChain chain)
Exports the specified reports directly to the response. |
ObjectName |
getReportEngineName()
Gets the report engine of this filter. |
ObjectName |
getVariableRegistryName()
Gets the the variable registry of this filter. |
boolean |
isLocalizedReports()
Gets the localized forms flag. |
ReportLayout |
process(CharSequence source,
Map params,
TableModel data,
ServletRequest request,
ServletResponse response,
FilterChain chain)
Processes a report layout from the specified char sequence. |
ReportLayout |
process(String path,
Map params,
TableModel data,
ServletRequest request,
ServletResponse response,
FilterChain chain)
Processes a report layout from the specified source path. |
void |
setLocalizedReports(boolean flag)
Sets the localized forms flag. |
void |
setReportEngineName(ObjectName engine)
Sets the report engine of this filter. |
void |
setVariableRegistryName(ObjectName registry)
Sets the variable registry of this filter. |
| Methods inherited from interface javax.servlet.Filter |
|---|
destroy, doFilter, init |
| Method Detail |
|---|
boolean isLocalizedReports()
void setLocalizedReports(boolean flag)
flag - the localized forms flag.ObjectName getReportEngineName()
void setReportEngineName(ObjectName engine)
engine - the object name of the report engine or a query.ObjectName getVariableRegistryName()
void setVariableRegistryName(ObjectName registry)
registry - the object name of the variable registry or a query.
ReportLayout process(CharSequence source,
Map params,
TableModel data,
ServletRequest request,
ServletResponse response,
FilterChain chain)
throws LogException
source - the source sequence.params - the parameters.data - the data model.request - the request.response - the response.chain - the filter chain.
LogException - on errors.
ReportLayout process(String path,
Map params,
TableModel data,
ServletRequest request,
ServletResponse response,
FilterChain chain)
throws LogException
path - the source path.params - the parameters.data - the data model.request - the request.response - the response.chain - the filter chain.
LogException - on errors.
CharSequence evaluate(ReportLayout[] layouts,
String extension,
ServletRequest request,
ServletResponse response,
FilterChain chain)
throws LogException
layouts - the layouts.extension - the type.request - the request.response - the response.chain - the filter chain.
LogException - on errors.
void export(ReportLayout[] layouts,
String extension,
ServletRequest request,
ServletResponse response,
FilterChain chain)
throws LogException
layouts - the layouts.extension - the extension.request - the request.response - the response.chain - the filter chain.
LogException - on errors.
Variable createVariable(String type)
throws ConstructionException
type - the type of the variable.
ConstructionException - if construction fails.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||