com.xpn.xwiki.stats.impl.xwiki
Class VisitStatsStoreItem
java.lang.Object
com.xpn.xwiki.stats.impl.xwiki.AbstractStatsStoreItem
com.xpn.xwiki.stats.impl.xwiki.VisitStatsStoreItem
- All Implemented Interfaces:
- XWikiStatsStoreItem
public class VisitStatsStoreItem
- extends AbstractStatsStoreItem
Store visit statistics into the database.
- Since:
- 1.4M2
- Version:
- $Id: baea8d5915c56563d9744326fa878b987603e191 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VisitStatsStoreItem
public VisitStatsStoreItem(VisitStats visitStats,
XWikiContext context)
- Create new instance of
VisitStatsStoreItem
.
- Parameters:
visitStats
- the VisitStats
object to store.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-2013 XWiki. All Rights Reserved.