Class SpaceListenerPlugin
- java.lang.Object
-
- org.exoplatform.social.core.space.SpaceListenerPlugin
-
- All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin,LifeCycleListener<SpaceLifeCycleEvent>,SpaceLifeCycleListener
public abstract class SpaceListenerPlugin extends Object implements SpaceLifeCycleListener
Base class for a manageable space listener plugin.- Version:
- $Revision$
- Author:
- Patrice Lamarque
-
-
Constructor Summary
Constructors Constructor Description SpaceListenerPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddInvitedUser(SpaceLifeCycleEvent event)Invokes this method when a user is invited to join a space.voidaddPendingUser(SpaceLifeCycleEvent event)Invokes this method when a user request to join a space.voidapplicationActivated(SpaceLifeCycleEvent event)Invokes this method when an application is activated.voidapplicationAdded(SpaceLifeCycleEvent event)Invokes this method when an application is added to a space.voidapplicationDeactivated(SpaceLifeCycleEvent event)Invokes this method when an application is deactivated from a space.voidapplicationRemoved(SpaceLifeCycleEvent event)Invokes this method when an application is removed from a space.voidgrantedLead(SpaceLifeCycleEvent event)Invokes this method when a user is granted lead role of a space.voidjoined(SpaceLifeCycleEvent event)Invokes this method when a user joins a space.voidleft(SpaceLifeCycleEvent event)Invokes this method when a user leaves a space.voidrevokedLead(SpaceLifeCycleEvent event)Invokes this method when a user is revoked lead role of a space.voidspaceAvatarEdited(SpaceLifeCycleEvent event)Invokes this method when a user change the avatar of a space.voidspaceCreated(SpaceLifeCycleEvent event)Invokes this method when a space is created.voidspaceDescriptionEdited(SpaceLifeCycleEvent event)Invokes this method when a user change the description of a space.voidspaceRemoved(SpaceLifeCycleEvent event)Invokes this method when a space is removed.voidspaceRenamed(SpaceLifeCycleEvent event)Invokes this method when a user rename a space.-
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.common.lifecycle.LifeCycleListener
getDescription, getName, setDescription, setName
-
Methods inherited from interface org.exoplatform.social.core.space.spi.SpaceLifeCycleListener
spaceAccessEdited, spaceBannerEdited, spaceRegistrationEdited
-
-
-
-
Method Detail
-
spaceCreated
public void spaceCreated(SpaceLifeCycleEvent event)
Invokes this method when a space is created.- Specified by:
spaceCreatedin interfaceSpaceLifeCycleListener- Parameters:
event- the space lifecycle event
-
spaceRemoved
public void spaceRemoved(SpaceLifeCycleEvent event)
Invokes this method when a space is removed.- Specified by:
spaceRemovedin interfaceSpaceLifeCycleListener- Parameters:
event- the space lifecyle event
-
applicationActivated
public void applicationActivated(SpaceLifeCycleEvent event)
Invokes this method when an application is activated.- Specified by:
applicationActivatedin interfaceSpaceLifeCycleListener- Parameters:
event- the space lifecyle event
-
applicationAdded
public void applicationAdded(SpaceLifeCycleEvent event)
Invokes this method when an application is added to a space.- Specified by:
applicationAddedin interfaceSpaceLifeCycleListener- Parameters:
event- the space lifecycle event
-
applicationDeactivated
public void applicationDeactivated(SpaceLifeCycleEvent event)
Invokes this method when an application is deactivated from a space.- Specified by:
applicationDeactivatedin interfaceSpaceLifeCycleListener- Parameters:
event- the space lifecycle event
-
applicationRemoved
public void applicationRemoved(SpaceLifeCycleEvent event)
Invokes this method when an application is removed from a space.- Specified by:
applicationRemovedin interfaceSpaceLifeCycleListener- Parameters:
event- the space lifecycle event.
-
grantedLead
public void grantedLead(SpaceLifeCycleEvent event)
Invokes this method when a user is granted lead role of a space.- Specified by:
grantedLeadin interfaceSpaceLifeCycleListener- Parameters:
event- the space lifecycle event
-
joined
public void joined(SpaceLifeCycleEvent event)
Invokes this method when a user joins a space.- Specified by:
joinedin interfaceSpaceLifeCycleListener- Parameters:
event- the space lifecycle event
-
left
public void left(SpaceLifeCycleEvent event)
Invokes this method when a user leaves a space.- Specified by:
leftin interfaceSpaceLifeCycleListener- Parameters:
event- the space lifecycle event
-
revokedLead
public void revokedLead(SpaceLifeCycleEvent event)
Invokes this method when a user is revoked lead role of a space.- Specified by:
revokedLeadin interfaceSpaceLifeCycleListener- Parameters:
event- the space lifecycle event
-
spaceRenamed
public void spaceRenamed(SpaceLifeCycleEvent event)
Invokes this method when a user rename a space.- Specified by:
spaceRenamedin interfaceSpaceLifeCycleListener- Parameters:
event- the space lifecycle event
-
spaceDescriptionEdited
public void spaceDescriptionEdited(SpaceLifeCycleEvent event)
Invokes this method when a user change the description of a space.- Specified by:
spaceDescriptionEditedin interfaceSpaceLifeCycleListener- Parameters:
event- the space lifecycle event
-
spaceAvatarEdited
public void spaceAvatarEdited(SpaceLifeCycleEvent event)
Invokes this method when a user change the avatar of a space.- Specified by:
spaceAvatarEditedin interfaceSpaceLifeCycleListener- Parameters:
event- the space lifecycle event
-
addInvitedUser
public void addInvitedUser(SpaceLifeCycleEvent event)
Invokes this method when a user is invited to join a space.- Specified by:
addInvitedUserin interfaceSpaceLifeCycleListener- Parameters:
event- the space lifecycle event
-
addPendingUser
public void addPendingUser(SpaceLifeCycleEvent event)
Invokes this method when a user request to join a space.- Specified by:
addPendingUserin interfaceSpaceLifeCycleListener- Parameters:
event- the space lifecycle event
-
-