missing implementations for the generic controller architeture (works for data portal...
[cdmlib.git] / cdmlib-remote / src / main / java / eu / etaxonomy / cdm / remote / controller / VocabularyListController.java
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 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.IVocabularyService;
17 import eu.etaxonomy.cdm.model.common.TermVocabulary;
18
19 /**
20 * @author a.kohlbecker
21 * @date 22.07.2010
22 *
23 */
24 @Controller
25 @RequestMapping(value = {"/termvocabulary/"})
26 public class VocabularyListController extends BaseListController<TermVocabulary, IVocabularyService> {
27
28 /* (non-Javadoc)
29 * @see eu.etaxonomy.cdm.remote.controller.AbstractListController#setService(eu.etaxonomy.cdm.api.service.IService)
30 */
31 @Autowired
32 @Override
33 public void setService(IVocabularyService service) {
34 this.service = service;
35 }
36
37
38 }