Class AbstractFormsOnlineRequestUserNotification
- 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<FormInstance>
-
- org.silverpeas.components.formsonline.notification.AbstractFormsOnlineRequestUserNotification
-
- All Implemented Interfaces:
org.silverpeas.core.notification.user.builder.UserNotificationBuilder
- Direct Known Subclasses:
FormsOnlineCanceledRequestUserNotification
,FormsOnlineValidationRequestUserNotification
public abstract class AbstractFormsOnlineRequestUserNotification extends org.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<FormInstance>
- Author:
- Yohann Chastagnier
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractFormsOnlineRequestUserNotification(FormInstance resource, org.silverpeas.core.notification.user.client.constant.NotifAction action)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<String>
extractGroupIds(List<org.silverpeas.core.admin.user.model.Group> groups)
protected List<String>
extractUserIds(List<org.silverpeas.core.admin.user.model.User> users)
protected org.silverpeas.core.notification.user.client.constant.NotifAction
getAction()
protected String
getComponentInstanceId()
protected String
getContributionAccessLinkLabelBundleKey()
protected Optional<org.silverpeas.core.admin.user.model.User>
getLatestRequestValidator()
protected String
getLocalizationBundlePath()
protected String
getResourceURL(FormInstance resource)
protected String
getSender()
protected String
getSenderName()
protected String
getTemplatePath()
protected boolean
isSendImmediately()
protected void
performNotificationResource(String language, FormInstance resource, org.silverpeas.core.notification.user.model.NotificationResourceData notificationResourceData)
protected void
performTemplateData(String language, FormInstance resource, org.silverpeas.core.template.SilverpeasTemplate template)
-
Methods inherited from class org.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder
createNotification, getBundleSubjectKey, getTemplateFileName, getTitle, getTitle, perform, performBuild, performNotificationResource, performNotificationResource
-
Methods inherited from class org.silverpeas.core.notification.user.builder.AbstractResourceUserNotificationBuilder
getResource, initialize, initializeNotificationResourceData, isGroupCanBeNotified, isUserCanBeNotified, performBuild, setResource
-
Methods inherited from class org.silverpeas.core.notification.user.builder.AbstractUserNotificationBuilder
build, getBundle, getBundle, getContent, getExternalAddressesToNotify, getGroupIdsToNotify, getMessageType, getNotificationMetaData, getUserIdsToExcludeFromNotifying, getUserIdsToNotify, stop, stopWhenNoUserToNotify
-
-
-
-
Constructor Detail
-
AbstractFormsOnlineRequestUserNotification
protected AbstractFormsOnlineRequestUserNotification(FormInstance resource, org.silverpeas.core.notification.user.client.constant.NotifAction action)
-
-
Method Detail
-
getLocalizationBundlePath
protected String getLocalizationBundlePath()
- Overrides:
getLocalizationBundlePath
in classorg.silverpeas.core.notification.user.builder.AbstractUserNotificationBuilder
-
getTemplatePath
protected String getTemplatePath()
- Specified by:
getTemplatePath
in classorg.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<FormInstance>
-
performTemplateData
protected void performTemplateData(String language, FormInstance resource, org.silverpeas.core.template.SilverpeasTemplate template)
- Specified by:
performTemplateData
in classorg.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<FormInstance>
-
performNotificationResource
protected void performNotificationResource(String language, FormInstance resource, org.silverpeas.core.notification.user.model.NotificationResourceData notificationResourceData)
- Specified by:
performNotificationResource
in classorg.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<FormInstance>
-
getResourceURL
protected String getResourceURL(FormInstance resource)
- Overrides:
getResourceURL
in classorg.silverpeas.core.notification.user.builder.AbstractResourceUserNotificationBuilder<FormInstance>
-
getSenderName
protected String getSenderName()
-
getAction
protected org.silverpeas.core.notification.user.client.constant.NotifAction getAction()
- Specified by:
getAction
in classorg.silverpeas.core.notification.user.builder.AbstractUserNotificationBuilder
-
getComponentInstanceId
protected String getComponentInstanceId()
- Specified by:
getComponentInstanceId
in classorg.silverpeas.core.notification.user.builder.AbstractUserNotificationBuilder
-
getSender
protected String getSender()
- Specified by:
getSender
in classorg.silverpeas.core.notification.user.builder.AbstractUserNotificationBuilder
-
getContributionAccessLinkLabelBundleKey
protected String getContributionAccessLinkLabelBundleKey()
- Overrides:
getContributionAccessLinkLabelBundleKey
in classorg.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<FormInstance>
-
isSendImmediately
protected boolean isSendImmediately()
- Overrides:
isSendImmediately
in classorg.silverpeas.core.notification.user.builder.AbstractResourceUserNotificationBuilder<FormInstance>
-
getLatestRequestValidator
protected Optional<org.silverpeas.core.admin.user.model.User> getLatestRequestValidator()
-
extractGroupIds
protected List<String> extractGroupIds(List<org.silverpeas.core.admin.user.model.Group> groups)
-
-