Class FormsOnlineValidationRequestUserNotification
- 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
-
- org.silverpeas.components.formsonline.notification.FormsOnlineValidationRequestUserNotification
-
- All Implemented Interfaces:
org.silverpeas.core.notification.user.builder.UserNotificationBuilder
- Direct Known Subclasses:
AbstractFormsOnlineProcessedRequestUserNotification
,FormsOnlinePendingValidationRequestUserNotification
,FormsOnlineProcessedRequestFollowingUserNotification
public class FormsOnlineValidationRequestUserNotification extends AbstractFormsOnlineRequestUserNotification
- Author:
- Nicolas EYSSERIC
-
-
Constructor Summary
Constructors Constructor Description FormsOnlineValidationRequestUserNotification(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 String
getBundleSubjectKey()
protected int
getCurrentValidationStep()
The meaning of the returned step number is "VALIDATED" and not "TO VALIDATE".protected int
getNbValidationSteps()
protected String
getTemplateFileName()
protected String
getTitle(String language)
protected Collection<String>
getUserIdsToNotify()
protected void
performTemplateData(String language, FormInstance resource, org.silverpeas.core.template.SilverpeasTemplate template)
-
Methods inherited from class org.silverpeas.components.formsonline.notification.AbstractFormsOnlineRequestUserNotification
extractGroupIds, extractUserIds, getAction, getComponentInstanceId, getContributionAccessLinkLabelBundleKey, getLatestRequestValidator, getLocalizationBundlePath, getResourceURL, getSender, getSenderName, getTemplatePath, isSendImmediately, performNotificationResource
-
Methods inherited from class org.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder
createNotification, 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, stop, stopWhenNoUserToNotify
-
-
-
-
Constructor Detail
-
FormsOnlineValidationRequestUserNotification
public FormsOnlineValidationRequestUserNotification(FormInstance resource, org.silverpeas.core.notification.user.client.constant.NotifAction action)
-
-
Method Detail
-
getBundleSubjectKey
protected String getBundleSubjectKey()
- Overrides:
getBundleSubjectKey
in classorg.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<FormInstance>
-
getTitle
protected String getTitle(String language)
- Overrides:
getTitle
in classorg.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<FormInstance>
-
getTemplateFileName
protected String getTemplateFileName()
- Specified by:
getTemplateFileName
in classorg.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<FormInstance>
-
performTemplateData
protected void performTemplateData(String language, FormInstance resource, org.silverpeas.core.template.SilverpeasTemplate template)
- Overrides:
performTemplateData
in classAbstractFormsOnlineRequestUserNotification
-
getUserIdsToNotify
protected Collection<String> getUserIdsToNotify()
- Specified by:
getUserIdsToNotify
in classorg.silverpeas.core.notification.user.builder.AbstractUserNotificationBuilder
-
getNbValidationSteps
protected int getNbValidationSteps()
-
getCurrentValidationStep
protected int getCurrentValidationStep()
The meaning of the returned step number is "VALIDATED" and not "TO VALIDATE".Please override this method in order to get the "TO VALIDATE" meaning.
- Returns:
- the step number as integer.
-
-