Class UserEventRegistrationServiceImpl
java.lang.Object
ch.tocco.nice2.optional.event.impl.flows.usereventregistration.UserEventRegistrationServiceImpl
- All Implemented Interfaces:
UserEventRegistrationService
public class UserEventRegistrationServiceImpl
extends Object
implements UserEventRegistrationService
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.optional.event.impl.flows.usereventregistration.UserEventRegistrationService
UserEventRegistrationService.UserEventRegistrationData
-
Constructor Summary
ConstructorDescriptionUserEventRegistrationServiceImpl
(RebindService rebindService, Context context, CommandExecutor executor, LogicCopyService logicCopyService, SecurityManager securityManager, BusinessUnitManager businessUnitManager, MailFactory mailFactory, EmailTemplateLoadService emailTemplateLoadService, AddressUserService addressUserService, QueryBuilderFactory queryBuilderFactory, PrincipalService principalService) -
Method Summary
Modifier and TypeMethodDescriptiongetAvailableUsersForRegistration
(String[] userUserCodes) get a list of keys of user entities that are available for registration for the current uservoid
register all users passed inUserEventRegistrationService.UserEventRegistrationData.userKeys
onUserEventRegistrationService.UserEventRegistrationData.eventKey
and everyUserEventRegistrationService.UserEventRegistrationData.selectedModules
-
Constructor Details
-
UserEventRegistrationServiceImpl
public UserEventRegistrationServiceImpl(RebindService rebindService, Context context, CommandExecutor executor, LogicCopyService logicCopyService, SecurityManager securityManager, BusinessUnitManager businessUnitManager, MailFactory mailFactory, EmailTemplateLoadService emailTemplateLoadService, AddressUserService addressUserService, QueryBuilderFactory queryBuilderFactory, PrincipalService principalService)
-
-
Method Details
-
register
Description copied from interface:UserEventRegistrationService
register all users passed inUserEventRegistrationService.UserEventRegistrationData.userKeys
onUserEventRegistrationService.UserEventRegistrationData.eventKey
and everyUserEventRegistrationService.UserEventRegistrationData.selectedModules
- Specified by:
register
in interfaceUserEventRegistrationService
- Parameters:
data
- a bean class containing the necessary info to register the users
-
getAvailableUsersForRegistration
Description copied from interface:UserEventRegistrationService
get a list of keys of user entities that are available for registration for the current user- Specified by:
getAvailableUsersForRegistration
in interfaceUserEventRegistrationService
- Parameters:
userUserCodes
- keys of all User_code entities that Users need to be related with- Returns:
- a list of primary keys
-