Class FacetedNavigationLog
- java.lang.Object
-
- com.funnelback.publicui.search.model.log.Log
-
- com.funnelback.publicui.search.model.log.FacetedNavigationLog
-
public class FacetedNavigationLog extends Log
A faceted navigation click log
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Stringfacetprivate java.lang.Stringquery-
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 FacetedNavigationLog(java.util.Date date, Collection collection, Profile profile, java.lang.String requestId, java.lang.String userId, java.lang.String facet, java.lang.String query)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static voidaddXMLElement(java.lang.StringBuffer out, java.lang.String tag, java.lang.String value)java.lang.StringgetFacet()java.lang.StringgetQuery()java.lang.StringtoXml()-
Methods inherited from class com.funnelback.publicui.search.model.log.Log
getCollection, getDate, getProfile, getRequestId, getUserId
-
-
-
-
Constructor Detail
-
FacetedNavigationLog
public FacetedNavigationLog(java.util.Date date, Collection collection, Profile profile, java.lang.String requestId, java.lang.String userId, java.lang.String facet, java.lang.String query)- Parameters:
date- Date of the eventcollection- Collectionprofile- ProfilerequestId- Request identifier (IP, Hash, ...)userId- User identifier (UUID)facet- Clicked facetquery- Corresponding query
-
-
Method Detail
-
toXml
public java.lang.String toXml()
- Returns:
- An XML representation of the log
-
addXMLElement
private static void addXMLElement(java.lang.StringBuffer out, java.lang.String tag, java.lang.String value)
-
getFacet
public java.lang.String getFacet()
-
getQuery
public java.lang.String getQuery()
-
-