Interface ISiteStatisticsDAO
- All Known Implementing Classes:
SiteStatisticsDAO
public interface ISiteStatisticsDAO
The figures of the site shown on the admin home: counts of its pages and its portlets
-
Method Summary
Modifier and TypeMethodDescriptionintintintcountPagesUpdatedSince(Timestamp dateSince) intintcountPortletsWithStatus(int nStatus)
-
Method Details
-
countPages
int countPages()- Returns:
- the number of pages of the site
-
countPagesRestrictedToRole
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
int countPortlets()- Returns:
- the number of portlets of the site
-
countPortletsWithStatus
int countPortletsWithStatus(int nStatus) - Parameters:
nStatus- the status, Portlet.STATUS_PUBLISHED or Portlet.STATUS_UNPUBLISHED- Returns:
- the number of portlets of that status
-