1
|
// $Id$
|
2
|
/**
|
3
|
* Copyright (C) 2013 EDIT
|
4
|
* European Distributed Institute of Taxonomy
|
5
|
* http://www.e-taxonomy.eu
|
6
|
*
|
7
|
* The contents of this file are subject to the Mozilla Public License Version 1.1
|
8
|
* See LICENSE.TXT at the top of this package for the full license terms.
|
9
|
*/
|
10
|
package eu.etaxonomy.cdm.api.service;
|
11
|
|
12
|
import org.springframework.beans.factory.annotation.Autowired;
|
13
|
import org.springframework.stereotype.Service;
|
14
|
import org.springframework.transaction.annotation.Propagation;
|
15
|
import org.springframework.transaction.annotation.Transactional;
|
16
|
|
17
|
import eu.etaxonomy.cdm.model.common.EventBase;
|
18
|
import eu.etaxonomy.cdm.persistence.dao.common.IEventBaseDao;
|
19
|
|
20
|
/**
|
21
|
* @author a.kohlbecker
|
22
|
* @date Jan 9, 2013
|
23
|
*
|
24
|
*/
|
25
|
@Service
|
26
|
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
|
27
|
public class EventBaseServiceImpl extends AnnotatableServiceBase<EventBase, IEventBaseDao> implements IEventBaseService {
|
28
|
|
29
|
@Override
|
30
|
@Autowired
|
31
|
protected void setDao(IEventBaseDao dao) {
|
32
|
this.dao = dao;
|
33
|
}
|
34
|
|
35
|
}
|