Class MembershipRequestValidationUserNotificationBuilder

  • All Implemented Interfaces:
    org.silverpeas.core.notification.user.builder.UserNotificationBuilder

    public class MembershipRequestValidationUserNotificationBuilder
    extends AbstractCommunityUserNotificationBuilder
    User notification dedicated to the management of the validation of member request to join a community.
    Author:
    silveryocha
    • Constructor Detail

      • MembershipRequestValidationUserNotificationBuilder

        protected MembershipRequestValidationUserNotificationBuilder​(CommunityOfUsers resource)
    • Method Detail

      • validating

        public MembershipRequestValidationUserNotificationBuilder validating​(org.silverpeas.core.admin.user.model.User requester,
                                                                             boolean accept)
        Indicating the requester for which the join request validation has been performed and if the request has been accepted or refused.
        Parameters:
        requester - a User instance if the join requester.
        accept - the result of the validation. true if accepted, false otherwise.
        Returns:
        the builder instance itself.
      • getBundleSubjectKey

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

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

        protected Collection<String> getUserIdsToNotify()
        Specified by:
        getUserIdsToNotify in class org.silverpeas.core.notification.user.builder.AbstractUserNotificationBuilder
      • perform

        protected void perform​(CommunityOfUsers resource)
        Overrides:
        perform in class org.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<CommunityOfUsers>