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 java.util.Arrays;
|
12
|
|
13
|
import org.springframework.stereotype.Controller;
|
14
|
import org.springframework.web.bind.annotation.RequestMapping;
|
15
|
|
16
|
import io.swagger.annotations.Api;
|
17
|
|
18
|
/**
|
19
|
* @author l.morris
|
20
|
* @since Jun 13, 2013
|
21
|
*/
|
22
|
@Controller
|
23
|
@Api("portal_reference")
|
24
|
@RequestMapping(value = {"/portal/reference/{uuid}"})
|
25
|
public class ReferencePortalController extends ReferenceController {
|
26
|
|
27
|
public ReferencePortalController(){
|
28
|
setInitializationStrategy(Arrays.asList(new String[]{
|
29
|
"$",
|
30
|
"authorship.*"
|
31
|
}));
|
32
|
}
|
33
|
}
|