Class CartClickLog
- java.lang.Object
-
- com.funnelback.publicui.search.model.log.Log
-
- com.funnelback.publicui.search.model.log.CartClickLog
-
public class CartClickLog extends Log
A cart click log, for adding/removing/processing cart links
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCartClickLog.TypeType of car event
-
Field Summary
Fields Modifier and Type Field Description private java.net.URLrefererprivate java.net.URItargetprivate CartClickLog.Typetype-
Fields inherited from class com.funnelback.publicui.search.model.log.Log
collection, date, profile, REQUEST_ID_NOTHING, requestId, USER_ID_NOTHING, userId, XML_DATE_FORMAT
-
-
Constructor Summary
Constructors Constructor Description CartClickLog(java.util.Date date, Collection collection, Profile profile, java.lang.String requestId, java.net.URL referer, java.net.URI target, CartClickLog.Type type, java.lang.String userId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.net.URLgetReferer()java.net.URIgetTarget()CartClickLog.TypegetType()java.lang.StringtoString()-
Methods inherited from class com.funnelback.publicui.search.model.log.Log
getCollection, getDate, getProfile, getRequestId, getUserId
-
-
-
-
Field Detail
-
referer
private final java.net.URL referer
-
target
private final java.net.URI target
-
type
private final CartClickLog.Type type
-
-
Constructor Detail
-
CartClickLog
public CartClickLog(java.util.Date date, Collection collection, Profile profile, java.lang.String requestId, java.net.URL referer, java.net.URI target, CartClickLog.Type type, java.lang.String userId)- Parameters:
date- Date of the eventcollection- Collectionprofile- ProfilerequestId- Request identifier (IP, hash, '-')referer- URL of the search page where the click is coming fromtarget- URL of the result (should be the one stored in the index)type- Type of clickuserId- User identifier, may be null
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getReferer
public java.net.URL getReferer()
-
getTarget
public java.net.URI getTarget()
-
getType
public CartClickLog.Type getType()
-
-