com.dotmarketing.factories
Class ClickstreamFactory
java.lang.Object
com.dotmarketing.factories.ClickstreamFactory
public class ClickstreamFactory
- extends java.lang.Object
The actual stream of clicks tracked during a user's navigation through a
site.
- Author:
- Patrick Lightbody
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClickstreamFactory
public ClickstreamFactory()
addRequest
public static Clickstream addRequest(HttpServletRequest request,
HttpServletResponse response)
- Adds a new request to the stream of clicks. The HttpServletRequest is
converted to a ClickstreamRequest object and added to the clickstream.
- Parameters:
request - The serlvet request to be added to the clickstream
save
public static void save(Clickstream clickstream)
getClickstream
public static java.lang.Object getClickstream(java.lang.String clickstreamId)
getClickstreamsByCookieId
public static java.util.List<Clickstream> getClickstreamsByCookieId(java.lang.String cookieId)
setClickStreamUser
public static void setClickStreamUser(java.lang.String userId,
HttpServletRequest request)
- This method sets the user for the current clickstream on login.
- Parameters:
userId - therequest -
Copyright © 2006 Dotmarketing, Inc. All Rights Reserved.