Class SpaceLifecycle
java.lang.Object
org.exoplatform.social.common.lifecycle.AbstractLifeCycle<SpaceLifeCycleListener,SpaceLifeCycleEvent>
org.exoplatform.social.core.space.SpaceLifecycle
Implementation of the lifecycle of spaces.
Events are dispatched asynchronously but sequentially to their listeners according to their type.
Listeners may fail, this is safe for the lifecycle, subsequent listeners will still be called.
Events are dispatched asynchronously but sequentially to their listeners according to their type.
Listeners may fail, this is safe for the lifecycle, subsequent listeners will still be called.
- Version:
- $Revision$
- Author:
- Patrice Lamarque
-
Field Summary
Fields inherited from class org.exoplatform.social.common.lifecycle.AbstractLifeCycle
completionService, container, listeners -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddInvitedUser(Space space, String userId) voidaddPendingUser(Space space, String userId) voidaddPublisherUser(Space space, String userId) voidaddRedactorUser(Space space, String userId) protected voiddispatchEvent(SpaceLifeCycleListener listener, SpaceLifeCycleEvent event) voidgrantedLead(Space space, String userId) voidmemberJoined(Space space, String userId) voidmemberLeft(Space space, String userId) voidremoveInvitedUser(Space space, String userId) voidremovePendingUser(Space space, String userId) voidremovePublisherUser(Space space, String userId) voidremoveRedactorUser(Space space, String userId) voidvoidrevokedLead(Space space, String userId) voidvoidspaceAccessEdited(Space space, String userId) voidspaceAvatarEdited(Space space, String userId) voidspaceBannerEdited(Space space, String userId) voidspaceCategoryAdded(Space space, String userId, long categoryId) voidspaceCategoryRemoved(Space space, String userId, long categoryId) voidspaceCreated(Space space, String creator) voidspaceDescriptionEdited(Space space, String userId) voidspacePublicSiteCreated(Space space, String userId) voidspacePublicSiteUpdated(Space space, String userId) voidspaceRegistrationEdited(Space space, String userId) voidspaceRemoved(Space space, String remover) voidspaceRenamed(Space space, String userId) Methods inherited from class org.exoplatform.social.common.lifecycle.AbstractLifeCycle
addListener, begin, broadcast, end, removeListener
-
Constructor Details
-
SpaceLifecycle
public SpaceLifecycle()
-
-
Method Details
-
setCurrentEvent
-
getCurrentEvent
-
resetCurrentEvent
-
dispatchEvent
- Specified by:
dispatchEventin classAbstractLifeCycle<SpaceLifeCycleListener,SpaceLifeCycleEvent>
-
spaceCreated
-
spaceRemoved
-
memberJoined
-
memberLeft
-
grantedLead
-
revokedLead
-
spaceRenamed
-
spaceDescriptionEdited
-
spaceAvatarEdited
-
spaceBannerEdited
-
spaceAccessEdited
-
spaceCategoryAdded
-
spaceCategoryRemoved
-
spaceRegistrationEdited
-
spacePublicSiteCreated
-
spacePublicSiteUpdated
-
addInvitedUser
-
removeInvitedUser
-
addPendingUser
-
removePendingUser
-
addRedactorUser
-
removeRedactorUser
-
addPublisherUser
-
removePublisherUser
-