Class ClickHistory


  • @Entity
    public class ClickHistory
    extends SessionResult
    A single entry in the user's click history
    Since:
    12.5
    • Field Detail

      • clickDate

        private java.util.Date clickDate
        Date when the click was performed
      • query

        private java.lang.String query

        Query that returned this result

        Might be null if there was no referer available.

      • metaData

        private final java.util.Map<java.lang.String,​java.lang.String> metaData
        Metadata values for the result at the time the result was first clicked by the user.
    • Constructor Detail

      • ClickHistory

        public ClickHistory()
    • Method Detail

      • prePersist

        protected void prePersist()
        Truncate metadata to maximum size allowed in the database before saving to database
        Overrides:
        prePersist in class SessionResult
      • getClickDate

        public java.util.Date getClickDate()
        Date when the click was performed
      • setClickDate

        public void setClickDate​(java.util.Date clickDate)
        Date when the click was performed
      • getQuery

        public java.lang.String getQuery()

        Query that returned this result

        Might be null if there was no referer available.

      • setQuery

        public void setQuery​(java.lang.String query)

        Query that returned this result

        Might be null if there was no referer available.

      • getMetaData

        public java.util.Map<java.lang.String,​java.lang.String> getMetaData()
        Metadata values for the result at the time the result was first clicked by the user.