1
|
/**
|
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
|
|
10
|
package eu.etaxonomy.cdm.remote.controller;
|
11
|
|
12
|
import io.swagger.annotations.Api;
|
13
|
|
14
|
import org.apache.log4j.Logger;
|
15
|
import org.springframework.beans.factory.annotation.Autowired;
|
16
|
import org.springframework.stereotype.Controller;
|
17
|
import org.springframework.web.bind.annotation.RequestMapping;
|
18
|
|
19
|
import eu.etaxonomy.cdm.api.service.IEventBaseService;
|
20
|
import eu.etaxonomy.cdm.model.common.EventBase;
|
21
|
|
22
|
|
23
|
/**
|
24
|
* @author a.kohlbecker
|
25
|
* @date Jan 9, 2013
|
26
|
*
|
27
|
*/
|
28
|
@Controller
|
29
|
@Api("eventBase")
|
30
|
@RequestMapping(value = {"/eventBase/{uuid}"})
|
31
|
public class EventBaseController extends BaseController<EventBase, IEventBaseService> {
|
32
|
@SuppressWarnings("unused")
|
33
|
private static final Logger logger = Logger.getLogger(EventBaseController.class);
|
34
|
|
35
|
/* (non-Javadoc)
|
36
|
* @see eu.etaxonomy.cdm.remote.controller.BaseController#setService(eu.etaxonomy.cdm.api.service.IService)
|
37
|
*/
|
38
|
@Override
|
39
|
@Autowired
|
40
|
public void setService(IEventBaseService service) {
|
41
|
this.service = service;
|
42
|
}
|
43
|
}
|