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 eu
.etaxonomy
.cdm
.model
.reference
.ReferenceBase
;
14 import eu
.etaxonomy
.cdm
.model
.taxon
.Taxon
;
15 import eu
.etaxonomy
.cdm
.model
.taxon
.TaxonBase
;
16 import eu
.etaxonomy
.cdm
.persistence
.dao
.common
.IIdentifiableDao
;
17 import eu
.etaxonomy
.cdm
.persistence
.dao
.common
.ITitledDao
;
23 public interface ITaxonDao
extends IIdentifiableDao
<TaxonBase
>, ITitledDao
<TaxonBase
> {
25 public List
<TaxonBase
> getTaxaByName(String name
, ReferenceBase sec
);
27 public List
<Taxon
> getRootTaxa(ReferenceBase sec
);
30 * @param pagesize max maximum number of returned taxa
31 * @param page page to start, with 0 being first page
34 public List
<TaxonBase
> getAllTaxa(Integer pagesize
, Integer page
);