Package com.day.cq.wcm.core.stats
Class PageView
java.lang.Object
com.day.crx.statistics.Entry
com.day.cq.wcm.core.stats.PageView
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.day.crx.statistics.Entry
getPath, getPathPrefix, getTimestamp, setPathPrefix, setTimestamp, write
-
Field Details
-
VIEWS
Name of the property that contains the view count- See Also:
-
ROLLING_WEEK_COUNT
Name of the property that contains the rolling week count- See Also:
-
ROLLING_MONTH_COUNT
Name of the property that contains the rolling month count- See Also:
-
-
Constructor Details
-
PageView
Creates a newPageViewinstance.- Parameters:
pathPrefix- the location where the entry information will be storedpage- the page that was viewedmode- the WCM mode that was used to view the page
-
-
Method Details
-
write
Writes the statistics to the passed node.- Overrides:
writein classEntry- Parameters:
node- the node where to write the statistics- Throws:
RepositoryException- if an error occurs while writing
-