|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.day.crx.statistics.Entry
com.day.cq.wcm.core.stats.PageView
public class PageView
PageView provides an Entry for storing Page
related statistics.
| Field Summary | |
|---|---|
static String |
ROLLING_MONTH_COUNT
Name of the property that contains the rolling month count |
static String |
ROLLING_WEEK_COUNT
Name of the property that contains the rolling week count |
static String |
VIEWS
Name of the property that contains the view count |
| Constructor Summary | |
|---|---|
PageView(String pathPrefix,
Page page,
WCMMode mode)
Creates a new PageView instance. |
|
| Method Summary | |
|---|---|
protected com.day.crx.statistics.PathBuilder |
getPathBuilder()
|
void |
write(Node node)
Writes the statistics to the passed node. |
| Methods inherited from class com.day.crx.statistics.Entry |
|---|
getPath, getPathPrefix, getTimestamp, setPathPrefix, setTimestamp, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String VIEWS
public static final String ROLLING_WEEK_COUNT
public static final String ROLLING_MONTH_COUNT
| Constructor Detail |
|---|
public PageView(String pathPrefix,
Page page,
WCMMode mode)
PageView instance.
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 Detail |
|---|
protected com.day.crx.statistics.PathBuilder getPathBuilder()
getPathBuilder in class com.day.crx.statistics.Entry
public void write(Node node)
throws RepositoryException
write in class com.day.crx.statistics.Entrynode - the node where to write the statistics
RepositoryException - if an error occurs while writing
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||