Actions
feature request #7598
openGrouping of Restrictions implemented
Status:
New
Priority:
New
Assignee:
Category:
cdmlib
Target version:
Start date:
Due date:
% Done:
0%
Estimated time:
Severity:
normal
Description
Since solving #7590 it is possible to logically combine Restrictions by AND and OR. To allow for really flexible search filters is is required to support grouping of Restrictions, so that expressions like this are possible:
Restriction-a OR (Restriction-b AND Restriction-c)
- Create abstract AbstractRestriction as base class for Restriction
- Create RestrictionGroup as subclass of AbstractRestriction
- implement handling of RestrictionGroups in
eu.etaxonomy.cdm.persistence.dao.hibernate.common.CdmEntityDaoBase.addRestrictions(List<Restriction<?>> restrictions, DetachedCriteria criteria)
Related issues
Updated by Andreas Kohlbecker about 6 years ago
- Related to feature request #7590: findByTitleWithRestrictions allows combining Restrictions by OR added
Updated by Andreas Müller about 6 years ago
- Subject changed from Grouping od Restrictions implemented to Grouping of Restrictions implemented
Actions