refactoring taxon controllers, reducing code duplication
[cdmlib.git] / cdmlib-remote / src / main / java / eu / etaxonomy / cdm / remote / controller / PolytomousKeyNodeListController.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.IPolytomousKeyNodeService;
17 import eu.etaxonomy.cdm.model.description.PolytomousKeyNode;
18
19 /**
20 * @author a.kohlbecker
21 * @date 24.03.2011
22 *
23 */
24 @Controller
25 @RequestMapping(value = {"/polytomousKeyNode"})
26 public class PolytomousKeyNodeListController extends BaseListController<PolytomousKeyNode, IPolytomousKeyNodeService> {
27
28 @Autowired
29 public void setService(IPolytomousKeyNodeService service) {
30 this.service = service;
31 }
32 }