Class LikeEvent

  • All Implemented Interfaces:
    Serializable, org.xwiki.observation.event.Event

    public class LikeEvent
    extends Object
    implements org.xwiki.observation.event.Event, Serializable
    An event sent when a Like action is performed. The following information are sent along with the event: - source: a UserReference of the user who performs the like - data: the EntityReference being target of the like. Note that we need those events to be serializable so that they can be sent on cluster.
    Since:
    12.7RC1
    Version:
    $Id: 11dd46a65f19d2fae89537421da4fe2def631e43 $
    See Also:
    Serialized Form
    • Constructor Detail

      • LikeEvent

        public LikeEvent()
    • Method Detail

      • matches

        public boolean matches​(Object otherEvent)
        Specified by:
        matches in interface org.xwiki.observation.event.Event