1 package eu
.etaxonomy
.cdm
.remote
.controller
;
3 import java
.util
.Arrays
;
6 import org
.springframework
.stereotype
.Controller
;
7 import org
.springframework
.web
.bind
.annotation
.RequestMapping
;
9 import io
.swagger
.annotations
.Api
;
12 * Copyright (C) 2009 EDIT European Distributed Institute of Taxonomy
13 * http://www.e-taxonomy.eu
15 * The contents of this file are subject to the Mozilla Public License Version
16 * 1.1 See LICENSE.TXT at the top of this package for the full license terms.
21 * @author a.kohlbecker
26 @RequestMapping(value
= {"/portal/taxon"})
27 public class TaxonPortalListController
extends TaxonListController
{
29 private static final List
<String
> SIMPLE_TAXON_INIT_STRATEGY
= Arrays
.asList(new String
[]{
32 "name.rank.representations",
33 "name.status.type.representations",
34 "name.nomenclaturalReference.authorship",
35 "name.nomenclaturalReference.inReference.authorship",
36 "taxonNodes.classification",
37 "synonym.name.nomenclaturalReference.authorship",
38 "synonym.name.nomenclaturalReference.inReference.authorship",
41 public TaxonPortalListController() {
43 setInitializationStrategy(SIMPLE_TAXON_INIT_STRATEGY
);
47 protected List
<String
> getSimpleTaxonInitStrategy() {
48 return SIMPLE_TAXON_INIT_STRATEGY
;