Project

General

Profile

Download (1.1 KB) Statistics
| Branch: | Tag: | Revision:
1
// $Id$
2
/**
3
* Copyright (C) 2013 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 io.swagger.annotations.Api;
13

    
14
import java.util.Arrays;
15
import java.util.List;
16

    
17
import org.springframework.stereotype.Controller;
18
import org.springframework.web.bind.annotation.RequestMapping;
19

    
20
/**
21
 * @author a.kohlbecker
22
 * @date Jun 24, 2013
23
 *
24
 */
25
@Controller
26
@Api("portal_featureTree")
27
@RequestMapping(value = {"/portal/featureTree"})
28
public class FeatureTreeListPortalController extends FeatureTreeListController {
29

    
30
    private static final List<String> FEATURETREE_INIT_STRATEGY = Arrays.asList(
31
            new String[]{
32
                "representations",
33
                "root.feature.representations",
34
                "root.childNodes.feature.representations"
35
            });
36

    
37
    public FeatureTreeListPortalController() {
38
        setInitializationStrategy(FEATURETREE_INIT_STRATEGY);
39
    }
40

    
41
}
(28-28/63)