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.hibernate.common;
|
11
|
|
12
|
import org.apache.log4j.Logger;
|
13
|
import org.springframework.stereotype.Repository;
|
14
|
|
15
|
import eu.etaxonomy.cdm.model.common.AnnotatableEntity;
|
16
|
import eu.etaxonomy.cdm.persistence.dao.common.IAnnotatableDao;
|
17
|
|
18
|
/**
|
19
|
* @author n.hoffmann
|
20
|
* @created 24.09.2008
|
21
|
* @version 1.0
|
22
|
*/
|
23
|
@Repository
|
24
|
public class AnnotatableDaoImpl<T extends AnnotatableEntity> extends CdmEntityDaoBase<T> implements IAnnotatableDao<T> {
|
25
|
private static Logger logger = Logger.getLogger(AnnotatableDaoImpl.class);
|
26
|
|
27
|
|
28
|
public AnnotatableDaoImpl() {
|
29
|
super((Class<T>)AnnotatableEntity.class);
|
30
|
}
|
31
|
/**
|
32
|
* @param type
|
33
|
*/
|
34
|
public AnnotatableDaoImpl(Class<T> type) {
|
35
|
super(type);
|
36
|
}
|
37
|
|
38
|
}
|