Package ubic.gemma.core.analysis.report
Class WhatsNewServiceImpl
- java.lang.Object
-
- ubic.gemma.core.analysis.report.WhatsNewServiceImpl
-
- All Implemented Interfaces:
WhatsNewService
@Component("whatsNewService") public class WhatsNewServiceImpl extends Object implements WhatsNewService
Service to collect data on object that are new in the system.- Author:
- pavlidis
-
-
Constructor Summary
Constructors Constructor Description WhatsNewServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WhatsNewgenerateWeeklyReport()Generate and save the report from last week.WhatsNewgetDailyReport()Generate the report from yesterday.WhatsNewgetLatestWeeklyReport()Retrieve the latest weekly report if available.WhatsNewgetWeeklyReport()Generate the report from last week.
-
-
-
Method Detail
-
getDailyReport
@Transactional(readOnly=true) public WhatsNew getDailyReport()
Description copied from interface:WhatsNewServiceGenerate the report from yesterday.- Specified by:
getDailyReportin interfaceWhatsNewService- Returns:
- new or updated objects from within a day ago.
-
getWeeklyReport
@Transactional(readOnly=true) public WhatsNew getWeeklyReport()
Description copied from interface:WhatsNewServiceGenerate the report from last week.- Specified by:
getWeeklyReportin interfaceWhatsNewService- Returns:
- new or updated objects from within one week ago.
-
generateWeeklyReport
@Transactional(readOnly=true) public WhatsNew generateWeeklyReport()
Description copied from interface:WhatsNewServiceGenerate and save the report from last week. It can later be retrieved withWhatsNewService.getLatestWeeklyReport().- Specified by:
generateWeeklyReportin interfaceWhatsNewService
-
getLatestWeeklyReport
@Transactional(readOnly=true) public WhatsNew getLatestWeeklyReport()
Description copied from interface:WhatsNewServiceRetrieve the latest weekly report if available.- Specified by:
getLatestWeeklyReportin interfaceWhatsNewService- Returns:
- the latest weekly report, or null if unavailable
-
-