Class DefaultB2BRegistrationService

java.lang.Object
de.hybris.platform.b2bacceleratorservices.registration.impl.DefaultB2BRegistrationService
All Implemented Interfaces:
B2BRegistrationService

public class DefaultB2BRegistrationService extends Object implements B2BRegistrationService
Default implementation of B2BRegistrationService
  • Constructor Details

    • DefaultB2BRegistrationService

      public DefaultB2BRegistrationService()
  • Method Details

    • 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 List<EmployeeModel> getEmployeesInUserGroup(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 List<EmailAddressModel> getEmailAddressesOfEmployees(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