com.xpn.xwiki.stats.impl.xwiki
Class RefererStatsStoreItem
java.lang.Object
com.xpn.xwiki.stats.impl.xwiki.AbstractStatsStoreItem
com.xpn.xwiki.stats.impl.xwiki.RefererStatsStoreItem
- All Implemented Interfaces:
- XWikiStatsStoreItem
public class RefererStatsStoreItem
- extends AbstractStatsStoreItem
Store referer statistics into the database.
- Since:
- 1.4M2
- Version:
- $Id: e0b3852d147a6df9f5e019b0daa48ae1fb75ff8c $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RefererStatsStoreItem
public RefererStatsStoreItem(String name,
Date periodDate,
StatsUtil.PeriodType periodType,
String referer,
XWikiContext context)
- Create new instance of
RefererStatsStoreItem
.
- Parameters:
name
- the full name of the document.periodDate
- the period date.periodType
- the period type.referer
- the referer.context
- the XWiki context.
getId
public String getId()
- Returns:
- identifier for this type of store item. This value is used to merge same statistics in one database
query.
storeInternal
public void storeInternal(List<XWikiStatsStoreItem> stats)
- Description copied from class:
AbstractStatsStoreItem
- Store provided statistics into the database.
- Specified by:
storeInternal
in class AbstractStatsStoreItem
- Parameters:
stats
- the list of statistics item to store.
Copyright © 2004–2014 XWiki. All rights reserved.