com.xpn.xwiki.stats.impl
Class RefererStats

java.lang.Object
  extended by com.xpn.xwiki.objects.BaseElement<R>
      extended by com.xpn.xwiki.objects.BaseCollection
          extended by com.xpn.xwiki.stats.impl.XWikiStats
              extended by com.xpn.xwiki.stats.impl.RefererStats
All Implemented Interfaces:
ElementInterface, ObjectInterface, Serializable, Cloneable

public class RefererStats
extends XWikiStats

The referer statistics database object.

Version:
$Id: 39fa9a077296c3ad627c948eb02b63ab82268e11 $
See Also:
Serialized Form

Nested Class Summary
static class RefererStats.Property
          The properties of document statistics object.
 
Field Summary
 
Fields inherited from class com.xpn.xwiki.objects.BaseCollection
currentReferenceDocumentReferenceResolver, fields, fieldsToRemove, number, relativeEntityReferenceResolver
 
Fields inherited from class com.xpn.xwiki.objects.BaseElement
documentReference, localEntityReferenceSerializer, ownerDocument, referenceCache
 
Constructor Summary
RefererStats()
          Default RefererStats constructor.
RefererStats(String docName, String referer, Date periodDate, StatsUtil.PeriodType periodType)
           
 
Method Summary
 String getReferer()
           
 URL getURL()
           
 void setReferer(String referer)
           
 
Methods inherited from class com.xpn.xwiki.stats.impl.XWikiStats
equals, fromXML, getLocalKey, getPageViews, getPeriod, hashCode, incPageViews, setPageViews, setPeriod, toXML
 
Methods inherited from class com.xpn.xwiki.objects.BaseCollection
addField, addPropertyForRemoval, apply, clone, get, getClassName, getCustomMappingMap, getDateValue, getDiff, getDoubleValue, getField, getFieldList, getFieldsToRemove, getFloatValue, getIntValue, getIntValue, getLargeStringValue, getListValue, getLongValue, getNumber, getProperties, getPropertyList, getPropertyNames, getRelativeXClassReference, getSetValue, getSortedIterator, getStringValue, getXClass, getXClassReference, merge, merge, put, removeField, safeget, safeput, setClassName, setDateValue, setDBStringListValue, setDocumentReference, setDoubleValue, setFields, setFieldsToRemove, setFloatValue, setIntValue, setLargeStringValue, setLongValue, setNumber, setOwnerDocument, setSetValue, setStringListValue, setStringValue, setXClassReference, toString, toXMLString
 
Methods inherited from class com.xpn.xwiki.objects.BaseElement
createReference, getDocumentReference, getId, getLocalUidStringEntityReferenceSerializer, getName, getOwnerDocument, getPrettyName, getReference, setId, 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
getDocumentReference, getName, getReference, setName
 

Constructor Detail

RefererStats

public RefererStats()
Default RefererStats constructor.


RefererStats

public RefererStats(String docName,
                    String referer,
                    Date periodDate,
                    StatsUtil.PeriodType periodType)
Parameters:
docName - the name of the wiki/space/document.
referer - the referer.
periodDate - the date of the period.
periodType - the type of the period.
Method Detail

getReferer

public String getReferer()
Returns:
the referer.

setReferer

public void setReferer(String referer)
Parameters:
referer - the referer.

getURL

public URL getURL()
Returns:
the referer URL.


Copyright © 2004–2014 XWiki. All rights reserved.