Project

General

Profile

« Previous | Next » 

Revision 26ab7583

Added by Andreas Müller over 5 years ago

ref #7745 add subtree filter to taxon search (not yet tested for subtree != null)

View differences:

cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/config/FindTaxaAndNamesConfiguratorImpl.java
16 16
import eu.etaxonomy.cdm.model.location.NamedArea;
17 17
import eu.etaxonomy.cdm.model.taxon.Classification;
18 18
import eu.etaxonomy.cdm.model.taxon.TaxonBase;
19
import eu.etaxonomy.cdm.model.taxon.TaxonNode;
19 20
import eu.etaxonomy.cdm.persistence.query.MatchMode;
20 21
import eu.etaxonomy.cdm.persistence.query.NameSearchOrder;
21 22

  
......
43 44
	private boolean doMisappliedNames = false;
44 45
	private boolean doIncludeAuthors = false;
45 46
	private Classification classification = null;
46
	private List<String> taxonPropertyPath;
47
	private TaxonNode subtree = null;
48
    private List<String> taxonPropertyPath;
47 49
	private List<String> synonymPropertyPath;
48 50
	private List<String> taxonNamePropertyPath;
49 51
	private List<String> commonNamePropertyPath;
50 52
	private Set<NamedArea> namedAreas;
51 53
	private NameSearchOrder order;
52 54

  
55

  
53 56
    /**
54 57
	 * @return the taxonNamePropertyPath
55 58
	 */
......
217 220
        this.includeUnpublished = includeUnpublished;
218 221
    }
219 222

  
223
    @Override
224
    public TaxonNode getSubtree() {
225
        return subtree;
226
    }
227
    @Override
228
    public void setSubtree(TaxonNode subtree) {
229
        this.subtree = subtree;
230
    }
231

  
220 232
}

Also available in: Unified diff