Class DefaultB2BRegistrationService
java.lang.Object
de.hybris.platform.b2bacceleratorservices.registration.impl.DefaultB2BRegistrationService
- All Implemented Interfaces:
B2BRegistrationService
Default implementation of
B2BRegistrationService-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetEmailAddressesOfEmployees(List<EmployeeModel> employees) Gets the contact email address of the specified list of employeesgetEmployeesInUserGroup(String userGroup) Gets the list of employees that are part of a given user groupvoidsetEmailService(EmailService emailService) voidsetRegistrationDao(B2BRegistrationDao registrationDao)
-
Constructor Details
-
DefaultB2BRegistrationService
public DefaultB2BRegistrationService()
-
-
Method Details
-
setRegistrationDao
- Parameters:
registrationDao- the registrationDao to set
-
setEmailService
- Parameters:
emailService- the emailService to set
-
getEmployeesInUserGroup
Description copied from interface:B2BRegistrationServiceGets the list of employees that are part of a given user group- Specified by:
getEmployeesInUserGroupin interfaceB2BRegistrationService- Parameters:
userGroup- The name of the user group- Returns:
- Employees within the user group
-
getEmailAddressesOfEmployees
Description copied from interface:B2BRegistrationServiceGets the contact email address of the specified list of employees- Specified by:
getEmailAddressesOfEmployeesin interfaceB2BRegistrationService- 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
-