Class DelegatedNewsDeniedNotification
java.lang.Object
org.silverpeas.core.notification.user.builder.AbstractUserNotificationBuilder
org.silverpeas.core.notification.user.builder.AbstractResourceUserNotificationBuilder<T>
org.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<DelegatedNews>
org.silverpeas.components.delegatednews.notification.DelegatedNewsDeniedNotification
- All Implemented Interfaces:
org.silverpeas.core.notification.user.builder.UserNotificationBuilder
public class DelegatedNewsDeniedNotification
extends org.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<DelegatedNews>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder
org.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder.NotificationTemporal -
Field Summary
Fields inherited from class org.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder
CUSTOM_NOTIFICATION_SUBJECT, DEFAULT_NOTIFICATION_SUBJECT -
Constructor Summary
ConstructorsConstructorDescriptionDelegatedNewsDeniedNotification(DelegatedNews delegatedNews, org.silverpeas.core.admin.user.model.User user, String reasonForRefusal) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.silverpeas.core.notification.user.client.constant.NotifActionprotected Stringprotected Stringprotected Stringprotected Stringprotected org.silverpeas.core.contribution.publication.model.PublicationDetailprotected StringgetResourceURL(DelegatedNews delegatedNews) protected Stringprotected Stringprotected Stringprotected Collection<String>protected booleanprotected voidperform(DelegatedNews resource) protected voidperformNotificationResource(String language, DelegatedNews resource, org.silverpeas.core.notification.user.model.NotificationResourceData notificationResourceData) protected voidperformTemplateData(String language, DelegatedNews resource, org.silverpeas.core.template.SilverpeasTemplate template) protected booleanMethods inherited from class org.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder
createNotification, getTitle, getTitle, performBuild, performNotificationResource, performNotificationResourceMethods inherited from class org.silverpeas.core.notification.user.builder.AbstractResourceUserNotificationBuilder
getResource, initialize, initializeNotificationResourceData, isGroupCanBeNotified, isUserCanBeNotified, performBuild, setResourceMethods inherited from class org.silverpeas.core.notification.user.builder.AbstractUserNotificationBuilder
build, getBundle, getBundle, getContent, getExternalAddressesToNotify, getGroupIdsToNotify, getMessageType, getNotificationMetaData, getUserIdsToExcludeFromNotifying, stop
-
Constructor Details
-
DelegatedNewsDeniedNotification
public DelegatedNewsDeniedNotification(DelegatedNews delegatedNews, org.silverpeas.core.admin.user.model.User user, String reasonForRefusal)
-
-
Method Details
-
getTemplateFileName
- Specified by:
getTemplateFileNamein classorg.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<DelegatedNews>
-
getBundleSubjectKey
- Overrides:
getBundleSubjectKeyin classorg.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<DelegatedNews>
-
getAction
protected org.silverpeas.core.notification.user.client.constant.NotifAction getAction()- Specified by:
getActionin classorg.silverpeas.core.notification.user.builder.AbstractUserNotificationBuilder
-
perform
-
performTemplateData
protected void performTemplateData(String language, DelegatedNews resource, org.silverpeas.core.template.SilverpeasTemplate template) -
performNotificationResource
protected void performNotificationResource(String language, DelegatedNews resource, org.silverpeas.core.notification.user.model.NotificationResourceData notificationResourceData) - Specified by:
performNotificationResourcein classorg.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<DelegatedNews>
-
getTemplatePath
- Specified by:
getTemplatePathin classorg.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<DelegatedNews>
-
getComponentInstanceId
- Specified by:
getComponentInstanceIdin classorg.silverpeas.core.notification.user.builder.AbstractUserNotificationBuilder
-
getSender
- Specified by:
getSenderin classorg.silverpeas.core.notification.user.builder.AbstractUserNotificationBuilder
-
getLocalizationBundlePath
- Overrides:
getLocalizationBundlePathin classorg.silverpeas.core.notification.user.builder.AbstractUserNotificationBuilder
-
getContributionAccessLinkLabelBundleKey
- Overrides:
getContributionAccessLinkLabelBundleKeyin classorg.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<DelegatedNews>
-
getResourceURL
- Overrides:
getResourceURLin classorg.silverpeas.core.notification.user.builder.AbstractResourceUserNotificationBuilder<DelegatedNews>
-
stopWhenNoUserToNotify
protected boolean stopWhenNoUserToNotify()- Overrides:
stopWhenNoUserToNotifyin classorg.silverpeas.core.notification.user.builder.AbstractUserNotificationBuilder
-
getUserIdsToNotify
- Specified by:
getUserIdsToNotifyin classorg.silverpeas.core.notification.user.builder.AbstractUserNotificationBuilder
-
getPublication
protected org.silverpeas.core.contribution.publication.model.PublicationDetail getPublication() -
isSendImmediately
protected boolean isSendImmediately()- Overrides:
isSendImmediatelyin classorg.silverpeas.core.notification.user.builder.AbstractResourceUserNotificationBuilder<DelegatedNews>
-