1 |
a9113a50
|
Andreas Kohlbecker
|
/**
|
2 |
|
|
* Copyright (C) 2013 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.api.service;
|
10 |
|
|
|
11 |
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
12 |
|
|
import org.springframework.stereotype.Service;
|
13 |
|
|
import org.springframework.transaction.annotation.Transactional;
|
14 |
|
|
|
15 |
|
|
import eu.etaxonomy.cdm.model.common.EventBase;
|
16 |
|
|
import eu.etaxonomy.cdm.persistence.dao.common.IEventBaseDao;
|
17 |
|
|
|
18 |
|
|
/**
|
19 |
|
|
* @author a.kohlbecker
|
20 |
53db84af
|
Andreas Müller
|
* @since Jan 9, 2013
|
21 |
a9113a50
|
Andreas Kohlbecker
|
*
|
22 |
|
|
*/
|
23 |
|
|
@Service
|
24 |
77b4a247
|
Andreas Kohlbecker
|
@Transactional(readOnly = true)
|
25 |
a9113a50
|
Andreas Kohlbecker
|
public class EventBaseServiceImpl extends AnnotatableServiceBase<EventBase, IEventBaseDao> implements IEventBaseService {
|
26 |
|
|
|
27 |
|
|
@Override
|
28 |
|
|
@Autowired
|
29 |
|
|
protected void setDao(IEventBaseDao dao) {
|
30 |
|
|
this.dao = dao;
|
31 |
|
|
}
|
32 |
|
|
|
33 |
|
|
}
|