Project

General

Profile

Download (1.08 KB) Statistics
| Branch: | Tag: | Revision:
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.remote.controller;
11

    
12
import org.apache.log4j.Logger;
13
import org.springframework.beans.factory.annotation.Autowired;
14
import org.springframework.stereotype.Controller;
15
import org.springframework.web.bind.annotation.RequestMapping;
16

    
17
import eu.etaxonomy.cdm.api.service.ITermNodeService;
18
import eu.etaxonomy.cdm.model.term.TermNode;
19
import io.swagger.annotations.Api;
20

    
21
/**
22
 * @author n.hoffmann
23
 * @since Aug 6, 2010
24
 */
25
@Controller
26
@Api("termNode")
27
@RequestMapping(value = {"/termNode/{uuid}"})
28
public class TermNodeController extends BaseController<TermNode, ITermNodeService> {
29
    @SuppressWarnings("unused")
30
    private static final Logger logger = Logger.getLogger(TermNodeController.class);
31

    
32
    @Override
33
    @Autowired
34
    public void setService(ITermNodeService service) {
35
        this.service = service;
36
    }
37
}
(66-66/76)