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.
-
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.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.voidInvoked when a user cancels request to join to a space or an admin denies itvoidrevokedLead(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 Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface LifeCycleListener
getDescription, getName, setDescription, setNameMethods inherited from interface SpaceLifeCycleListener
addPublisherUser, addRedactorUser, categoryAdded, categoryRemoved, extendedPropertiesUpdated, removeInvitedUser, removePublisherUser, removeRedactorUser, spaceAccessEdited, spaceBannerEdited, spaceRegistrationEdited, spaceSovereigntyEdited, templateApplied, userJoinedByInvitationLink
-
Constructor Details
-
SpaceListenerPlugin
public SpaceListenerPlugin()
-
-
Method Details
-
spaceCreated
Description copied from interface:SpaceLifeCycleListenerInvokes this method when a space is created.- Specified by:
spaceCreatedin interfaceSpaceLifeCycleListener- Parameters:
event- the space lifecycle event
-
spaceRemoved
Description copied from interface:SpaceLifeCycleListenerInvokes this method when a space is removed.- Specified by:
spaceRemovedin interfaceSpaceLifeCycleListener- Parameters:
event- the space lifecyle event
-
grantedLead
Description copied from interface:SpaceLifeCycleListenerInvokes this method when a user is granted lead role of a space.- Specified by:
grantedLeadin interfaceSpaceLifeCycleListener- Parameters:
event- the space lifecycle event
-
joined
Description copied from interface:SpaceLifeCycleListenerInvokes this method when a user joins a space.- Specified by:
joinedin interfaceSpaceLifeCycleListener- Parameters:
event- the space lifecycle event
-
left
Description copied from interface:SpaceLifeCycleListenerInvokes this method when a user leaves a space.- Specified by:
leftin interfaceSpaceLifeCycleListener- Parameters:
event- the space lifecycle event
-
revokedLead
Description copied from interface:SpaceLifeCycleListenerInvokes this method when a user is revoked lead role of a space.- Specified by:
revokedLeadin interfaceSpaceLifeCycleListener- Parameters:
event- the space lifecycle event
-
spaceRenamed
Description copied from interface:SpaceLifeCycleListenerInvokes this method when a user rename a space.- Specified by:
spaceRenamedin interfaceSpaceLifeCycleListener- Parameters:
event- the space lifecycle event
-
spaceDescriptionEdited
Description copied from interface:SpaceLifeCycleListenerInvokes this method when a user change the description of a space.- Specified by:
spaceDescriptionEditedin interfaceSpaceLifeCycleListener- Parameters:
event- the space lifecycle event
-
spaceAvatarEdited
Description copied from interface:SpaceLifeCycleListenerInvokes this method when a user change the avatar of a space.- Specified by:
spaceAvatarEditedin interfaceSpaceLifeCycleListener- Parameters:
event- the space lifecycle event
-
addInvitedUser
Description copied from interface:SpaceLifeCycleListenerInvokes this method when a user is invited to join a space.- Specified by:
addInvitedUserin interfaceSpaceLifeCycleListener- Parameters:
event- the space lifecycle event
-
addPendingUser
Description copied from interface:SpaceLifeCycleListenerInvokes this method when a user request to join a space.- Specified by:
addPendingUserin interfaceSpaceLifeCycleListener- Parameters:
event- the space lifecycle event
-
removePendingUser
Description copied from interface:SpaceLifeCycleListenerInvoked when a user cancels request to join to a space or an admin denies it- Specified by:
removePendingUserin interfaceSpaceLifeCycleListener- Parameters:
event- the space lifecycle event
-