Class ToIncumbentReplacementNotificationBuilder
- 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<Replacement>
-
- org.silverpeas.core.workflow.engine.notification.AbstractReplacementNotificationBuilder
-
- org.silverpeas.core.workflow.engine.notification.ToIncumbentReplacementNotificationBuilder
-
- All Implemented Interfaces:
UserNotificationBuilder
,FallbackToCoreTemplatePathBehavior
,RemoveSenderRecipientBehavior
public class ToIncumbentReplacementNotificationBuilder extends AbstractReplacementNotificationBuilder
A builder of notifications about a replacement between two users in a given workflow instance, in the point of view of the substitute.- Author:
- silveryocha
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder
AbstractTemplateUserNotificationBuilder.NotificationTemporal
-
-
Field Summary
-
Fields inherited from class org.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder
CUSTOM_NOTIFICATION_SUBJECT, DEFAULT_NOTIFICATION_SUBJECT
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Collection<String>
getUserIdsToNotify()
A collection of user identifiers.protected void
performTemplateData(String language, Replacement resource, SilverpeasTemplate template)
-
Methods inherited from class org.silverpeas.core.workflow.engine.notification.AbstractReplacementNotificationBuilder
getAction, getBundleSubjectKey, getComponentInstanceId, getLocalizationBundlePath, getSender, getTemplateFileName, getTemplatePath, performNotificationResource
-
Methods inherited from class org.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder
createNotification, getContributionAccessLinkLabelBundleKey, getTitle, getTitle, perform, performBuild, performNotificationResource, performNotificationResource
-
Methods inherited from class org.silverpeas.core.notification.user.builder.AbstractResourceUserNotificationBuilder
getResource, getResourceURL, initialize, initializeNotificationResourceData, isGroupCanBeNotified, isSendImmediately, isUserCanBeNotified, performBuild, setResource
-
Methods inherited from class org.silverpeas.core.notification.user.builder.AbstractUserNotificationBuilder
build, getBundle, getBundle, getContent, getExternalAddressesToNotify, getGroupIdsToNotify, getMessageType, getNotificationMetaData, getUserIdsToExcludeFromNotifying, stop, stopWhenNoUserToNotify
-
-
-
-
Method Detail
-
getUserIdsToNotify
protected Collection<String> getUserIdsToNotify()
Description copied from class:AbstractUserNotificationBuilder
A collection of user identifiers. All the users in this collection will be notified. This method requires to be implemented.- Specified by:
getUserIdsToNotify
in classAbstractUserNotificationBuilder
- Returns:
-
performTemplateData
protected void performTemplateData(String language, Replacement resource, SilverpeasTemplate template)
- Overrides:
performTemplateData
in classAbstractReplacementNotificationBuilder
-
-