Class ReportServiceImpl
- java.lang.Object
-
- org.eclipse.emfforms.internal.common.report.ReportServiceImpl
-
- All Implemented Interfaces:
ReportService
public class ReportServiceImpl extends java.lang.Object implements ReportService
Implementation of aReportService.- Author:
- emueller
-
-
Constructor Summary
Constructors Constructor Description ReportServiceImpl()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddConsumer(ReportServiceConsumer consumer)Adds aReportServiceConsumerthat consumesReportEntities.voidclearReports()Deprecated.java.util.List<AbstractReport>getReports()Deprecated.voidremoveConsumer(ReportServiceConsumer consumer)Removes aReportServiceConsumer.voidreport(AbstractReport reportEntity)Report anAbstractReportto the service.
-
-
-
Method Detail
-
report
public void report(AbstractReport reportEntity)
Report anAbstractReportto the service.- Specified by:
reportin interfaceReportService- Parameters:
reportEntity- the report entity
-
getReports
@Deprecated public java.util.List<AbstractReport> getReports()
Deprecated.Description copied from interface:ReportServiceReturns all ReportEntities.- Specified by:
getReportsin interfaceReportService- Returns:
- all ReportEntries
-
clearReports
@Deprecated public void clearReports()
Deprecated.Description copied from interface:ReportServiceDiscards all ReportEntities.- Specified by:
clearReportsin interfaceReportService
-
addConsumer
public void addConsumer(ReportServiceConsumer consumer)
Adds aReportServiceConsumerthat consumesReportEntities.- Specified by:
addConsumerin interfaceReportService- Parameters:
consumer- aReportServiceConsumer- See Also:
ReportService.addConsumer(org.eclipse.emfforms.spi.common.report.ReportServiceConsumer)
-
removeConsumer
public void removeConsumer(ReportServiceConsumer consumer)
Removes aReportServiceConsumer.- Specified by:
removeConsumerin interfaceReportService- Parameters:
consumer- the consumer to be removed- See Also:
ReportService.removeConsumer(org.eclipse.emfforms.spi.common.report.ReportServiceConsumer)
-
-