org.polliwog.data
Class Visit

java.lang.Object
  extended by org.polliwog.data.Visit

public class Visit
extends java.lang.Object


Constructor Summary
Visit(java.lang.String id, VisitorData vd)
           
 
Method Summary
 void addHit(Hit hit)
           
 void addSiteArea(SiteArea a, Hit nh)
           
 void clearPages()
           
 void finaliseData()
           
 Browser getBrowser()
           
 java.lang.String getCountry()
           
 java.util.Date getEnd()
           
 Hit getEntryPage()
           
 Hit getExitPage()
           
 java.util.List getExternalSites()
           
 HitStatistics getHitStatistics()
           
 java.lang.String getHostname()
           
 java.lang.String getId()
           
 Hit getLastPage()
           
 com.maxmind.geoip.Location getLocation()
           
 java.util.List getPages()
           
 java.util.List getSearches()
           
 java.util.List getSiteAreas()
           
 java.util.Date getStart()
           
 java.lang.String getUserAgent()
           
 java.lang.String getUserAgentsAsString(java.lang.String sep)
           
 long getVisitDuration()
           
 VisitorData getVisitorData()
           
 boolean isHumanVisit()
           
 void setBrowser(Browser b)
           
 void setHostname(java.lang.String host)
           
 void setLocation(com.maxmind.geoip.Location l)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Visit

public Visit(java.lang.String id,
             VisitorData vd)
Method Detail

finaliseData

public void finaliseData()

getSiteAreas

public java.util.List getSiteAreas()

getVisitorData

public VisitorData getVisitorData()

getUserAgent

public java.lang.String getUserAgent()

getStart

public java.util.Date getStart()

getBrowser

public Browser getBrowser()

setBrowser

public void setBrowser(Browser b)

getVisitDuration

public long getVisitDuration()

getEnd

public java.util.Date getEnd()

getHitStatistics

public HitStatistics getHitStatistics()

getId

public java.lang.String getId()

getPages

public java.util.List getPages()

getHostname

public java.lang.String getHostname()

getUserAgentsAsString

public java.lang.String getUserAgentsAsString(java.lang.String sep)

isHumanVisit

public boolean isHumanVisit()

addSiteArea

public void addSiteArea(SiteArea a,
                        Hit nh)

addHit

public void addHit(Hit hit)
            throws WeblogException
Throws:
WeblogException

getExternalSites

public java.util.List getExternalSites()

getSearches

public java.util.List getSearches()

getExitPage

public Hit getExitPage()

getEntryPage

public Hit getEntryPage()

getLastPage

public Hit getLastPage()

clearPages

public void clearPages()

setHostname

public void setHostname(java.lang.String host)

getLocation

public com.maxmind.geoip.Location getLocation()

getCountry

public java.lang.String getCountry()

setLocation

public void setLocation(com.maxmind.geoip.Location l)


  Copyright © 2007 Gary Bentley. All Rights Reserved.