Class CalendarByEventIdFilter

java.lang.Object
ch.tocco.nice2.optional.calendar.api.util.persist.AbstractEntityFilter
ch.tocco.nice2.optional.calendar.api.util.persist.CalendarByEventIdFilter
All Implemented Interfaces:
EntityFilter

public class CalendarByEventIdFilter extends AbstractEntityFilter implements EntityFilter
Can be applied to query the Calendars that contains the event with the specified id. This should return one or zero results.
  • Constructor Details

    • CalendarByEventIdFilter

      public CalendarByEventIdFilter(UUID eventId)
  • Method Details

    • appendQuery

      public Condition appendQuery(String entityModel)
      Description copied from interface: EntityFilter
      Append to the partial query and return the "next query step". Return null, to not contribute to the query. This filter is then discarded.
      Specified by:
      appendQuery in interface EntityFilter
      Parameters:
      entityModel - the entity model the query is for