Package 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: 0c74cb73a41dd81281de01ab4c31e2353cc16f82 $
-
-
Field Summary
-
Fields inherited from class com.xpn.xwiki.stats.impl.xwiki.AbstractStatsStoreItem
context, name, period, periodDate, periodType
-
-
Constructor Summary
Constructors Constructor Description RefererStatsStoreItem(String name, Date periodDate, StatsUtil.PeriodType periodType, String referer, XWikiContext context)
Create new instance ofRefererStatsStoreItem
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getId()
void
storeInternal(List<XWikiStatsStoreItem> stats)
Store provided statistics into the database.-
Methods inherited from class com.xpn.xwiki.stats.impl.xwiki.AbstractStatsStoreItem
store
-
-
-
-
Constructor Detail
-
RefererStatsStoreItem
public RefererStatsStoreItem(String name, Date periodDate, StatsUtil.PeriodType periodType, String referer, XWikiContext context)
Create new instance ofRefererStatsStoreItem
.- Parameters:
name
- the full name of the document.periodDate
- the period date.periodType
- the period type.referer
- the referer.context
- the XWiki context.
-
-
Method Detail
-
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 classAbstractStatsStoreItem
- Parameters:
stats
- the list of statistics item to store.
-
-