Class ContextualNavigationLog
- java.lang.Object
-
- com.funnelback.publicui.search.model.log.Log
-
- com.funnelback.publicui.search.model.log.ContextualNavigationLog
-
public class ContextualNavigationLog extends Log
Contextual navigation log
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
cluster
private java.util.List<java.lang.String>
previousClusters
-
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 ContextualNavigationLog(java.util.Date date, Collection collection, Profile profile, java.lang.String requestId, java.lang.String cluster, java.util.List<java.lang.String> previousClusters, java.lang.String userId)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static void
addXMLElement(java.lang.StringBuffer out, java.lang.String tag, java.lang.String value)
java.lang.String
getCluster()
java.util.List<java.lang.String>
getPreviousClusters()
java.lang.String
toXml()
-
Methods inherited from class com.funnelback.publicui.search.model.log.Log
getCollection, getDate, getProfile, getRequestId, getUserId
-
-
-
-
Constructor Detail
-
ContextualNavigationLog
public ContextualNavigationLog(java.util.Date date, Collection collection, Profile profile, java.lang.String requestId, java.lang.String cluster, java.util.List<java.lang.String> previousClusters, java.lang.String userId)
- Parameters:
date
- Date of the contextual navigation querycollection
- Collectionprofile
- ProfilerequestId
- Request identifier (IP, hash, '-')cluster
- Clicked clusterpreviousClusters
- Previously clicked cluster (breadcrumb)userId
- User identifier, may be null
-
-
Method Detail
-
toXml
public java.lang.String toXml()
- Returns:
- XML representation suitable for writing to log file
-
addXMLElement
private static void addXMLElement(java.lang.StringBuffer out, java.lang.String tag, java.lang.String value)
-
getCluster
public java.lang.String getCluster()
-
getPreviousClusters
public java.util.List<java.lang.String> getPreviousClusters()
-
-