Merge branch 'release/5.45.0'
[cdmlib.git] / cdmlib-remote / src / main / java / eu / etaxonomy / cdm / remote / controller / FeatureListController.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
10 package eu.etaxonomy.cdm.remote.controller;
11
12 import org.springframework.beans.factory.annotation.Autowired;
13 import org.springframework.stereotype.Controller;
14 import org.springframework.web.bind.annotation.RequestMapping;
15
16 import eu.etaxonomy.cdm.api.service.IDescriptionService;
17 import eu.etaxonomy.cdm.model.description.DescriptionBase;
18 import io.swagger.annotations.Api;
19
20 /**
21 * TODO write controller documentation
22 *
23 * @author a.kohlbecker
24 * @since 24.03.2009
25 */
26
27 @Controller
28 @Api("feature")
29 @RequestMapping(value = {"/feature"}) //FIXME refactor type mappings
30 public class FeatureListController extends AbstractIdentifiableListController<DescriptionBase, IDescriptionService>{
31
32 @Autowired
33 @Override
34 public void setService(IDescriptionService service) {
35 this.service = service;
36 }
37 }