Class CmsWorkplaceReport

java.lang.Object
org.opencms.report.A_CmsReport
org.opencms.report.CmsWorkplaceReport
All Implemented Interfaces:
I_CmsReport

public class CmsWorkplaceReport extends A_CmsReport
Report class for displaying reports to the user in the workplace.

The difference to the older CmsHtmlReport class is that this can be used from both the old and the new Vaadin-based workplace, without having to decide when the report is created. Instead, the 'client' requesting report updates has to pass in a report update formatter instance, which is then used to format the report update for each case.

  • Field Details

  • Constructor Details

    • CmsWorkplaceReport

      public CmsWorkplaceReport(Locale locale, String siteRoot, boolean isTransient, Object logChannel)
      Constructs a new report using the provided locale for the output language.

      Parameters:
      locale - the locale to use for the output language
      siteRoot - the site root of the user who started this report (may be null)
      isTransient - If set to true nothing is kept in memory
      logChannel - the log channel to send the report output to (or null if this shouldn't be done)
    • CmsWorkplaceReport

      public CmsWorkplaceReport(Locale locale, String siteRoot, Object logChannel)
      Constructs a new report using the provided locale for the output language.

      Parameters:
      locale - the locale to use for the output language
      siteRoot - the site root of the user who started this report (may be null)
      logChannel - the log channel to send the report output to (or null if this shouldn't be done)
  • Method Details