Class PdcSubscriptionDeletionUserNotification
- java.lang.Object
-
- org.silverpeas.core.notification.user.builder.AbstractUserNotificationBuilder
-
- org.silverpeas.core.notification.user.builder.AbstractResourceUserNotificationBuilder<T>
-
- org.silverpeas.core.pdc.subscription.service.AbstractPdcSubscriptionUserNotification<PdcSubscription>
-
- org.silverpeas.core.pdc.subscription.service.PdcSubscriptionDeletionUserNotification
-
- All Implemented Interfaces:
UserNotificationBuilder
public class PdcSubscriptionDeletionUserNotification extends AbstractPdcSubscriptionUserNotification<PdcSubscription>
-
-
Constructor Summary
Constructors Constructor Description PdcSubscriptionDeletionUserNotification(PdcSubscription pdcSubscription, String axisName, boolean valueDeleted)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected NotifAction
getAction()
Gets the type of action on the resource concerned by the notification if any.protected String
getComponentInstanceId()
Gets the component instance identifier.protected String
getSender()
Gets the sender (the user identifier usually)protected boolean
isSendImmediately()
Is the notification to build has to be sent immediately?protected void
performBuild(PdcSubscription subscription)
protected void
performNotificationResource(PdcSubscription resource, NotificationResourceData notificationResourceData)
-
Methods inherited from class org.silverpeas.core.pdc.subscription.service.AbstractPdcSubscriptionUserNotification
getLocalizationBundlePath, getPdcSubscription, getUserIdsToNotify, getUserLanguage
-
Methods inherited from class org.silverpeas.core.notification.user.builder.AbstractResourceUserNotificationBuilder
createNotification, getResource, getResourceURL, initialize, initializeNotificationResourceData, isGroupCanBeNotified, isUserCanBeNotified, performBuild, performNotificationResource, setResource
-
Methods inherited from class org.silverpeas.core.notification.user.builder.AbstractUserNotificationBuilder
build, getBundle, getBundle, getContent, getExternalAddressesToNotify, getGroupIdsToNotify, getMessageType, getNotificationMetaData, getTitle, getUserIdsToExcludeFromNotifying, stop, stopWhenNoUserToNotify
-
-
-
-
Constructor Detail
-
PdcSubscriptionDeletionUserNotification
public PdcSubscriptionDeletionUserNotification(PdcSubscription pdcSubscription, String axisName, boolean valueDeleted)
-
-
Method Detail
-
getAction
protected NotifAction getAction()
Description copied from class:AbstractUserNotificationBuilder
Gets the type of action on the resource concerned by the notification if any.- Specified by:
getAction
in classAbstractUserNotificationBuilder
- Returns:
- a value of the
NotifAction
enumeration.
-
isSendImmediately
protected boolean isSendImmediately()
Description copied from class:AbstractUserNotificationBuilder
Is the notification to build has to be sent immediately? If no, then its sending will be delayed according to the preferences of the users.- Overrides:
isSendImmediately
in classAbstractResourceUserNotificationBuilder<PdcSubscription>
- Returns:
- true if the notification to build has to be sent immediately.
-
getComponentInstanceId
protected String getComponentInstanceId()
Description copied from class:AbstractUserNotificationBuilder
Gets the component instance identifier.- Specified by:
getComponentInstanceId
in classAbstractUserNotificationBuilder
- Returns:
- the unique identifier of the component instance concerned by the notification to build.
-
getSender
protected String getSender()
Description copied from class:AbstractUserNotificationBuilder
Gets the sender (the user identifier usually)- Specified by:
getSender
in classAbstractUserNotificationBuilder
- Returns:
- the unique identifier of the sender.
-
performBuild
protected void performBuild(PdcSubscription subscription)
- Specified by:
performBuild
in classAbstractResourceUserNotificationBuilder<PdcSubscription>
-
performNotificationResource
protected void performNotificationResource(PdcSubscription resource, NotificationResourceData notificationResourceData)
- Specified by:
performNotificationResource
in classAbstractResourceUserNotificationBuilder<PdcSubscription>
-
-