public class ReportManager extends Object implements IReportManager
Constructor and Description |
---|
ReportManager() |
Modifier and Type | Method and Description |
---|---|
Report |
getReport(String reportId)
Returns the report with the given identifier.
|
ReportType |
getReportType(String reportTypeId)
Returns the report type with the given identifier.
|
void |
register(String baseUrl)
Registers a new report type.
|
void |
registerDefaultTypes()
Registers all Portal's default report types.
|
void |
unregister(ReportType reportType)
Unregisters a report type.
|
public Report getReport(String reportId) throws PortalException
IReportManager
getReport
in interface IReportManager
PortalObjectNotFoundException
- if no report exists with the given
identifier.PortalException
public ReportType getReportType(String reportTypeId) throws PortalException
IReportManager
getReportType
in interface IReportManager
PortalObjectNotFoundException
- if no report type exists with
the given identifier.PortalException
public void register(String baseUrl) throws PortalException
IReportManager
register
in interface IReportManager
baseUrl
- the path to the report type definition folder,
relative to lumisdata/def.PortalException
public void unregister(ReportType reportType) throws PortalException
IReportManager
unregister
in interface IReportManager
reportType
- the report type.PortalException
public void registerDefaultTypes() throws PortalException
IReportManager
registerDefaultTypes
in interface IReportManager
PortalException
Lumisportal 9.0.0.160603 - Copyright © 2006–2016 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.