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 io.swagger.annotations.Api;
|
12
|
|
13
|
import org.apache.log4j.Logger;
|
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.IVocabularyService;
|
19
|
import eu.etaxonomy.cdm.model.term.TermVocabulary;
|
20
|
|
21
|
/**
|
22
|
* @author a.kohlbecker
|
23
|
* @since 22.07.2010
|
24
|
*
|
25
|
*/
|
26
|
@Controller
|
27
|
@Api("termVocabulary")
|
28
|
@RequestMapping(value = {"/termVocabulary"})
|
29
|
public class VocabularyListController extends AbstractIdentifiableListController<TermVocabulary, IVocabularyService> {
|
30
|
|
31
|
public static final Logger logger = Logger.getLogger(VocabularyListController.class);
|
32
|
|
33
|
/* (non-Javadoc)
|
34
|
* @see eu.etaxonomy.cdm.remote.controller.AbstractListController#setService(eu.etaxonomy.cdm.api.service.IService)
|
35
|
*/
|
36
|
@Autowired
|
37
|
@Override
|
38
|
public void setService(IVocabularyService service) {
|
39
|
this.service = service;
|
40
|
}
|
41
|
|
42
|
|
43
|
}
|