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 WhatsNew
generateWeeklyReport()
Generate and save the report from last week.WhatsNew
getDailyReport()
Generate the report from yesterday.WhatsNew
getLatestWeeklyReport()
Retrieve the latest weekly report if available.WhatsNew
getWeeklyReport()
Generate the report from last week.
-
-
-
Method Detail
-
getDailyReport
@Transactional(readOnly=true) public WhatsNew 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
@Transactional(readOnly=true) public WhatsNew 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
@Transactional(readOnly=true) public WhatsNew 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
@Transactional(readOnly=true) public WhatsNew 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
-
-