1
|
// $Id$
|
2
|
/**
|
3
|
* Copyright (C) 2009 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
|
|
16
|
import org.springframework.stereotype.Controller;
|
17
|
import org.springframework.web.bind.annotation.RequestMapping;
|
18
|
|
19
|
/**
|
20
|
* @author a.kohlbecker
|
21
|
* @date 14.10.2010
|
22
|
*
|
23
|
*/
|
24
|
@Controller
|
25
|
@Api("portal_derivedUnitFacade")
|
26
|
@RequestMapping(value = {"/portal/derivedUnitFacade/{uuid}"})
|
27
|
public class DerivedUnitFacadePortalController extends
|
28
|
DerivedUnitFacadeController {
|
29
|
|
30
|
public DerivedUnitFacadePortalController(){
|
31
|
super();
|
32
|
setInitializationStrategy(Arrays.asList(new String []{
|
33
|
"*",
|
34
|
"titleCache",
|
35
|
// "gatheringEvent.*",
|
36
|
"ecologyAll",
|
37
|
"plantDescriptionAll",
|
38
|
|
39
|
// "fieldUnit.*",
|
40
|
"fieldObjectMedia",
|
41
|
|
42
|
// "derivedUnit.*",
|
43
|
"derivedUnitMedia",
|
44
|
"derivedUnitDefinitions",
|
45
|
|
46
|
"exactLocation.referenceSystem"
|
47
|
|
48
|
|
49
|
}));
|
50
|
}
|
51
|
|
52
|
}
|