Merge branch 'release/5.1.0'
[cdmlib.git] / cdmlib-remote / src / main / java / eu / etaxonomy / cdm / remote / controller / TermListController.java
1 /**
2 * Copyright (C) 2009 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.ITermService;
16 import eu.etaxonomy.cdm.model.common.DefinedTermBase;
17 import io.swagger.annotations.Api;
18
19 /**
20 * TODO write controller documentation
21 *
22 * @author a.kohlbecker
23 * @since 23.06.2009
24 *
25 */
26 @Controller
27 @Api("term")
28 @RequestMapping(value = {"/term"})
29 public class TermListController extends AbstractIdentifiableListController<DefinedTermBase, ITermService> {
30
31 @Autowired
32 @Override
33 public void setService(ITermService service) {
34 this.service = service;
35 }
36
37 }