1
|
// $Id$
|
2
|
/**
|
3
|
* Copyright (C) 2007 EDIT
|
4
|
* European Distributed Institute of Taxonomy
|
5
|
* http://www.e-taxonomy.eu
|
6
|
*
|
7
|
* The contents of this file are subject to the Mozilla Public License Version 1.1
|
8
|
* See LICENSE.TXT at the top of this package for the full license terms.
|
9
|
*/
|
10
|
|
11
|
package eu.etaxonomy.cdm.remote.controller;
|
12
|
|
13
|
import io.swagger.annotations.Api;
|
14
|
|
15
|
import org.springframework.beans.factory.annotation.Autowired;
|
16
|
import org.springframework.stereotype.Controller;
|
17
|
import org.springframework.web.bind.annotation.RequestMapping;
|
18
|
|
19
|
import eu.etaxonomy.cdm.api.service.IFeatureTreeService;
|
20
|
import eu.etaxonomy.cdm.model.description.FeatureTree;
|
21
|
|
22
|
/**
|
23
|
* @author n.hoffmann
|
24
|
* @created Aug 6, 2010
|
25
|
* @version 1.0
|
26
|
*/
|
27
|
@Controller
|
28
|
@Api("featureTree")
|
29
|
@RequestMapping(value = {"/featureTree"})
|
30
|
public class FeatureTreeListController extends IdentifiableListController<FeatureTree, IFeatureTreeService> {
|
31
|
|
32
|
/* (non-Javadoc)
|
33
|
* @see eu.etaxonomy.cdm.remote.controller.BaseController#setService(eu.etaxonomy.cdm.api.service.IService)
|
34
|
*/
|
35
|
@Override
|
36
|
@Autowired
|
37
|
public void setService(IFeatureTreeService service) {
|
38
|
this.service = service;
|
39
|
}
|
40
|
}
|