Class SiteStatisticsHome

java.lang.Object
fr.paris.lutece.portal.business.page.SiteStatisticsHome

public final class SiteStatisticsHome extends Object
The figures of the site shown on the admin home
  • Method Details

    • countPages

      public static int countPages()
      Returns:
      the number of pages of the site
    • countPagesRestrictedToRole

      public static int countPagesRestrictedToRole()
      Returns:
      the number of pages restricted to a role
    • countPagesUpdatedSince

      public static int countPagesUpdatedSince(Timestamp dateSince)
      Parameters:
      dateSince - the date from which the changes count
      Returns:
      the number of pages changed since that date
    • countPortlets

      public static int countPortlets()
      Returns:
      the number of portlets of the site
    • countPortletsWithStatus

      public static int countPortletsWithStatus(int nStatus)
      Parameters:
      nStatus - the status, Portlet.STATUS_PUBLISHED or Portlet.STATUS_UNPUBLISHED
      Returns:
      the number of portlets of that status