Class CalendarParentFilter

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

public class CalendarParentFilter extends AbstractEntityFilter implements EntityFilter

Adds constraint for the Calendar_event entity to fetch only those of a given calendar.

Applies to Calendar_event

  • Constructor Details

    • CalendarParentFilter

      public CalendarParentFilter(Entity calendarEntity)
  • 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.
      Specified by:
      appendQuery in interface EntityFilter
      Parameters:
      entityModel - the entity model the query is for
      Throws:
      PersistException