1
|
/**
|
2
|
* Copyright (C) 2007 EDIT
|
3
|
* European Distributed Institute of Taxonomy
|
4
|
* http://www.e-taxonomy.eu
|
5
|
*
|
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.
|
8
|
*/
|
9
|
package eu.etaxonomy.cdm.persistence.dao.reference;
|
10
|
|
11
|
import java.util.List;
|
12
|
|
13
|
import eu.etaxonomy.cdm.model.common.UuidAndTitleCache;
|
14
|
import eu.etaxonomy.cdm.model.reference.ReferenceBase;
|
15
|
import eu.etaxonomy.cdm.persistence.dao.common.IIdentifiableDao;
|
16
|
import eu.etaxonomy.cdm.persistence.dao.common.ISearchableDao;
|
17
|
import eu.etaxonomy.cdm.persistence.dao.common.ITitledDao;
|
18
|
|
19
|
/**
|
20
|
* @author a.mueller
|
21
|
*
|
22
|
*/
|
23
|
public interface IReferenceDao extends IIdentifiableDao<ReferenceBase>, ITitledDao<ReferenceBase>, ISearchableDao<ReferenceBase> {
|
24
|
public List<UuidAndTitleCache<ReferenceBase>> getUuidAndTitle();
|
25
|
/**
|
26
|
* @return all references marked with publish-flag
|
27
|
*/
|
28
|
public List<ReferenceBase> getAllReferencesForPublishing();
|
29
|
|
30
|
/**
|
31
|
* @return all references not used as nomenclatural reference with publish flag
|
32
|
*/
|
33
|
public List<ReferenceBase> getAllNotNomenclaturalReferencesForPublishing();
|
34
|
|
35
|
public List<ReferenceBase> getAllNomenclaturalReferences();
|
36
|
|
37
|
}
|