Class CartClickLog


  • public class CartClickLog
    extends Log
    A cart click log, for adding/removing/processing cart links
    • Field Detail

      • referer

        private final java.net.URL referer
      • target

        private final java.net.URI target
    • 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 event
        collection - Collection
        profile - Profile
        requestId - Request identifier (IP, hash, '-')
        referer - URL of the search page where the click is coming from
        target - URL of the result (should be the one stored in the index)
        type - Type of click
        userId - User identifier, may be null
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getReferer

        public java.net.URL getReferer()
      • getTarget

        public java.net.URI getTarget()