Class EventRegistrationPermissionService

java.lang.Object
ch.tocco.nice2.optional.event.impl.widget.eventregistration.EventRegistrationPermissionService

@Component public class EventRegistrationPermissionService extends Object
  • Constructor Details

  • Method Details

    • isRegistrationAllowed

      public boolean isRegistrationAllowed(Entity event, Entity eventRegistrationWidgetConfig)
      check if event is published by widget config
      Parameters:
      event - the event to check
      eventRegistrationWidgetConfig - the widget config to load search filters and settings from
      Returns:
      true if event is published in widget