Class SiteStatisticsHome
java.lang.Object
fr.paris.lutece.portal.business.page.SiteStatisticsHome
The figures of the site shown on the admin home
-
Method Summary
Modifier and TypeMethodDescriptionstatic intstatic intstatic intcountPagesUpdatedSince(Timestamp dateSince) static intstatic intcountPortletsWithStatus(int nStatus)
-
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
- 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
-