@Deprecated public abstract class AbstractReportManager extends Object implements ReportManager
| Constructor and Description |
|---|
AbstractReportManager()
Deprecated.
The default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Report |
generate(String reportName,
Map<String,Object> params)
Deprecated.
This method returns the report associated with the supplied name and parameters.
|
ReportContext |
getContext()
Deprecated.
This method returns the report context.
|
List<ReportDefinition> |
getReportDefinitions()
Deprecated.
This method returns a list of registered report definitions.
|
protected void |
init()
Deprecated.
This method initializes the report manager.
|
void |
register(ReportDefinition rd)
Deprecated.
This method registers the supplied report definition.
|
void |
setContext(ReportContext context)
Deprecated.
This method sets the report context.
|
void |
unregister(ReportDefinition rd)
Deprecated.
This method unregisters the supplied report definition.
|
public AbstractReportManager()
@PostConstruct protected void init()
public void setContext(ReportContext context)
context - The contextpublic ReportContext getContext()
public void register(ReportDefinition rd) throws Exception
register in interface ReportManagerrd - The report definitionException - Failed to register reportpublic void unregister(ReportDefinition rd) throws Exception
unregister in interface ReportManagerrd - The report definitionException - Failed to unregister reportpublic List<ReportDefinition> getReportDefinitions()
getReportDefinitions in interface ReportManagerpublic Report generate(String reportName, Map<String,Object> params) throws Exception
generate in interface ReportManagerreportName - The report nameparams - The report parametersException - Failed to generate the reportCopyright © 2013-2015 JBoss by Red Hat. All Rights Reserved.