Project

General

Profile

Download (1.3 KB) Statistics
| Branch: | Tag: | Revision:
1
// $Id$
2
/**
3
* Copyright (C) 2009 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
package eu.etaxonomy.cdm.remote.controller;
11

    
12
import io.swagger.annotations.Api;
13

    
14
import org.apache.log4j.Logger;
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.IVocabularyService;
20
import eu.etaxonomy.cdm.model.common.TermVocabulary;
21

    
22
/**
23
 * @author a.kohlbecker
24
 * @date 22.07.2010
25
 *
26
 */
27
@Controller
28
@Api("termVocabulary")
29
@RequestMapping(value = {"/termVocabulary"})
30
public class VocabularyListController extends IdentifiableListController<TermVocabulary, IVocabularyService> {
31

    
32
    public static final Logger logger = Logger.getLogger(VocabularyListController.class);
33

    
34
    /* (non-Javadoc)
35
     * @see eu.etaxonomy.cdm.remote.controller.AbstractListController#setService(eu.etaxonomy.cdm.api.service.IService)
36
     */
37
    @Autowired
38
    @Override
39
    public void setService(IVocabularyService service) {
40
        this.service = service;
41
    }
42

    
43

    
44
}
(63-63/63)