Project

General

Profile

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

    
9
package eu.etaxonomy.cdm.remote.controller;
10

    
11
import java.util.Arrays;
12
import java.util.List;
13

    
14
import org.apache.log4j.Logger;
15
import org.springframework.stereotype.Controller;
16
import org.springframework.web.bind.annotation.RequestMapping;
17

    
18
import io.swagger.annotations.Api;
19

    
20
/**
21
 *
22
 * @author a.kohlbecker
23
 * @since Jun 25, 2013
24
 *
25
 */
26
@Controller
27
@Api("portal_descriptionElement")
28
@RequestMapping(value = {"/portal/descriptionElement"})
29
public class DescriptionElementListPortalController extends DescriptionElementListController {
30

    
31
   public static final Logger logger = Logger.getLogger(DescriptionElementListPortalController.class);
32

    
33

    
34
    protected static final List<String> DESCRIPTION_ELEMENT_INIT_STRATEGY = Arrays.asList(new String []{
35
            "$",
36
            "annotations",
37
            "markers",
38
            "stateData.$",
39
            "statisticalValues.*",
40
            "sources.citation.authorship",
41
            "sources.nameUsedInSource",
42
            "multilanguageText",
43
            "media",
44
            "name.$",
45
            "name.rank.representations",
46
            "name.status.type.representations",
47
            "taxon2.name"
48
    });
49

    
50
    /**
51
     * @return
52
     */
53
    @Override
54
    protected List<String> getInitializationStrategy() {
55
        return DESCRIPTION_ELEMENT_INIT_STRATEGY;
56
    }
57

    
58
}
(21-21/76)