Class MassMembershipCreateActionServiceImpl
java.lang.Object
ch.tocco.nice2.optional.membershiphierarchy.impl.actions.MassMembershipCreateActionServiceImpl
- All Implemented Interfaces:
MassMembershipCreateActionService
public class MassMembershipCreateActionServiceImpl
extends Object
implements MassMembershipCreateActionService
-
Constructor Summary
ConstructorDescriptionMassMembershipCreateActionServiceImpl
(Context context, RebindService rebindService, EntityExplorerActionSelectionService entityExplorerActionSelectionService) -
Method Summary
Modifier and TypeMethodDescriptionvoid
saveMemberships
(EntityExplorerActionSelection userSelection, RebindValue[] rebindValues) Creates a new membership for each selected user with the provided rebind values.
-
Constructor Details
-
MassMembershipCreateActionServiceImpl
public MassMembershipCreateActionServiceImpl(Context context, RebindService rebindService, EntityExplorerActionSelectionService entityExplorerActionSelectionService)
-
-
Method Details
-
saveMemberships
public void saveMemberships(EntityExplorerActionSelection userSelection, RebindValue[] rebindValues) Description copied from interface:MassMembershipCreateActionService
Creates a new membership for each selected user with the provided rebind values.- Specified by:
saveMemberships
in interfaceMassMembershipCreateActionService
- Parameters:
userSelection
- the selected usersrebindValues
- the rebind values from the create form
-