2 * Copyright (C) 2009 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
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.
9 package eu
.etaxonomy
.cdm
.remote
.controller
;
11 import org
.springframework
.beans
.factory
.annotation
.Autowired
;
12 import org
.springframework
.stereotype
.Controller
;
13 import org
.springframework
.web
.bind
.annotation
.RequestMapping
;
15 import eu
.etaxonomy
.cdm
.api
.service
.ITermService
;
16 import eu
.etaxonomy
.cdm
.model
.common
.DefinedTermBase
;
17 import io
.swagger
.annotations
.Api
;
20 * TODO write controller documentation
22 * @author a.kohlbecker
28 @RequestMapping(value
= {"/term"})
29 public class TermListController
extends AbstractIdentifiableListController
<DefinedTermBase
, ITermService
> {
33 public void setService(ITermService service
) {
34 this.service
= service
;