Interface EventRegistrationPermissionService.EventRegistrationPermissionContribution

Enclosing class:
EventRegistrationPermissionService

public static interface EventRegistrationPermissionService.EventRegistrationPermissionContribution
if multiple contributions are available, the first that returns a condition will be used consider using Primary if you need to make sure your contribution always wins out
  • Method Details

    • buildCondition

      Optional<Condition> buildCondition(Condition defaultCondition, String fromField, String toField)
      Parameters:
      defaultCondition - the registration time window condition use by the standard widget
      fromField - the field the standard widget uses as the lower bound of the time window
      toField - the field the standard widget uses as the upper bound of the time window
      Returns:
      an optional with the condition to use, empty if default condition should be used