org.polliwog.data
Class VisitorData

java.lang.Object
  extended by org.polliwog.data.VisitorData
Direct Known Subclasses:
DailyVisitorData

public class VisitorData
extends java.lang.Object


Field Summary
protected  java.util.List externalSites
           
protected  java.util.List humanVisitSummaries
           
protected  java.util.Map hvsMap
           
 
Constructor Summary
VisitorData(VisitorEnvironment ve)
           
 
Method Summary
 void addCountryStatistics(java.lang.String country, HitStatistics hs)
           
 void addExternalSite(Hit h)
           
 void addExternalSites(java.util.List exSites)
           
 void addHumanVisitSummary(HumanVisitSummary hvs)
           
 void addLogFile(LogFileInfo lfi)
           
 void addSearch(SearchEngineSearch ses)
           
 SearchEngineVisit addSearchEngineVisit(Visit v)
           
 void addSearches(java.util.List searches)
           
 void addToHitCollection(java.lang.String name, Hit h)
           
 void addToStats(Hit hit)
           
 void addToVisitCollection(java.lang.String name, Visit v)
           
 java.util.Map getAllCountryStatistics()
           
 int getAverageDailyVisitorCount()
           
 int getAverageHumanPagesCount()
           
 long getAverageHumanVisitTime()
           
 CountryStatistics getCountryStatistics(java.lang.String cid)
           
 java.util.List getCountryStatisticsAsList()
           
 java.util.List getExternalSites()
           
 java.util.List getHitCollection(java.lang.String name)
           
 HitPage getHitPage(Hit h, boolean parmsArePartOfPage)
           
 HitPage getHitPage(java.lang.String t, SiteArea sa, java.lang.String uri)
           
 java.util.List getHitPages()
           
 long getHumanDownloads()
           
 int getHumanPagesCount()
           
 long getHumanVisitDuration()
           
 HitStatistics getHumanVisitStatistics()
           
 java.util.List getHumanVisitSummaries()
           
 HumanVisitSummary getHumanVisitSummary(java.lang.String id)
           
 java.util.List getLogFiles()
           
 java.io.File getOutputDirectory()
           
 HitStatistics getOverallStatistics()
           
 java.util.Map getSearchEngineVisits()
           
 java.util.List getSearchEngineVisitsAsList()
           
 java.util.List getSearches()
           
 java.lang.String getSite()
           
 java.util.List getSiteAreas()
           
 HitStatistics getStatisticsSummary()
           
 java.util.List getVisitCollection(java.lang.String name)
           
 int getVisitCount()
           
 VisitorEnvironment getVisitorEnvironment()
           
 void incrementVisitCount()
           
protected  void setSearches(java.util.List s)
           
 void setSiteAreas(java.util.List l)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

humanVisitSummaries

protected java.util.List humanVisitSummaries

hvsMap

protected java.util.Map hvsMap

externalSites

protected java.util.List externalSites
Constructor Detail

VisitorData

public VisitorData(VisitorEnvironment ve)
Method Detail

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.