lumis.portal.report
Class ReportManager

Package class diagram package ReportManager
java.lang.Object
  extended by lumis.portal.report.ReportManager
All Implemented Interfaces:
IReportManager

public class ReportManager
extends Object
implements IReportManager

Implementation of report management operations.

Since:
4.2.0

Constructor Summary
ReportManager()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReportManager

public ReportManager()
Method Detail

getReport

public Report getReport(String reportId)
                 throws PortalException
Description copied from interface: IReportManager
Returns the report with the given identifier.

Specified by:
getReport in interface IReportManager
Returns:
the report.
Throws:
PortalObjectNotFoundException - if no report exists with the given identifier.
PortalException

getReportType

public ReportType getReportType(String reportTypeId)
                         throws PortalException
Description copied from interface: IReportManager
Returns the report type with the given identifier.

Specified by:
getReportType in interface IReportManager
Returns:
the report type .
Throws:
PortalObjectNotFoundException - if no report type exists with the given identifier.
PortalException

register

public void register(String baseUrl)
              throws PortalException
Description copied from interface: IReportManager
Registers a new report type.

Specified by:
register in interface IReportManager
Parameters:
baseUrl - the path to the report type definition folder, relative to lumisdata/def.
Throws:
PortalException

unregister

public void unregister(ReportType reportType)
                throws PortalException
Description copied from interface: IReportManager
Unregisters a report type.

Specified by:
unregister in interface IReportManager
Parameters:
reportType - the report type.
Throws:
PortalException

registerDefaultTypes

public void registerDefaultTypes()
                          throws PortalException
Description copied from interface: IReportManager
Registers all Portal's default report types.

Specified by:
registerDefaultTypes in interface IReportManager
Throws:
PortalException


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.