|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.xpn.xwiki.stats.impl.xwiki.AbstractStatsStoreItem
public abstract class AbstractStatsStoreItem
Base class of interface XWikiStatsStoreItem
.
Field Summary | |
---|---|
protected XWikiContext |
context
The XWiki context clone made when this statistics event occurred. |
protected String |
name
The statistic name. |
protected int |
period
The period. |
protected Date |
periodDate
The period date. |
protected StatsUtil.PeriodType |
periodType
The period type. |
Constructor Summary | |
---|---|
AbstractStatsStoreItem(String name,
Date periodDate,
StatsUtil.PeriodType periodType,
XWikiContext context)
|
Method Summary | |
---|---|
void |
store(List<XWikiStatsStoreItem> statsList)
Store provided statistics into the database. |
protected abstract void |
storeInternal(List<XWikiStatsStoreItem> statsList)
Store provided statistics into the database. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.xpn.xwiki.stats.impl.xwiki.XWikiStatsStoreItem |
---|
getId |
Field Detail |
---|
protected XWikiContext context
protected String name
protected Date periodDate
protected StatsUtil.PeriodType periodType
protected int period
Constructor Detail |
---|
public AbstractStatsStoreItem(String name, Date periodDate, StatsUtil.PeriodType periodType, XWikiContext context)
name
- the statistic name.periodDate
- the period date.periodType
- the period type.context
- the XWiki context.Method Detail |
---|
public void store(List<XWikiStatsStoreItem> statsList)
XWikiStatsStoreItem
store
in interface XWikiStatsStoreItem
statsList
- the list of statistics item to store.protected abstract void storeInternal(List<XWikiStatsStoreItem> statsList)
statsList
- the list of statistics item to store.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |