2 * Copyright (C) 2007 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
6 * The contents of this file are subject to the Mozilla Public License Version 1.1
7 * See LICENSE.TXT at the top of this package for the full license terms.
10 package eu
.etaxonomy
.cdm
.persistence
.dao
.taxon
;
12 import java
.util
.List
;
14 import eu
.etaxonomy
.cdm
.model
.name
.Rank
;
15 import eu
.etaxonomy
.cdm
.model
.taxon
.TaxonNode
;
16 import eu
.etaxonomy
.cdm
.model
.taxon
.TaxonomicTree
;
17 import eu
.etaxonomy
.cdm
.persistence
.dao
.common
.IIdentifiableDao
;
23 public interface ITaxonomicTreeDao
extends IIdentifiableDao
<TaxonomicTree
> {
26 * Loads all TaxonNodes of the specified tree for a given Rank.
27 * If a branch does not contain a TaxonNode with a TaxonName at the given
28 * Rank the node associated with the next lower Rank is taken as root node.
29 * If the <code>rank</code> is null the absolute root nodes will be returned.
31 * @param taxonomicTree
32 * @param rank may be null
33 * @param propertyPaths
36 public List
<TaxonNode
> loadRankSpecificRootNodes(TaxonomicTree taxonomicTree
, Rank rank
, List
<String
> propertyPaths
);