de.uplanet.lucy.server.monitor.log.userreport
Class PageVisit

java.lang.Object
  extended by de.uplanet.lucy.server.monitor.log.userreport.VisitBase
      extended by de.uplanet.lucy.server.monitor.log.userreport.PageVisit

public class PageVisit
extends de.uplanet.lucy.server.monitor.log.userreport.VisitBase

Stores the visits of a page for a certain user, session and application.

Version:
$Revision: 59175 $

Constructor Summary
PageVisit(de.uplanet.lucy.server.monitor.log.LogEntry p_entry, java.lang.String p_strAppGuid)
           
 
Method Summary
 java.lang.String getAppGuid()
           
 int getCount()
           
 long getWorkingTime()
           
 IValueHolder<?> getWorkingTimeVH()
           
 boolean setEndpoint(long p_lTimeOut, long p_lInactivity, de.uplanet.lucy.server.monitor.log.LogEntry p_entry)
          Refreshes the endpoint of the visit.
 
Methods inherited from class de.uplanet.lucy.server.monitor.log.userreport.VisitBase
getDuration, getDurationVH, getEndpoint, getEndpointVH, getGuid, getStartpoint, getStartpointVH, newStartPoint
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageVisit

public PageVisit(de.uplanet.lucy.server.monitor.log.LogEntry p_entry,
                 java.lang.String p_strAppGuid)
Parameters:
p_entry - The current log entry.
p_strAppGuid - The application GUID.
Method Detail

getCount

public int getCount()
Returns:
Number of visits.

getAppGuid

public java.lang.String getAppGuid()
Returns:
GUID of the superior application.

setEndpoint

public boolean setEndpoint(long p_lTimeOut,
                           long p_lInactivity,
                           de.uplanet.lucy.server.monitor.log.LogEntry p_entry)
Description copied from class: de.uplanet.lucy.server.monitor.log.userreport.VisitBase
Refreshes the endpoint of the visit. The new endpoint has to be later than the previous one.

Specified by:
setEndpoint in class de.uplanet.lucy.server.monitor.log.userreport.VisitBase
Parameters:
p_lTimeOut - Session timeout.
p_lInactivity - Time till inactivity.
p_entry - The current entry of the logfile.
Returns:
True if the new point was set and false if a new session has begun.

getWorkingTime

public long getWorkingTime()
Specified by:
getWorkingTime in class de.uplanet.lucy.server.monitor.log.userreport.VisitBase
Returns:
The time the user spend working during this visit.

getWorkingTimeVH

public IValueHolder<?> getWorkingTimeVH()
Specified by:
getWorkingTimeVH in class de.uplanet.lucy.server.monitor.log.userreport.VisitBase
Returns:
The time the user spend working during this visit.


Last updated: 2011-01-27
Copyright 2000-2010 United Planet. All Rights Reserved.