Class CalendarEventByCalendarFilter

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

public class CalendarEventByCalendarFilter extends AbstractEntityFilter
Applicable to `Calendar_event` entities to get those belonging to given calendars.
  • Constructor Details

    • CalendarEventByCalendarFilter

      public CalendarEventByCalendarFilter(Iterable<Calendar> calendars)
  • Method Details

    • appendQuery

      public Condition appendQuery(String entityModel) throws PersistException
      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.
      Parameters:
      entityModel - the entity model the query is for
      Throws:
      PersistException