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 io.swagger.annotations.Api;
|
13
|
|
14
|
import org.springframework.beans.factory.annotation.Autowired;
|
15
|
import org.springframework.stereotype.Controller;
|
16
|
import org.springframework.web.bind.annotation.RequestMapping;
|
17
|
|
18
|
import eu.etaxonomy.cdm.api.service.IFeatureTreeService;
|
19
|
import eu.etaxonomy.cdm.model.description.FeatureTree;
|
20
|
|
21
|
/**
|
22
|
* @author n.hoffmann
|
23
|
* @since Aug 6, 2010
|
24
|
* @version 1.0
|
25
|
*/
|
26
|
@Controller
|
27
|
@Api("featureTree")
|
28
|
@RequestMapping(value = {"/featureTree"})
|
29
|
public class FeatureTreeListController extends AbstractIdentifiableListController<FeatureTree, IFeatureTreeService> {
|
30
|
|
31
|
/* (non-Javadoc)
|
32
|
* @see eu.etaxonomy.cdm.remote.controller.BaseController#setService(eu.etaxonomy.cdm.api.service.IService)
|
33
|
*/
|
34
|
@Override
|
35
|
@Autowired
|
36
|
public void setService(IFeatureTreeService service) {
|
37
|
this.service = service;
|
38
|
}
|
39
|
}
|