Package com.day.cq.wcm.core.stats
Class PageViewStatisticsImpl
- java.lang.Object
-
- com.day.cq.wcm.core.stats.PageViewStatisticsImpl
-
- All Implemented Interfaces:
PageViewStatistics
@Service public class PageViewStatisticsImpl extends Object implements PageViewStatistics
Little utility for Page-Statistics. Allows to configure theURLto be called for tracking page-views. Contains convenience for the running of the impression statistics. Is a hook to add possible access to remote reports.- See Also:
PageViewStatistics
-
-
Constructor Summary
Constructors Constructor Description PageViewStatisticsImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URIgetTrackingURI()Get the URI that is supposed to receive tracking data from this instance.URLgetTrackingURL()Get the URL that is supposed to receive tracking data from this instanceObject[]report(Page page)Run a report for the given page
-
-
-
Method Detail
-
getTrackingURL
public URL getTrackingURL()
Description copied from interface:PageViewStatisticsGet the URL that is supposed to receive tracking data from this instance- Specified by:
getTrackingURLin interfacePageViewStatistics- Returns:
- or
nullif none configured - See Also:
PageViewStatistics.getTrackingURL()
-
getTrackingURI
public URI getTrackingURI()
Description copied from interface:PageViewStatisticsGet the URI that is supposed to receive tracking data from this instance.- Specified by:
getTrackingURIin interfacePageViewStatistics- Returns:
- or
nullif none configured - See Also:
PageViewStatistics.getTrackingURL()
-
report
public Object[] report(Page page) throws WCMException
Description copied from interface:PageViewStatisticsRun a report for the given page- Specified by:
reportin interfacePageViewStatistics- Parameters:
page- to report- Returns:
- report or
nullif none at all - Throws:
WCMException- in case of error running report- See Also:
PageViewStatistics.report(com.day.cq.wcm.api.Page)
-
-