Class ActivityOberverPlugin

java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
io.meeds.social.observe.plugin.ObserverPlugin
io.meeds.social.observe.plugin.ActivityOberverPlugin
All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin

public class ActivityOberverPlugin extends io.meeds.social.observe.plugin.ObserverPlugin
  • Field Details

  • Constructor Details

    • ActivityOberverPlugin

      public ActivityOberverPlugin(org.exoplatform.social.core.manager.ActivityManager activityManager, org.exoplatform.social.core.manager.IdentityManager identityManager, org.exoplatform.portal.config.UserACL userAcl)
  • Method Details

    • getObjectType

      public String getObjectType()
      Specified by:
      getObjectType in class io.meeds.social.observe.plugin.ObserverPlugin
    • canObserve

      public boolean canObserve(long identityId, String objectId) throws org.exoplatform.commons.exception.ObjectNotFoundException
      Specified by:
      canObserve in class io.meeds.social.observe.plugin.ObserverPlugin
      Throws:
      org.exoplatform.commons.exception.ObjectNotFoundException
    • getAudienceId

      public long getAudienceId(String objectId) throws org.exoplatform.commons.exception.ObjectNotFoundException
      Specified by:
      getAudienceId in class io.meeds.social.observe.plugin.ObserverPlugin
      Throws:
      org.exoplatform.commons.exception.ObjectNotFoundException
    • getSpaceId

      public long getSpaceId(String objectId) throws org.exoplatform.commons.exception.ObjectNotFoundException
      Specified by:
      getSpaceId in class io.meeds.social.observe.plugin.ObserverPlugin
      Throws:
      org.exoplatform.commons.exception.ObjectNotFoundException
    • getExtendedObserverObject

      public io.meeds.social.observe.model.ObserverObject getExtendedObserverObject(String objectId) throws org.exoplatform.commons.exception.ObjectNotFoundException
      Overrides:
      getExtendedObserverObject in class io.meeds.social.observe.plugin.ObserverPlugin
      Throws:
      org.exoplatform.commons.exception.ObjectNotFoundException