c6769f0862a803b572db5b3b1b7d68ddb96ff340
[cdmlib.git] / cdmlib-remote / src / main / java / eu / etaxonomy / cdm / remote / controller / TermNodeController.java
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 package eu.etaxonomy.cdm.remote.controller;
10
11 import org.springframework.beans.factory.annotation.Autowired;
12 import org.springframework.stereotype.Controller;
13 import org.springframework.web.bind.annotation.RequestMapping;
14
15 import eu.etaxonomy.cdm.api.service.ITermNodeService;
16 import eu.etaxonomy.cdm.model.term.TermNode;
17 import io.swagger.annotations.Api;
18
19 /**
20 * @author n.hoffmann
21 * @since Aug 6, 2010
22 */
23 @Controller
24 @Api("termNode")
25 @RequestMapping(value = {"/termNode/{uuid}"})
26 public class TermNodeController extends BaseController<TermNode, ITermNodeService> {
27
28 @Override
29 @Autowired
30 public void setService(ITermNodeService service) {
31 this.service = service;
32 }
33 }