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 Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     

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

    desc, name
  • Constructor Summary

    Constructors
    Constructor
    Description
    ActivityOberverPlugin(org.exoplatform.social.core.manager.ActivityManager activityManager, org.exoplatform.social.core.manager.IdentityManager identityManager, org.exoplatform.services.organization.OrganizationService organizationService, org.exoplatform.services.security.IdentityRegistry identityRegistry)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    canObserve(long identityId, String objectId)
     
    long
     
    io.meeds.social.observe.model.ObserverObject
     
     
    long
    getSpaceId(String objectId)
     

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

  • Constructor Details

    • ActivityOberverPlugin

      public ActivityOberverPlugin(org.exoplatform.social.core.manager.ActivityManager activityManager, org.exoplatform.social.core.manager.IdentityManager identityManager, org.exoplatform.services.organization.OrganizationService organizationService, org.exoplatform.services.security.IdentityRegistry identityRegistry)
  • 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