public class DocumentStatsStoreItem extends AbstractStatsStoreItem
context, name, period, periodDate, periodType
Constructor and Description |
---|
DocumentStatsStoreItem(String name,
Date periodDate,
StatsUtil.PeriodType periodType,
String action,
boolean isVisit,
XWikiContext context)
Create new instance of
DocumentStatsStoreItem . |
Modifier and Type | Method and Description |
---|---|
String |
getId() |
void |
storeInternal(List<XWikiStatsStoreItem> stats)
Store provided statistics into the database.
|
store
public DocumentStatsStoreItem(String name, Date periodDate, StatsUtil.PeriodType periodType, String action, boolean isVisit, XWikiContext context)
DocumentStatsStoreItem
.name
- can be:
periodDate
- the period date.periodType
- the period type.action
- the action made on provided wiki/space/document.isVisit
- is this part of a user visit.context
- the XWiki context.public String getId()
public void storeInternal(List<XWikiStatsStoreItem> stats)
AbstractStatsStoreItem
storeInternal
in class AbstractStatsStoreItem
stats
- the list of statistics item to store.Copyright © 2004–2022 XWiki. All rights reserved.