Class CalendarEventOccurrenceLifeCycleEvent
- java.lang.Object
-
- org.silverpeas.core.notification.system.AbstractResourceEvent<CalendarEventOccurrence>
-
- org.silverpeas.core.calendar.notification.CalendarEventOccurrenceLifeCycleEvent
-
- All Implemented Interfaces:
Serializable
,ResourceEvent<CalendarEventOccurrence>
public class CalendarEventOccurrenceLifeCycleEvent extends AbstractResourceEvent<CalendarEventOccurrence>
Notification event about changes in the life-cycle of one or several event occurrences.- 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 CalendarEventOccurrenceLifeCycleEvent(ResourceEvent.Type type, LifeCycleEventSubType subType, @NotNull CalendarEventOccurrence... occurrences)
Constructs a new lifecycle event with the specified type and that implies the specifiedCalendarEventOccurrence
instances, each of them representing a different state in the lifecycle of one or several occurrences of an event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LifeCycleEventSubType
getSubtype()
Gets the subtype of the transition type.-
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
-
CalendarEventOccurrenceLifeCycleEvent
public CalendarEventOccurrenceLifeCycleEvent(ResourceEvent.Type type, LifeCycleEventSubType subType, @NotNull @NotNull CalendarEventOccurrence... occurrences)
Constructs a new lifecycle event with the specified type and that implies the specifiedCalendarEventOccurrence
instances, each of them representing a different state in the lifecycle of one or several occurrences of an event.- Parameters:
type
- the type of the lifecycle event (the type of the transition occurring in the lifecycle).subType
- the subtype of the the type of the lifecycle event.occurrences
- the states of one or several event occurrences implied by the state transition.
-
-
Method Detail
-
getSubtype
public LifeCycleEventSubType getSubtype()
Gets the subtype of the transition type.- Returns:
- the subtype of the event type.
-
-