Class AttendeeLifeCycleEvent
- java.lang.Object
-
- org.silverpeas.core.notification.system.AbstractResourceEvent<Attendee>
-
- org.silverpeas.core.calendar.notification.AttendeeLifeCycleEvent
-
- All Implemented Interfaces:
Serializable
,ResourceEvent<Attendee>
public class AttendeeLifeCycleEvent extends AbstractResourceEvent<Attendee>
An lifecycle event of anAttendee
. Such an event is triggered when a change occurred in the lifecycle of an attendee (the attendee is added in an event, its participation status has changed, and so on) and it is sent by the system notification bus.- Author:
- mmoquillon
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.silverpeas.core.notification.system.ResourceEvent
ResourceEvent.Type
-
-
Constructor Summary
Constructors Constructor Description AttendeeLifeCycleEvent(Contribution eventOrOccurrence, ResourceEvent.Type type, LifeCycleEventSubType subType, @NotNull Attendee... attendees)
Constructs a new lifecycle event with the specified type and with the specifiedAttendee
instances representing each of them a state in a transition in the lifecycle of an attendee.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Contribution
getEventOrOccurrence()
Gets the event or occurrence related to the notification.LifeCycleEventSubType
getSubType()
-
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
-
AttendeeLifeCycleEvent
public AttendeeLifeCycleEvent(Contribution eventOrOccurrence, ResourceEvent.Type type, LifeCycleEventSubType subType, @NotNull @NotNull Attendee... attendees)
Constructs a new lifecycle event with the specified type and with the specifiedAttendee
instances representing each of them a state in a transition in the lifecycle of an attendee.- Parameters:
eventOrOccurrence
- the contribution in relation with the action.type
- the type of the event in the lifecycle of an attendee.subType
- the subtype of the lifecycle transition.attendees
- the different states of an attendee concerned by the event in its lifecycle.
-
-
Method Detail
-
getSubType
public LifeCycleEventSubType getSubType()
-
getEventOrOccurrence
public Contribution getEventOrOccurrence()
Gets the event or occurrence related to the notification.- Returns:
- the contribution which is a
CalendarEvent
or aCalendarEventOccurrence
.
-
-