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 l.morris
|
21
|
* @date Jun 13, 2013
|
22
|
*
|
23
|
*/
|
24
|
@Controller
|
25
|
@Api("portal_reference")
|
26
|
@RequestMapping(value = {"/portal/reference/{uuid}"})
|
27
|
public class ReferencePortalController extends ReferenceController {
|
28
|
|
29
|
public ReferencePortalController(){
|
30
|
setInitializationStrategy(Arrays.asList(new String[]{
|
31
|
"$",
|
32
|
"authorship.*"
|
33
|
}));
|
34
|
}
|
35
|
|
36
|
}
|