Project

General

Profile

Download (1.06 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 java.util.Arrays;
12
import java.util.List;
13

    
14
import org.springframework.stereotype.Controller;
15
import org.springframework.web.bind.annotation.RequestMapping;
16

    
17
import io.swagger.annotations.Api;
18

    
19
/**
20
 * @author a.kohlbecker
21
 * @since Jun 24, 2013
22
 *
23
 */
24
@Controller
25
@Api("portal_termTree")
26
@RequestMapping(value = {"/portal/termTree"})
27
public class TermTreeListPortalController extends TermTreeListController {
28

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

    
36
    public TermTreeListPortalController() {
37
        setInitializationStrategy(TERMTREE_INIT_STRATEGY);
38
    }
39

    
40
}
(70-70/76)