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 -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteLikeActivity(org.exoplatform.social.core.activity.ActivityLifeCycleEvent event) voiddeleteLikeComment(org.exoplatform.social.core.activity.ActivityLifeCycleEvent event) voidinit()Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin
getDescription, getName, setDescription, setNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.exoplatform.social.core.activity.ActivityListener
deleteActivity, deleteComment, hideActivity, likeActivity, likeComment, pinActivity, saveActivity, saveComment, shareActivity, unpinActivity, updateActivity, updateCategories, updateCommentMethods 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)
-