Class SpaceActivityPublisher

java.lang.Object
org.exoplatform.social.core.space.SpaceListenerPlugin
org.exoplatform.social.core.application.SpaceActivityPublisher
All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin, org.exoplatform.social.common.lifecycle.LifeCycleListener<org.exoplatform.social.core.space.spi.SpaceLifeCycleEvent>, org.exoplatform.social.core.space.spi.SpaceLifeCycleListener

public class SpaceActivityPublisher extends org.exoplatform.social.core.space.SpaceListenerPlugin
This listener is responsible for initializing and notifying activity stream for the space. We create a special opensocial user (with a group provider) ready to receive new activities.
Version:
$Revision$
Author:
Patrice Lamarque
  • Field Details

  • Constructor Details

    • SpaceActivityPublisher

      public SpaceActivityPublisher(org.exoplatform.container.xml.InitParams params, org.exoplatform.social.core.manager.ActivityManager activityManager, org.exoplatform.social.core.manager.IdentityManager identityManager)
      Constructor.
      Parameters:
      params - the initial params
      activityManager - the activity manager
      identityManager - the identity manager
  • Method Details

    • spaceCreated

      public void spaceCreated(org.exoplatform.social.core.space.spi.SpaceLifeCycleEvent event)
      Specified by:
      spaceCreated in interface org.exoplatform.social.core.space.spi.SpaceLifeCycleListener
      Overrides:
      spaceCreated in class org.exoplatform.social.core.space.SpaceListenerPlugin
    • spaceRemoved

      public void spaceRemoved(org.exoplatform.social.core.space.spi.SpaceLifeCycleEvent event)
      Specified by:
      spaceRemoved in interface org.exoplatform.social.core.space.spi.SpaceLifeCycleListener
      Overrides:
      spaceRemoved in class org.exoplatform.social.core.space.SpaceListenerPlugin
    • applicationActivated

      public void applicationActivated(org.exoplatform.social.core.space.spi.SpaceLifeCycleEvent event)
      Specified by:
      applicationActivated in interface org.exoplatform.social.core.space.spi.SpaceLifeCycleListener
      Overrides:
      applicationActivated in class org.exoplatform.social.core.space.SpaceListenerPlugin
    • applicationAdded

      public void applicationAdded(org.exoplatform.social.core.space.spi.SpaceLifeCycleEvent event)
      Specified by:
      applicationAdded in interface org.exoplatform.social.core.space.spi.SpaceLifeCycleListener
      Overrides:
      applicationAdded in class org.exoplatform.social.core.space.SpaceListenerPlugin
    • applicationDeactivated

      public void applicationDeactivated(org.exoplatform.social.core.space.spi.SpaceLifeCycleEvent event)
      Specified by:
      applicationDeactivated in interface org.exoplatform.social.core.space.spi.SpaceLifeCycleListener
      Overrides:
      applicationDeactivated in class org.exoplatform.social.core.space.SpaceListenerPlugin
    • applicationRemoved

      public void applicationRemoved(org.exoplatform.social.core.space.spi.SpaceLifeCycleEvent event)
      Specified by:
      applicationRemoved in interface org.exoplatform.social.core.space.spi.SpaceLifeCycleListener
      Overrides:
      applicationRemoved in class org.exoplatform.social.core.space.SpaceListenerPlugin
    • grantedLead

      public void grantedLead(org.exoplatform.social.core.space.spi.SpaceLifeCycleEvent event)
      Specified by:
      grantedLead in interface org.exoplatform.social.core.space.spi.SpaceLifeCycleListener
      Overrides:
      grantedLead in class org.exoplatform.social.core.space.SpaceListenerPlugin
    • joined

      public void joined(org.exoplatform.social.core.space.spi.SpaceLifeCycleEvent event)
      Specified by:
      joined in interface org.exoplatform.social.core.space.spi.SpaceLifeCycleListener
      Overrides:
      joined in class org.exoplatform.social.core.space.SpaceListenerPlugin
    • left

      public void left(org.exoplatform.social.core.space.spi.SpaceLifeCycleEvent event)
      Specified by:
      left in interface org.exoplatform.social.core.space.spi.SpaceLifeCycleListener
      Overrides:
      left in class org.exoplatform.social.core.space.SpaceListenerPlugin
    • revokedLead

      public void revokedLead(org.exoplatform.social.core.space.spi.SpaceLifeCycleEvent event)
      Specified by:
      revokedLead in interface org.exoplatform.social.core.space.spi.SpaceLifeCycleListener
      Overrides:
      revokedLead in class org.exoplatform.social.core.space.SpaceListenerPlugin
    • spaceRenamed

      public void spaceRenamed(org.exoplatform.social.core.space.spi.SpaceLifeCycleEvent event)
      Specified by:
      spaceRenamed in interface org.exoplatform.social.core.space.spi.SpaceLifeCycleListener
      Overrides:
      spaceRenamed in class org.exoplatform.social.core.space.SpaceListenerPlugin
    • spaceDescriptionEdited

      public void spaceDescriptionEdited(org.exoplatform.social.core.space.spi.SpaceLifeCycleEvent event)
      Specified by:
      spaceDescriptionEdited in interface org.exoplatform.social.core.space.spi.SpaceLifeCycleListener
      Overrides:
      spaceDescriptionEdited in class org.exoplatform.social.core.space.SpaceListenerPlugin
    • spaceAvatarEdited

      public void spaceAvatarEdited(org.exoplatform.social.core.space.spi.SpaceLifeCycleEvent event)
      Specified by:
      spaceAvatarEdited in interface org.exoplatform.social.core.space.spi.SpaceLifeCycleListener
      Overrides:
      spaceAvatarEdited in class org.exoplatform.social.core.space.SpaceListenerPlugin
    • spaceAccessEdited

      public void spaceAccessEdited(org.exoplatform.social.core.space.spi.SpaceLifeCycleEvent event)
    • addInvitedUser

      public void addInvitedUser(org.exoplatform.social.core.space.spi.SpaceLifeCycleEvent event)
      Specified by:
      addInvitedUser in interface org.exoplatform.social.core.space.spi.SpaceLifeCycleListener
      Overrides:
      addInvitedUser in class org.exoplatform.social.core.space.SpaceListenerPlugin
    • addPendingUser

      public void addPendingUser(org.exoplatform.social.core.space.spi.SpaceLifeCycleEvent event)
      Specified by:
      addPendingUser in interface org.exoplatform.social.core.space.spi.SpaceLifeCycleListener
      Overrides:
      addPendingUser in class org.exoplatform.social.core.space.SpaceListenerPlugin
    • spaceBannerEdited

      public void spaceBannerEdited(org.exoplatform.social.core.space.spi.SpaceLifeCycleEvent event)