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
.IClassificationService
;
22 import eu
.etaxonomy
.cdm
.model
.taxon
.Classification
;
26 * @created Apr 8, 2010
30 @RequestMapping(value
= {"/classification"})
31 public class ClassificationListController
extends IdentifiableListController
<Classification
,IClassificationService
> {
33 private static final Logger logger
= Logger
34 .getLogger(ClassificationListController
.class);
37 protected static final List
<String
> DEFAULT_INIT_STRATEGY
= Arrays
.asList(new String
[]{
38 "reference.authorship"
43 * @see eu.etaxonomy.cdm.remote.controller.AbstractListController#setService(eu.etaxonomy.cdm.api.service.IService)
47 public void setService(IClassificationService service
) {
48 this.service
= service
;