Class EventRegistrationPermissionService
java.lang.Object
ch.tocco.nice2.optional.event.impl.widget.eventregistration.EventRegistrationPermissionService
-
Constructor Summary
ConstructorDescriptionEventRegistrationPermissionService
(QueryBuilderFactory queryBuilderFactory, FormModel formModel, ConstrictionManager constrictionManager, QueryCompiler queryCompiler, SearchFilterQueryService searchFilterQueryService) -
Method Summary
Modifier and TypeMethodDescriptionboolean
isRegistrationAllowed
(Entity event, Entity eventRegistrationWidgetConfig) check if event is published by widget config
-
Constructor Details
-
EventRegistrationPermissionService
public EventRegistrationPermissionService(QueryBuilderFactory queryBuilderFactory, FormModel formModel, ConstrictionManager constrictionManager, QueryCompiler queryCompiler, SearchFilterQueryService searchFilterQueryService)
-
-
Method Details
-
isRegistrationAllowed
check if event is published by widget config- Parameters:
event
- the event to checkeventRegistrationWidgetConfig
- the widget config to load search filters and settings from- Returns:
- true if event is published in widget
-