corrected taxon initialization strategy for relationsFrom/ToTaxon
[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.ITaxonService;
17 import eu.etaxonomy.cdm.api.service.IVocabularyService;
18 import eu.etaxonomy.cdm.model.common.TermVocabulary;
19 import eu.etaxonomy.cdm.model.taxon.TaxonBase;
20
21 /**
22 * @author a.kohlbecker
23 * @date 22.07.2010
24 *
25 */
26 @Controller
27 @RequestMapping(value = {"/termVocabulary"})
28 public class VocabularyListController extends IdentifiableListController<TermVocabulary, IVocabularyService> {
29
30 /* (non-Javadoc)
31 * @see eu.etaxonomy.cdm.remote.controller.AbstractListController#setService(eu.etaxonomy.cdm.api.service.IService)
32 */
33 @Autowired
34 @Override
35 public void setService(IVocabularyService service) {
36 this.service = service;
37 }
38
39
40 }