Project

General

Profile

Revision b5006f81

IDb5006f81283ba011b82ced08d12282d2e43db040
Parent 19c6f3d6
Child 9523526d

Added by Andreas Müller almost 4 years ago

ref 7166 remove and-filter for areas as long as not requried

View differences:

cdmlib-model/src/main/java/eu/etaxonomy/cdm/filter/TaxonNodeFilter.java
288 288
        return this;
289 289
    }
290 290

  
291
    public TaxonNodeFilter andArea(UUID uuid){
292
        areaFilter.add( new LogicFilter<>(NamedArea.class, uuid, Op.AND));
293
        return this;
294
    }
295
    public TaxonNodeFilter andArea(NamedArea area){
296
        areaFilter.add( new LogicFilter<>(area, Op.AND));
297
        return this;
298
    }
291
//And filter on areas makes sense only in very specific cases.
292
//We remove it until it is really required
293
//    public TaxonNodeFilter andArea(UUID uuid){
294
//        areaFilter.add( new LogicFilter<>(NamedArea.class, uuid, Op.AND));
295
//        return this;
296
//    }
297
//    public TaxonNodeFilter andArea(NamedArea area){
298
//        areaFilter.add( new LogicFilter<>(area, Op.AND));
299
//        return this;
300
//    }
299 301

  
300 302

  
301 303
    public TaxonNodeFilter setRankMin(Rank rankMin){

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)