Class DefaultB2BRegistrationService

    • Constructor Detail

      • DefaultB2BRegistrationService

        public DefaultB2BRegistrationService()
    • Method Detail

      • setRegistrationDao

        public void setRegistrationDao​(B2BRegistrationDao registrationDao)
        Parameters:
        registrationDao - the registrationDao to set
      • setEmailService

        public void setEmailService​(EmailService emailService)
        Parameters:
        emailService - the emailService to set
      • getEmployeesInUserGroup

        public java.util.List<EmployeeModel> getEmployeesInUserGroup​(java.lang.String userGroup)
        Description copied from interface: B2BRegistrationService
        Gets the list of employees that are part of a given user group
        Specified by:
        getEmployeesInUserGroup in interface B2BRegistrationService
        Parameters:
        userGroup - The name of the user group
        Returns:
        Employees within the user group
      • getEmailAddressesOfEmployees

        public java.util.List<EmailAddressModel> getEmailAddressesOfEmployees​(java.util.List<EmployeeModel> employees)
        Description copied from interface: B2BRegistrationService
        Gets the contact email address of the specified list of employees
        Specified by:
        getEmailAddressesOfEmployees in interface B2BRegistrationService
        Parameters:
        employees - List of employees to get email address from
        Returns:
        List of email addresses. It is possible that the list is empty since employees are not required to have an email nor a contact address