org.polliwog.data
Class VisitorData
java.lang.Object
org.polliwog.data.VisitorData
- Direct Known Subclasses:
- DailyVisitorData
public class VisitorData
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
humanVisitSummaries
protected java.util.List humanVisitSummaries
hvsMap
protected java.util.Map hvsMap
externalSites
protected java.util.List externalSites
VisitorData
public VisitorData(VisitorEnvironment ve)
getVisitCollection
public java.util.List getVisitCollection(java.lang.String name)
getHitCollection
public java.util.List getHitCollection(java.lang.String name)
addToHitCollection
public void addToHitCollection(java.lang.String name,
Hit h)
addToVisitCollection
public void addToVisitCollection(java.lang.String name,
Visit v)
getVisitorEnvironment
public VisitorEnvironment getVisitorEnvironment()
getHitPage
public HitPage getHitPage(Hit h,
boolean parmsArePartOfPage)
getHitPage
public HitPage getHitPage(java.lang.String t,
SiteArea sa,
java.lang.String uri)
setSiteAreas
public void setSiteAreas(java.util.List l)
getSiteAreas
public java.util.List getSiteAreas()
getSite
public java.lang.String getSite()
getOutputDirectory
public java.io.File getOutputDirectory()
throws WeblogException
- Throws:
WeblogException
addLogFile
public void addLogFile(LogFileInfo lfi)
getHumanVisitStatistics
public HitStatistics getHumanVisitStatistics()
getHumanPagesCount
public int getHumanPagesCount()
getAverageHumanPagesCount
public int getAverageHumanPagesCount()
getAverageDailyVisitorCount
public int getAverageDailyVisitorCount()
getAverageHumanVisitTime
public long getAverageHumanVisitTime()
getHumanVisitDuration
public long getHumanVisitDuration()
getHumanDownloads
public long getHumanDownloads()
getStatisticsSummary
public HitStatistics getStatisticsSummary()
getVisitCount
public int getVisitCount()
incrementVisitCount
public void incrementVisitCount()
addExternalSites
public void addExternalSites(java.util.List exSites)
addHumanVisitSummary
public void addHumanVisitSummary(HumanVisitSummary hvs)
getHumanVisitSummaries
public java.util.List getHumanVisitSummaries()
getHumanVisitSummary
public HumanVisitSummary getHumanVisitSummary(java.lang.String id)
addCountryStatistics
public void addCountryStatistics(java.lang.String country,
HitStatistics hs)
getAllCountryStatistics
public java.util.Map getAllCountryStatistics()
getCountryStatisticsAsList
public java.util.List getCountryStatisticsAsList()
getCountryStatistics
public CountryStatistics getCountryStatistics(java.lang.String cid)
addSearch
public void addSearch(SearchEngineSearch ses)
setSearches
protected void setSearches(java.util.List s)
addSearches
public void addSearches(java.util.List searches)
getHitPages
public java.util.List getHitPages()
getSearches
public java.util.List getSearches()
getSearchEngineVisitsAsList
public java.util.List getSearchEngineVisitsAsList()
getSearchEngineVisits
public java.util.Map getSearchEngineVisits()
addSearchEngineVisit
public SearchEngineVisit addSearchEngineVisit(Visit v)
addExternalSite
public void addExternalSite(Hit h)
getExternalSites
public java.util.List getExternalSites()
getOverallStatistics
public HitStatistics getOverallStatistics()
addToStats
public void addToStats(Hit hit)
throws WeblogException
- Throws:
WeblogException
getLogFiles
public java.util.List getLogFiles()
Copyright © 2007 Gary Bentley. All Rights Reserved.