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
|
|
10
|
package eu.etaxonomy.cdm.persistence.dao.common;
|
11
|
|
12
|
import java.util.List;
|
13
|
|
14
|
import eu.etaxonomy.cdm.model.common.IdentifiableEntity;
|
15
|
import eu.etaxonomy.cdm.model.common.OriginalSource;
|
16
|
|
17
|
|
18
|
public interface IOriginalSourceDao extends ICdmEntityDao<OriginalSource>{
|
19
|
|
20
|
|
21
|
public List<IdentifiableEntity> findOriginalSourceByIdInSource(Class clazz, String idInSource, String idNamespace);
|
22
|
|
23
|
/**
|
24
|
* Returns the first OriginalSource with according idInSource and idNamespace
|
25
|
* @param idInSource
|
26
|
* @param idNamespace
|
27
|
* @return
|
28
|
*/
|
29
|
public List<OriginalSource> findOriginalSourceByIdInSource(String idInSource, String idNamespace);
|
30
|
|
31
|
|
32
|
}
|