com.xpn.xwiki.stats.impl
Class DocumentStats

java.lang.Object
  extended bycom.xpn.xwiki.objects.BaseElement
      extended bycom.xpn.xwiki.objects.BaseCollection
          extended bycom.xpn.xwiki.stats.impl.XWikiStats
              extended bycom.xpn.xwiki.stats.impl.DocumentStats
All Implemented Interfaces:
ElementInterface, ObjectInterface, java.io.Serializable

public class DocumentStats
extends XWikiStats

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.xpn.xwiki.stats.impl.XWikiStats
PERIOD_DAY, PERIOD_MONTH
 
Fields inherited from class com.xpn.xwiki.objects.BaseCollection
 
Fields inherited from class com.xpn.xwiki.objects.BaseElement
 
Constructor Summary
DocumentStats()
           
DocumentStats(java.lang.String docName, java.lang.String action, java.util.Date period, int periodtype)
           
 
Method Summary
 java.lang.String getAction()
           
 int getUniqueVisitors()
           
 int getVisits()
           
 void incUniqueVisitors()
           
 void incVisits()
           
 void setAction(java.lang.String action)
           
 void setUniqueVisitors(int uniqueVisitors)
           
 void setVisits(int visits)
           
 
Methods inherited from class com.xpn.xwiki.stats.impl.XWikiStats
clone, equals, fromXML, getPageViews, getPeriod, getPeriodAsInt, hashCode, incPageViews, setId, setPageViews, setPeriod, toXML
 
Methods inherited from class com.xpn.xwiki.objects.BaseCollection
addField, addPropertyForRemoval, checkField, get, getClassName, getDateValue, getDiff, getField, getFieldList, getFieldsToRemove, getId, getIntValue, getLargeStringValue, getLongValue, getNumber, getProperties, getPropertyList, getPropertyNames, getSetValue, getStringValue, getxWikiClass, merge, put, removeField, safeget, safeput, setClassName, setDateValue, setFields, setFieldsToRemove, setIntValue, setLargeStringValue, setLongValue, setNumber, setSetValue, setStringValue, toString, toXMLString
 
Methods inherited from class com.xpn.xwiki.objects.BaseElement
getName, getPrettyName, setName, setPrettyName
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.xpn.xwiki.objects.ElementInterface
getName, setName
 

Constructor Detail

DocumentStats

public DocumentStats()

DocumentStats

public DocumentStats(java.lang.String docName,
                     java.lang.String action,
                     java.util.Date period,
                     int periodtype)
Method Detail

getAction

public java.lang.String getAction()

setAction

public void setAction(java.lang.String action)

getUniqueVisitors

public int getUniqueVisitors()

setUniqueVisitors

public void setUniqueVisitors(int uniqueVisitors)

incUniqueVisitors

public void incUniqueVisitors()

getVisits

public int getVisits()

setVisits

public void setVisits(int visits)

incVisits

public void incVisits()


Copyright 2003 Ludovic Dubost