Class SubscriptionCalendarEventListener
- java.lang.Object
-
- org.silverpeas.core.notification.system.CDIResourceEventListener<T>
-
- org.silverpeas.core.subscription.AbstractProfiledResourceSubscriptionListener<Calendar,CalendarLifeCycleEvent>
-
- org.silverpeas.core.calendar.subscription.SubscriptionCalendarEventListener
-
- All Implemented Interfaces:
ResourceEventListener<CalendarLifeCycleEvent>
@Bean @Singleton public class SubscriptionCalendarEventListener extends AbstractProfiledResourceSubscriptionListener<Calendar,CalendarLifeCycleEvent>
Listener of events on the deletion of a node in a component instance to delete all subscriptions on that node.- Author:
- mmoquillon
-
-
Field Summary
-
Fields inherited from class org.silverpeas.core.notification.system.CDIResourceEventListener
logger
-
-
Constructor Summary
Constructors Constructor Description SubscriptionCalendarEventListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SubscriptionResource
getSubscriptionResource(Calendar resource)
protected boolean
isSubscriptionEnabled(Calendar resource)
-
Methods inherited from class org.silverpeas.core.subscription.AbstractProfiledResourceSubscriptionListener
getSubscriptionService, onDeletion, onUpdate
-
Methods inherited from class org.silverpeas.core.notification.system.CDIResourceEventListener
onEvent
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.silverpeas.core.notification.system.ResourceEventListener
dispatchEvent, isEnabled, onCreation, onMove, onRemoving, onUnlock
-
-
-
-
Method Detail
-
getSubscriptionResource
protected SubscriptionResource getSubscriptionResource(Calendar resource)
- Specified by:
getSubscriptionResource
in classAbstractProfiledResourceSubscriptionListener<Calendar,CalendarLifeCycleEvent>
-
isSubscriptionEnabled
protected boolean isSubscriptionEnabled(Calendar resource)
- Specified by:
isSubscriptionEnabled
in classAbstractProfiledResourceSubscriptionListener<Calendar,CalendarLifeCycleEvent>
-
-