Interface SpaceLifeCycleListener
- All Superinterfaces:
org.exoplatform.container.component.ComponentPlugin,LifeCycleListener<SpaceLifeCycleEvent>
- All Known Implementing Classes:
SpaceListenerPlugin
A listener to follow the liecycle of a space.
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidInvokes this method when a user is invited to join a space.default voidInvokes this method when a user request to join a space.default voidTriggered when a Publisher role has been addeddefault voidTriggered when a Redactor role has been addeddefault voidTriggered when a space category is newly associateddefault voidTriggered when a space category association is removeddefault voidgrantedLead(SpaceLifeCycleEvent event) Invokes this method when a user is granted lead role of a space.default voidjoined(SpaceLifeCycleEvent event) Invokes this method when a user joins a space.default voidleft(SpaceLifeCycleEvent event) Invokes this method when a user leaves a space.default voidInvokes this method when a user declined invitation to join a space or the manager revoked invitation.default voidInvoked when a user cancels request to join to a space or an admin denies itdefault voidTriggered when a Publisher role has been removeddefault voidTriggered when a Redactor role has been removeddefault voidrevokedLead(SpaceLifeCycleEvent event) Invokes this method when a user is revoked lead role of a space.default voidInvokes this method when a user update the space access.default voidInvokes this method when a user change the avatar of a space.default voidInvokes this method when a user change the banner of a space.default voidspaceCreated(SpaceLifeCycleEvent event) Invokes this method when a space is created.default voidInvokes this method when a user change the description of a space.default voidInvokes this method when a user update the space registrationdefault voidspaceRemoved(SpaceLifeCycleEvent event) Invokes this method when a space is removed.default voidspaceRenamed(SpaceLifeCycleEvent event) Invokes this method when a user rename a space.Methods inherited from interface org.exoplatform.social.common.lifecycle.LifeCycleListener
getDescription, getName, setDescription, setName
-
Method Details
-
spaceCreated
Invokes this method when a space is created.- Parameters:
event- the space lifecycle event
-
spaceRemoved
Invokes this method when a space is removed.- Parameters:
event- the space lifecyle event
-
joined
Invokes this method when a user joins a space.- Parameters:
event- the space lifecycle event
-
left
Invokes this method when a user leaves a space.- Parameters:
event- the space lifecycle event
-
grantedLead
Invokes this method when a user is granted lead role of a space.- Parameters:
event- the space lifecycle event
-
revokedLead
Invokes this method when a user is revoked lead role of a space.- Parameters:
event- the space lifecycle event
-
spaceRenamed
Invokes this method when a user rename a space.- Parameters:
event- the space lifecycle event
-
spaceDescriptionEdited
Invokes this method when a user change the description of a space.- Parameters:
event- the space lifecycle event
-
spaceAvatarEdited
Invokes this method when a user change the avatar of a space.- Parameters:
event- the space lifecycle event
-
spaceAccessEdited
Invokes this method when a user update the space access.- Parameters:
event- the space lifecycle event
-
addInvitedUser
Invokes this method when a user is invited to join a space.- Parameters:
event- the space lifecycle event
-
removeInvitedUser
Invokes this method when a user declined invitation to join a space or the manager revoked invitation.- Parameters:
event- the space lifecycle event
-
addPendingUser
Invokes this method when a user request to join a space.- Parameters:
event- the space lifecycle event
-
removePendingUser
Invoked when a user cancels request to join to a space or an admin denies it- Parameters:
event- the space lifecycle event
-
addRedactorUser
Triggered when a Redactor role has been added- Parameters:
event- the space lifecycle event
-
removeRedactorUser
Triggered when a Redactor role has been removed- Parameters:
event- the space lifecycle event
-
addPublisherUser
Triggered when a Publisher role has been added- Parameters:
event- the space lifecycle event
-
removePublisherUser
Triggered when a Publisher role has been removed- Parameters:
event- the space lifecycle event
-
spaceRegistrationEdited
Invokes this method when a user update the space registration- Parameters:
event-
-
spaceBannerEdited
Invokes this method when a user change the banner of a space.- Parameters:
event- the space lifecycle event
-
categoryAdded
Triggered when a space category is newly associated- Parameters:
event- the space lifecycle event
-
categoryRemoved
Triggered when a space category association is removed- Parameters:
event- the space lifecycle event
-