3 * Copyright (C) 2007 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.
11 package eu
.etaxonomy
.cdm
.remote
.controller
;
13 import java
.util
.Arrays
;
14 import java
.util
.List
;
16 import org
.apache
.log4j
.Logger
;
17 import org
.springframework
.beans
.factory
.annotation
.Autowired
;
18 import org
.springframework
.stereotype
.Controller
;
19 import org
.springframework
.web
.bind
.annotation
.RequestMapping
;
21 import eu
.etaxonomy
.cdm
.api
.service
.ITaxonNodeService
;
22 import eu
.etaxonomy
.cdm
.model
.taxon
.TaxonNode
;
26 * @created Apr 9, 2010
30 @RequestMapping(value
= {"/taxonNode/{uuid}"})
31 public class TaxonNodeController
extends BaseController
<TaxonNode
, ITaxonNodeService
> {
32 private static final Logger logger
= Logger
33 .getLogger(TaxonNodeController
.class);
35 private static final List
<String
> NODE_INIT_STRATEGY
= Arrays
.asList(new String
[]{
40 public TaxonNodeController(){
42 setInitializationStrategy(NODE_INIT_STRATEGY
);
46 * @see eu.etaxonomy.cdm.remote.controller.BaseController#setService(eu.etaxonomy.cdm.api.service.IService)
50 public void setService(ITaxonNodeService service
) {
51 this.service
= service
;