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

    Constructors
    Constructor
    Description
    ActivityMetadataListener(org.exoplatform.social.metadata.MetadataService metadataService, org.exoplatform.social.core.manager.ActivityManager activityManager)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    deleteActivity(org.exoplatform.social.core.activity.ActivityLifeCycleEvent event)
     
    void
    deleteComment(org.exoplatform.social.core.activity.ActivityLifeCycleEvent event)
     
    void
    shareActivity(org.exoplatform.social.core.activity.ActivityLifeCycleEvent event)
     

    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

    deleteLikeActivity, deleteLikeComment, hideActivity, likeActivity, likeComment, pinActivity, saveActivity, saveComment, unpinActivity, updateActivity, updateComment

    Methods 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)
    • shareActivity

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