Project

General

Profile

Download (1.23 KB) Statistics
| Branch: | Tag: | Revision:
1
/**
2
* Copyright (C) 2009 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

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

    
18
/**
19
 * @author a.kohlbecker
20
 * @since 14.10.2010
21
 *
22
 */
23
@Controller
24
@Api("portal_derivedUnitFacade")
25
@RequestMapping(value = {"/portal/derivedUnitFacade/{uuid}"})
26
public class DerivedUnitFacadePortalController extends
27
        DerivedUnitFacadeController {
28

    
29
    public DerivedUnitFacadePortalController(){
30
        super();
31
        setInitializationStrategy(Arrays.asList(new String []{
32
            "*",
33
            "titleCache",
34
//			"gatheringEvent.*",
35
            "ecologyAll",
36
            "plantDescriptionAll",
37

    
38
//			"fieldUnit.*",
39
            "fieldObjectMedia",
40

    
41
//			"derivedUnit.*",
42
            "derivedUnitMedia",
43
            "derivedUnitDefinitions",
44

    
45
            "exactLocation.referenceSystem"
46

    
47

    
48
        }));
49
    }
50

    
51
}
(17-17/76)