Package org.silverpeas.components.community.notification

## 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:
    Serialized Form

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface org.silverpeas.core.notification.system.ResourceEvent

      `org.silverpeas.core.notification.system.ResourceEvent.Type`

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `CommunityEvent​(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, putParameter`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface org.silverpeas.core.notification.system.ResourceEvent

      `isOnCreation, isOnDeletion, isOnRecovery, isOnRemoving, isOnUpdate`

- - ### Constructor Detail

    - #### 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 the
        `contribution` - the states of a Community concerned by a state transition.