com.xpn.xwiki.stats.impl
Class XWikiStats
java.lang.Object
com.xpn.xwiki.objects.BaseElement
com.xpn.xwiki.objects.BaseCollection
com.xpn.xwiki.stats.impl.XWikiStats
- All Implemented Interfaces:
- ElementInterface, ObjectInterface, java.io.Serializable
- Direct Known Subclasses:
- DocumentStats, RefererStats, VisitStats
public class XWikiStats
- extends BaseCollection
- See Also:
- Serialized Form
Methods inherited from class com.xpn.xwiki.objects.BaseCollection |
addField, addPropertyForRemoval, checkField, get, getClassName, getDateValue, getDiff, getDoubleValue, getField, getFieldList, getFieldsToRemove, getFloatValue, getId, getIntValue, getIntValue, getLargeStringValue, getLongValue, getMap, getNumber, getProperties, getPropertyList, getPropertyNames, getSetValue, getStringValue, getxWikiClass, merge, put, removeField, safeget, safeput, setClassName, setDateValue, setDoubleValue, setFields, setFieldsToRemove, setFloatValue, setIntValue, setLargeStringValue, setLongValue, setNumber, setSetValue, setStringValue, toString, toXMLString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
PERIOD_MONTH
public static int PERIOD_MONTH
PERIOD_DAY
public static int PERIOD_DAY
XWikiStats
public XWikiStats()
XWikiStats
public XWikiStats(java.util.Date period,
int periodtype)
getPeriod
public int getPeriod()
setPeriod
public void setPeriod(int period)
getPeriodAsInt
public int getPeriodAsInt(java.util.Date date,
int type)
getPageViews
public int getPageViews()
setPageViews
public void setPageViews(int pageViews)
incPageViews
public void incPageViews()
hashCode
public int hashCode()
- Overrides:
hashCode
in class BaseCollection
setId
public void setId(int id)
- Overrides:
setId
in class BaseCollection
clone
public java.lang.Object clone()
- Overrides:
clone
in class BaseCollection
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class BaseCollection
toXML
public org.dom4j.Element toXML(BaseClass bclass)
- Specified by:
toXML
in interface ObjectInterface
- Specified by:
toXML
in class BaseCollection
fromXML
public void fromXML(org.dom4j.Element oel)
throws XWikiException
- Throws:
XWikiException
Copyright 2003 Ludovic Dubost