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
;
13 import java
.util
.UUID
;
15 import eu
.etaxonomy
.cdm
.model
.taxon
.Classification
;
16 import eu
.etaxonomy
.cdm
.model
.taxon
.TaxonNode
;
17 import eu
.etaxonomy
.cdm
.persistence
.dao
.common
.IAnnotatableDao
;
23 public interface ITaxonNodeDao
extends IAnnotatableDao
<TaxonNode
> {
25 public UUID
delete(TaxonNode persistentObject
, boolean deleteChildren
);
31 public List
<TaxonNode
> getTaxonOfAcceptedTaxaByClassification(Classification classification
, Integer start
, Integer end
);
34 * @param classification
37 public int countTaxonOfAcceptedTaxaByClassification(Classification classification
);
39 public List
<TaxonNode
> listChildrenOf(TaxonNode node
, Integer pageSize
, Integer pageIndex
, List
<String
> propertyPaths
, boolean recursive
);
41 public abstract Long
countChildrenOf(TaxonNode node
, Classification classification
, boolean recursive
);