Class LinkContingentActionServiceImpl
java.lang.Object
ch.tocco.nice2.optional.contingentreservation.impl.actions.LinkContingentActionServiceImpl
- All Implemented Interfaces:
LinkContingentActionService
-
Constructor Summary
ConstructorsConstructorDescriptionLinkContingentActionServiceImpl(EntityExplorerActionSelectionService selectionService, Context context, QueryBuilderFactory queryBuilderFactory, EntityDefaultValueService entityDefaultValueService) -
Method Summary
Modifier and TypeMethodDescriptionlinkContingent(EntityExplorerActionSelection selection, String contingentKey, String contingentTypeKey) Creates `Registration` entities for each user in `selection` for the given events.
-
Constructor Details
-
LinkContingentActionServiceImpl
public LinkContingentActionServiceImpl(EntityExplorerActionSelectionService selectionService, Context context, QueryBuilderFactory queryBuilderFactory, EntityDefaultValueService entityDefaultValueService)
-
-
Method Details
-
getCompanyContingentType
- Specified by:
getCompanyContingentTypein interfaceLinkContingentActionService
-
linkContingent
public List<String> linkContingent(EntityExplorerActionSelection selection, String contingentKey, String contingentTypeKey) Description copied from interface:LinkContingentActionServiceCreates `Registration` entities for each user in `selection` for the given events.- Specified by:
linkContingentin interfaceLinkContingentActionService- Parameters:
selection- the selected registrationscontingentKey- the contingent which will be used to link the registrations, can be nullcontingentTypeKey- key of the contingent type- Returns:
- a list of pk's (as strings) which could not be linked to a contingent
-