Class ConflictForTargetEntitiesFilter
java.lang.Object
ch.tocco.nice2.optional.calendar.api.util.persist.AbstractEntityFilter
ch.tocco.nice2.optional.conflict.api.util.ConflictForTargetEntitiesFilter
- All Implemented Interfaces:
EntityFilter
Creates a query that finds all conflicts for a given target entity.
It can be applied to a query that finds Conflict entities. It will
extend the query to return those Conflicts where either one of the
CalendarEvents
s are
linked to the specified target entity using the specified relation name.
-
Constructor Summary
ConstructorDescriptionConflictForTargetEntitiesFilter
(List<PrimaryKey> targets, String relationName) -
Method Summary
Modifier and TypeMethodDescriptionappendQuery
(String entityModel) Append to the partial query and return the "next query step".Methods inherited from class ch.tocco.nice2.optional.calendar.api.util.persist.AbstractEntityFilter
and, or
-
Constructor Details
-
ConflictForTargetEntitiesFilter
-
-
Method Details
-
appendQuery
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
-