3 * Copyright (C) 2009 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
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.
10 package eu
.etaxonomy
.cdm
.remote
.controller
;
12 import java
.util
.Arrays
;
13 import java
.util
.List
;
15 import org
.springframework
.beans
.factory
.annotation
.Autowired
;
16 import org
.springframework
.stereotype
.Controller
;
17 import org
.springframework
.web
.bind
.annotation
.RequestMapping
;
19 import eu
.etaxonomy
.cdm
.api
.service
.IPolytomousKeyNodeService
;
20 import eu
.etaxonomy
.cdm
.model
.description
.PolytomousKeyNode
;
23 * @author a.kohlbecker
28 @RequestMapping(value
= {"/polytomousKeyNode/{uuid}"})
29 public class PolytomousKeyNodeController
extends BaseController
<PolytomousKeyNode
, IPolytomousKeyNodeService
> {
32 private static final List
<String
> NODE_INIT_STRATEGY
= Arrays
.asList(new String
[]{
38 public PolytomousKeyNodeController() {
40 setInitializationStrategy(NODE_INIT_STRATEGY
);
44 public void setService(IPolytomousKeyNodeService service
) {
45 this.service
= service
;