Class MentionEventParams


  • public class MentionEventParams
    extends Object
    The parameters of the mention event. This class is serialized to be retrieved for notifications rendering.
    Since:
    12.5RC1
    Version:
    $Id: 3c15451b53a4aa0e907879373820eae0564d83b3 $
    • Constructor Detail

      • MentionEventParams

        public MentionEventParams()
    • Method Detail

      • getUserReference

        public String getUserReference()
        Returns:
        The the user doing the mention
      • setUserReference

        public MentionEventParams setUserReference​(String userReference)
        Parameters:
        userReference - the user doing the mention
        Returns:
        the current object
      • getDocumentReference

        public String getDocumentReference()
        Returns:
        the document in which then mention occurs
      • setDocumentReference

        public MentionEventParams setDocumentReference​(String documentReference)
        Parameters:
        documentReference - the document in which then mention occurs
        Returns:
        the current object
      • getLocation

        public MentionLocation getLocation()
        Returns:
        the location of the mention
      • getAnchor

        public String getAnchor()
        Returns:
        the anchor to be used for the link to the mention
      • setAnchor

        public MentionEventParams setAnchor​(String anchor)
        Parameters:
        anchor - the anchor to be used to link to the mention
        Returns:
        the current object
      • getQuote

        public String getQuote()
        Returns:
        the mention quote
      • setQuote

        public MentionEventParams setQuote​(String quote)
        Parameters:
        quote - the mention quote
        Returns:
        the current object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object