Class ReactionLikeDeletedListener

java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.social.common.lifecycle.AbstractListenerPlugin
org.exoplatform.social.core.activity.ActivityListenerPlugin
io.meeds.social.reaction.listener.ReactionLikeDeletedListener
All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin, org.exoplatform.social.common.lifecycle.LifeCycleListener<org.exoplatform.social.core.activity.ActivityLifeCycleEvent>, org.exoplatform.social.core.activity.ActivityListener

@Component public class ReactionLikeDeletedListener extends org.exoplatform.social.core.activity.ActivityListenerPlugin
Glue listener (no business logic): an unlike made through the legacy like endpoints must not leave the reactor's typed reaction item behind — the cleanup itself lives in ReactionService.
  • Field Summary

    Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin

    desc, name
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    deleteLikeActivity(org.exoplatform.social.core.activity.ActivityLifeCycleEvent event)
     
    void
    deleteLikeComment(org.exoplatform.social.core.activity.ActivityLifeCycleEvent event)
     
    void
     

    Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin

    getDescription, getName, setDescription, setName

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.exoplatform.social.core.activity.ActivityListener

    deleteActivity, deleteComment, hideActivity, likeActivity, likeComment, pinActivity, saveActivity, saveComment, shareActivity, unpinActivity, updateActivity, updateCategories, updateComment

    Methods inherited from interface org.exoplatform.social.common.lifecycle.LifeCycleListener

    getDescription, getName, setDescription, setName
  • Constructor Details

    • ReactionLikeDeletedListener

      public ReactionLikeDeletedListener()
  • Method Details

    • init

      @PostConstruct public void init()
    • deleteLikeActivity

      public void deleteLikeActivity(org.exoplatform.social.core.activity.ActivityLifeCycleEvent event)
    • deleteLikeComment

      public void deleteLikeComment(org.exoplatform.social.core.activity.ActivityLifeCycleEvent event)