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 Abstract Methods Modifier and Type Method Description abstract voidaddInvitedUser(SpaceLifeCycleEvent event)Invokes this method when a user is invited to join a space.abstract voidaddPendingUser(SpaceLifeCycleEvent event)Invokes this method when a user request to join a space.abstract voidapplicationActivated(SpaceLifeCycleEvent event)Invokes this method when an application is activated.abstract voidapplicationAdded(SpaceLifeCycleEvent event)Invokes this method when an application is added to a space.abstract voidapplicationDeactivated(SpaceLifeCycleEvent event)Invokes this method when an application is deactivated from a space.abstract voidapplicationRemoved(SpaceLifeCycleEvent event)Invokes this method when an application is removed from a space.abstract voidgrantedLead(SpaceLifeCycleEvent event)Invokes this method when a user is granted lead role of a space.abstract voidjoined(SpaceLifeCycleEvent event)Invokes this method when a user joins a space.abstract voidleft(SpaceLifeCycleEvent event)Invokes this method when a user leaves a space.abstract voidrevokedLead(SpaceLifeCycleEvent event)Invokes this method when a user is revoked lead role of a space.abstract voidspaceAvatarEdited(SpaceLifeCycleEvent event)Invokes this method when a user change the avatar of a space.abstract voidspaceCreated(SpaceLifeCycleEvent event)Invokes this method when a space is created.abstract voidspaceDescriptionEdited(SpaceLifeCycleEvent event)Invokes this method when a user change the description of a space.abstract voidspaceRemoved(SpaceLifeCycleEvent event)Invokes this method when a space is removed.abstract 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 abstract void spaceCreated(SpaceLifeCycleEvent event)
Invokes this method when a space is created.- Specified by:
spaceCreatedin interfaceSpaceLifeCycleListener- Parameters:
event- the space lifecycle event
-
spaceRemoved
public abstract void spaceRemoved(SpaceLifeCycleEvent event)
Invokes this method when a space is removed.- Specified by:
spaceRemovedin interfaceSpaceLifeCycleListener- Parameters:
event- the space lifecyle event
-
applicationActivated
public abstract void applicationActivated(SpaceLifeCycleEvent event)
Invokes this method when an application is activated.- Specified by:
applicationActivatedin interfaceSpaceLifeCycleListener- Parameters:
event- the space lifecyle event
-
applicationAdded
public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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
-
-