Project

General

Profile

Download (1.09 KB) Statistics
| Branch: | Tag: | Revision:
1
/**
2
* Copyright (C) 2013 EDIT
3
* European Distributed Institute of Taxonomy
4
* http://www.e-taxonomy.eu
5
*
6
* The contents of this file are subject to the Mozilla Public License Version 1.1
7
* See LICENSE.TXT at the top of this package for the full license terms.
8
*/
9
package eu.etaxonomy.cdm.remote.controller;
10

    
11
import io.swagger.annotations.Api;
12

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

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

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

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

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

    
40
}
(30-30/66)