Interface WhatsNewService

  • All Known Implementing Classes:
    WhatsNewServiceImpl

    public interface WhatsNewService
    Creates reports that can be shown on the web pages or in social media feeds.

    Reports are always generated from an anonymous user's perspective.

    Author:
    paul
    • Method Detail

      • getDailyReport

        WhatsNew getDailyReport()
        Generate the report from yesterday.
        Returns:
        new or updated objects from within a day ago.
      • getWeeklyReport

        WhatsNew getWeeklyReport()
        Generate the report from last week.
        Returns:
        new or updated objects from within one week ago.
      • generateWeeklyReport

        @Secured("GROUP_AGENT")
        WhatsNew generateWeeklyReport()
        Generate and save the report from last week. It can later be retrieved with getLatestWeeklyReport().
      • getLatestWeeklyReport

        @Nullable
        WhatsNew getLatestWeeklyReport()
        Retrieve the latest weekly report if available.
        Returns:
        the latest weekly report, or null if unavailable