Class KmeliaNotifyPublicationDocumentUserNotification
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<T>
org.silverpeas.components.kmelia.notification.AbstractKmeliaUserNotification<org.silverpeas.core.contribution.publication.model.PublicationDetail>
org.silverpeas.components.kmelia.notification.AbstractKmeliaPublicationUserNotification
org.silverpeas.components.kmelia.notification.KmeliaNotifyPublicationDocumentUserNotification
- All Implemented Interfaces:
org.silverpeas.core.notification.user.builder.UserNotificationBuilder
public class KmeliaNotifyPublicationDocumentUserNotification
extends AbstractKmeliaPublicationUserNotification
- Author:
- Yohann Chastagnier
-
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
ConstructorsConstructorDescriptionKmeliaNotifyPublicationDocumentUserNotification(org.silverpeas.core.node.model.NodePK nodePK, org.silverpeas.core.contribution.publication.model.PublicationDetail resource, org.silverpeas.core.contribution.attachment.model.SimpleDocument document) -
Method Summary
Modifier and TypeMethodDescriptionprotected Stringprotected Stringprotected StringgetResourceURL(org.silverpeas.core.contribution.publication.model.PublicationDetail resource) protected Stringprotected Collection<String>protected voidperform(org.silverpeas.core.contribution.publication.model.PublicationDetail resource) protected voidperformNotificationResource(String language, org.silverpeas.core.contribution.publication.model.PublicationDetail resource, org.silverpeas.core.notification.user.model.NotificationResourceData notificationResourceData) protected voidperformTemplateData(String language, org.silverpeas.core.contribution.publication.model.PublicationDetail resource, org.silverpeas.core.template.SilverpeasTemplate template) Methods inherited from class org.silverpeas.components.kmelia.notification.AbstractKmeliaPublicationUserNotification
getAction, getComponentInstanceId, getNodePK, getPath, getSender, isGroupCanBeNotified, isUserCanBeNotified, stopWhenNoUserToNotifyMethods inherited from class org.silverpeas.components.kmelia.notification.AbstractKmeliaUserNotification
getHTMLNodePath, getLocalizationBundlePath, getNodeHeader, getNodeService, getOrganisationController, getTemplatePathMethods 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, isSendImmediately, performBuild, setResourceMethods inherited from class org.silverpeas.core.notification.user.builder.AbstractUserNotificationBuilder
build, getBundle, getBundle, getContent, getExternalAddressesToNotify, getGroupIdsToNotify, getMessageType, getNotificationMetaData, getUserIdsToExcludeFromNotifying, stop
-
Constructor Details
-
KmeliaNotifyPublicationDocumentUserNotification
public KmeliaNotifyPublicationDocumentUserNotification(org.silverpeas.core.node.model.NodePK nodePK, org.silverpeas.core.contribution.publication.model.PublicationDetail resource, org.silverpeas.core.contribution.attachment.model.SimpleDocument document)
-
-
Method Details
-
getBundleSubjectKey
- Overrides:
getBundleSubjectKeyin classorg.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<org.silverpeas.core.contribution.publication.model.PublicationDetail>
-
getTemplateFileName
- Specified by:
getTemplateFileNamein classorg.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<org.silverpeas.core.contribution.publication.model.PublicationDetail>
-
getUserIdsToNotify
- Specified by:
getUserIdsToNotifyin classorg.silverpeas.core.notification.user.builder.AbstractUserNotificationBuilder
-
perform
protected void perform(org.silverpeas.core.contribution.publication.model.PublicationDetail resource) - Overrides:
performin classorg.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<org.silverpeas.core.contribution.publication.model.PublicationDetail>
-
performTemplateData
protected void performTemplateData(String language, org.silverpeas.core.contribution.publication.model.PublicationDetail resource, org.silverpeas.core.template.SilverpeasTemplate template) - Overrides:
performTemplateDatain classAbstractKmeliaPublicationUserNotification
-
performNotificationResource
protected void performNotificationResource(String language, org.silverpeas.core.contribution.publication.model.PublicationDetail resource, org.silverpeas.core.notification.user.model.NotificationResourceData notificationResourceData) - Overrides:
performNotificationResourcein classAbstractKmeliaPublicationUserNotification
-
getResourceURL
protected String getResourceURL(org.silverpeas.core.contribution.publication.model.PublicationDetail resource) - Overrides:
getResourceURLin classAbstractKmeliaPublicationUserNotification
-
getContributionAccessLinkLabelBundleKey
- Overrides:
getContributionAccessLinkLabelBundleKeyin classAbstractKmeliaPublicationUserNotification
-