Class CommunityEvent
java.lang.Object
org.silverpeas.core.notification.system.AbstractResourceEvent<CommunityOfUsers>
org.silverpeas.components.community.notification.CommunityEvent
- All Implemented Interfaces:
Serializable,org.silverpeas.core.notification.system.ResourceEvent<CommunityOfUsers>
public final class CommunityEvent
extends org.silverpeas.core.notification.system.AbstractResourceEvent<CommunityOfUsers>
Event on a change in the state of a given Community business object.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.silverpeas.core.notification.system.ResourceEvent
org.silverpeas.core.notification.system.ResourceEvent.Type -
Constructor Summary
ConstructorsConstructorDescriptionCommunityEvent(org.silverpeas.core.notification.system.ResourceEvent.Type type, CommunityOfUsers... contribution) Constructs a new event with the specified type and that implies the specified Community states, each of them representing by a different Community instance. -
Method Summary
Methods inherited from class org.silverpeas.core.notification.system.AbstractResourceEvent
equals, getParameters, getParameterValue, getTransition, getType, hashCode, putParameterMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.silverpeas.core.notification.system.ResourceEvent
isOnCreation, isOnDeletion, isOnRecovery, isOnRemoving, isOnUpdate
-
Constructor Details
-
CommunityEvent
public CommunityEvent(@Nonnull org.silverpeas.core.notification.system.ResourceEvent.Type type, @Nonnull CommunityOfUsers... contribution) Constructs a new event with the specified type and that implies the specified Community states, each of them representing by a different Community instance.- Parameters:
type- the type of the lifecycle event (the type of the transition occurring in thecontribution- the states of a Community concerned by a state transition.
-