Class ConflictUniqueFilter

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

public class ConflictUniqueFilter extends AbstractEntityFilter implements EntityFilter
Appends query constraints to filter those conflicts with a relation to both calendar events (relation order does not matter).
  • Constructor Details

    • ConflictUniqueFilter

      public ConflictUniqueFilter(PrimaryKey calendarEvent1, PrimaryKey calendarEvent2)
  • 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