Class FormsOnlineValidationRequestUserNotification

java.lang.Object
org.silverpeas.core.notification.user.builder.AbstractUserNotificationBuilder
org.silverpeas.core.notification.user.builder.AbstractResourceUserNotificationBuilder<FormInstance>
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 Details

    • FormsOnlineValidationRequestUserNotification

      public FormsOnlineValidationRequestUserNotification(FormInstance resource, org.silverpeas.core.notification.user.client.constant.NotifAction action)
  • Method Details

    • getBundleSubjectKey

      protected String getBundleSubjectKey()
      Overrides:
      getBundleSubjectKey in class org.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<FormInstance>
    • getTitle

      protected String getTitle(String language)
      Overrides:
      getTitle in class org.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<FormInstance>
    • getTemplateFileName

      protected String getTemplateFileName()
      Specified by:
      getTemplateFileName in class org.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<FormInstance>
    • performTemplateData

      protected void performTemplateData(String language, FormInstance resource, org.silverpeas.core.template.SilverpeasTemplate template)
      Overrides:
      performTemplateData in class AbstractFormsOnlineRequestUserNotification
    • getUserIdsToNotify

      protected Collection<String> getUserIdsToNotify()
      Specified by:
      getUserIdsToNotify in class org.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.