Class KudosActivityTypePlugin

java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.social.core.ActivityTypePlugin
org.exoplatform.kudos.activity.KudosActivityTypePlugin
All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin

public class KudosActivityTypePlugin extends org.exoplatform.social.core.ActivityTypePlugin
  • Field Summary

    Fields inherited from class org.exoplatform.social.core.ActivityTypePlugin

    ACTIVITY_TYPE_PARAM, activityType, ENABLE_NOTIFICATION_PARAM, enableNotification

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

    desc, name
  • Constructor Summary

    Constructors
    Constructor
    Description
    KudosActivityTypePlugin(KudosService kudosService, org.exoplatform.container.xml.InitParams params)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    getActivityTitle(org.exoplatform.social.core.activity.model.ExoSocialActivity activity)
     
    boolean
    isEnableNotification(org.exoplatform.social.core.activity.model.ExoSocialActivity activity, String username)
     

    Methods inherited from class org.exoplatform.social.core.ActivityTypePlugin

    getActivityType, isActivityDeletable, isActivityEditable, isActivityViewable, isEnableNotification

    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
  • Constructor Details

    • KudosActivityTypePlugin

      public KudosActivityTypePlugin(KudosService kudosService, org.exoplatform.container.xml.InitParams params)
  • Method Details

    • isEnableNotification

      public boolean isEnableNotification(org.exoplatform.social.core.activity.model.ExoSocialActivity activity, String username)
      Overrides:
      isEnableNotification in class org.exoplatform.social.core.ActivityTypePlugin
    • getActivityTitle

      public String getActivityTitle(org.exoplatform.social.core.activity.model.ExoSocialActivity activity)
      Overrides:
      getActivityTitle in class org.exoplatform.social.core.ActivityTypePlugin