fixing MediaAutoInitializer & fixing bug in AbstractBeanInitializer
[cdmlib.git] / cdmlib-remote / src / main / java / eu / etaxonomy / cdm / remote / controller / DerivedUnitFacadePortalController.java
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 java.util.Arrays;
13
14 import org.springframework.stereotype.Controller;
15 import org.springframework.web.bind.annotation.RequestMapping;
16
17 /**
18 * @author a.kohlbecker
19 * @date 14.10.2010
20 *
21 */
22 @Controller
23 @RequestMapping(value = {"/portal/derivedUnitFacade/{uuid}"})
24 public class DerivedUnitFacadePortalController extends
25 DerivedUnitFacadeController {
26
27 public DerivedUnitFacadePortalController(){
28 super();
29 setInitializationStrategy(Arrays.asList(new String []{
30 "*",
31 "titleCache",
32 // "gatheringEvent.*",
33 "ecologyAll",
34 "plantDescriptionAll",
35
36 // "fieldObservation.*",
37 "fieldObjectMedia.representations.parts",
38
39 // "derivedUnit.*",
40 "derivedUnitMedia.representations.parts",
41 "derivedUnitDefinitions",
42
43 "exactLocation.referenceSystem"
44
45
46 }));
47 }
48
49 }