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 -
Method Summary
Modifier and TypeMethodDescriptionGenerate and save the report from last week.Generate the report from yesterday.Retrieve the latest weekly report if available.Generate the report from last week.
-
Constructor Details
-
WhatsNewServiceImpl
public WhatsNewServiceImpl()
-
-
Method Details
-
getDailyReport
Description copied from interface:WhatsNewService
Generate the report from yesterday.- Specified by:
getDailyReport
in interfaceWhatsNewService
- Returns:
- new or updated objects from within a day ago.
-
getWeeklyReport
Description copied from interface:WhatsNewService
Generate the report from last week.- Specified by:
getWeeklyReport
in interfaceWhatsNewService
- Returns:
- new or updated objects from within one week ago.
-
generateWeeklyReport
Description copied from interface:WhatsNewService
Generate and save the report from last week. It can later be retrieved withWhatsNewService.getLatestWeeklyReport()
.- Specified by:
generateWeeklyReport
in interfaceWhatsNewService
-
getLatestWeeklyReport
Description copied from interface:WhatsNewService
Retrieve the latest weekly report if available.- Specified by:
getLatestWeeklyReport
in interfaceWhatsNewService
- Returns:
- the latest weekly report, or null if unavailable
-