REST controllers for PolytomousKeys
[cdmlib.git] / cdmlib-remote / src / main / java / eu / etaxonomy / cdm / remote / controller / PolytomousKeyListController.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.IPolytomousKeyService;
17 import eu.etaxonomy.cdm.model.description.PolytomousKey;
18
19 /**
20 * @author a.kohlbecker
21 * @date 24.03.2011
22 *
23 */
24 @Controller
25 @RequestMapping(value = {"/polytomousKey"})
26 public class PolytomousKeyListController extends BaseListController<PolytomousKey, IPolytomousKeyService> {
27
28 @Autowired
29 public void setService(IPolytomousKeyService service) {
30 this.service = service;
31 }
32
33 }
34