Class ActivityMetadataListener
java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.social.common.lifecycle.AbstractListenerPlugin
org.exoplatform.social.core.activity.ActivityListenerPlugin
org.exoplatform.social.core.listeners.ActivityMetadataListener
- 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
public class ActivityMetadataListener
extends org.exoplatform.social.core.activity.ActivityListenerPlugin
A listener to handle Metadata lifecycle switch Activity lifecycle
-
Field Summary
Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin
desc, name -
Constructor Summary
ConstructorsConstructorDescriptionActivityMetadataListener(org.exoplatform.social.metadata.MetadataService metadataService, org.exoplatform.social.core.manager.ActivityManager activityManager) -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteActivity(org.exoplatform.social.core.activity.ActivityLifeCycleEvent event) voiddeleteComment(org.exoplatform.social.core.activity.ActivityLifeCycleEvent event) voidshareActivity(org.exoplatform.social.core.activity.ActivityLifeCycleEvent event) 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
deleteLikeActivity, deleteLikeComment, hideActivity, likeActivity, likeComment, pinActivity, saveActivity, saveComment, unpinActivity, updateActivity, updateCommentMethods inherited from interface org.exoplatform.social.common.lifecycle.LifeCycleListener
getDescription, getName, setDescription, setName
-
Constructor Details
-
ActivityMetadataListener
public ActivityMetadataListener(org.exoplatform.social.metadata.MetadataService metadataService, org.exoplatform.social.core.manager.ActivityManager activityManager)
-
-
Method Details
-
deleteActivity
public void deleteActivity(org.exoplatform.social.core.activity.ActivityLifeCycleEvent event) -
deleteComment
public void deleteComment(org.exoplatform.social.core.activity.ActivityLifeCycleEvent event)
-