org.polliwog.data
Class Hit

java.lang.Object
  extended by org.polliwog.data.Hit
All Implemented Interfaces:
LogEntry

public class Hit
extends java.lang.Object
implements LogEntry


Constructor Summary
Hit()
           
 
Method Summary
 void addField(AbstractField af)
           
 void clear()
           
 java.util.Date getDate()
           
 long getDuration()
           
 HitPage getHitPage()
           
 java.lang.String getHostname()
           
 HumanVisitSummary getHumanVisitSummary()
           
 java.lang.String getPageTitle()
           
 java.lang.String getPageType()
           
 java.lang.String getPath()
           
 AbstractURIField getReferer()
           
 java.lang.String getRefererPageTitle()
           
 SearchEngineSearch getRefererSearch()
           
 java.net.URI getRefererURI()
           
 AbstractURIField getRequest()
           
 java.lang.String getRequestMethod()
           
 java.util.Map getRequestParameters()
           
 java.net.URI getRequestURI()
           
 SiteArea getSiteArea()
           
 int getSize()
           
 int getStatus()
           
 java.lang.String getUserAgent()
           
 java.lang.String getVisitId()
           
 HumanVisitSummary getVisitor()
           
 VisitorData getVisitorData()
           
 boolean isPage()
           
 boolean isPage(Collector c)
           
 boolean isRefererAPage(Collector c)
           
 boolean isRefererDirectRequest()
           
 boolean isRefererInternal()
           
 boolean isRefererLinkingSite()
           
 boolean isRefererSearchEngineSearch()
           
 void setDuration(long l)
           
 void setHitPage(HitPage p)
           
 void setIsPage(boolean v)
           
 void setPageTitle(java.lang.String t)
           
 void setRefererPageTitle(java.lang.String t)
           
 void setRefererSearch(SearchEngineSearch ses)
           
 void setSiteArea(SiteArea s)
           
 void setVisitId(java.lang.String id)
           
 void setVisitorData(VisitorData vd)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Hit

public Hit()
Method Detail

getDuration

public long getDuration()

setDuration

public void setDuration(long l)

clear

public void clear()

getHitPage

public HitPage getHitPage()

setHitPage

public void setHitPage(HitPage p)

getSiteArea

public SiteArea getSiteArea()

setSiteArea

public void setSiteArea(SiteArea s)

isPage

public boolean isPage()

setIsPage

public void setIsPage(boolean v)

getReferer

public AbstractURIField getReferer()

getRequest

public AbstractURIField getRequest()

getHumanVisitSummary

public HumanVisitSummary getHumanVisitSummary()

getVisitorData

public VisitorData getVisitorData()

setVisitorData

public void setVisitorData(VisitorData vd)

getVisitor

public HumanVisitSummary getVisitor()

getVisitId

public java.lang.String getVisitId()

setVisitId

public void setVisitId(java.lang.String id)

addField

public void addField(AbstractField af)
Specified by:
addField in interface LogEntry

getUserAgent

public java.lang.String getUserAgent()

isRefererAPage

public boolean isRefererAPage(Collector c)
                       throws WeblogException
Throws:
WeblogException

getRefererURI

public java.net.URI getRefererURI()

getStatus

public int getStatus()

getPageType

public java.lang.String getPageType()

getRequestURI

public java.net.URI getRequestURI()

setPageTitle

public void setPageTitle(java.lang.String t)

getRefererSearch

public SearchEngineSearch getRefererSearch()

setRefererSearch

public void setRefererSearch(SearchEngineSearch ses)

isRefererDirectRequest

public boolean isRefererDirectRequest()

isRefererSearchEngineSearch

public boolean isRefererSearchEngineSearch()

setRefererPageTitle

public void setRefererPageTitle(java.lang.String t)

isRefererInternal

public boolean isRefererInternal()

getRefererPageTitle

public java.lang.String getRefererPageTitle()

isRefererLinkingSite

public boolean isRefererLinkingSite()

getPageTitle

public java.lang.String getPageTitle()

getPath

public java.lang.String getPath()

getRequestParameters

public java.util.Map getRequestParameters()

getRequestMethod

public java.lang.String getRequestMethod()

isPage

public boolean isPage(Collector c)
               throws WeblogException
Throws:
WeblogException

getDate

public java.util.Date getDate()

getHostname

public java.lang.String getHostname()

getSize

public int getSize()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


  Copyright © 2007 Gary Bentley. All Rights Reserved.