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