Revision 6dc32b87
Added by Andreas Müller over 9 years ago
cdmlib-remote/src/main/java/eu/etaxonomy/cdm/remote/controller/ReferenceController.java | ||
---|---|---|
52 | 52 |
"inReference.authorship" |
53 | 53 |
}); |
54 | 54 |
|
55 |
private static final List<String> CITATION_WITH_AUTHORTEAM_INIT_STRATEGY = Arrays.asList(new String []{
|
|
55 |
private static final List<String> CITATION_WITH_AUTHORSHIP_INIT_STRATEGY = Arrays.asList(new String []{
|
|
56 | 56 |
"authorship.$" |
57 | 57 |
}); |
58 | 58 |
|
... | ... | |
103 | 103 |
@RequestMapping( |
104 | 104 |
value = {"authorship"}, |
105 | 105 |
method = RequestMethod.GET) |
106 |
public ModelAndView doGetAuthorTeam(
|
|
106 |
public ModelAndView doGetAuthorship(
|
|
107 | 107 |
@PathVariable("uuid") UUID uuid, |
108 | 108 |
HttpServletRequest request, |
109 | 109 |
HttpServletResponse response) { |
110 | 110 |
ModelAndView mv = new ModelAndView(); |
111 |
Reference rb = service.load(uuid, CITATION_WITH_AUTHORTEAM_INIT_STRATEGY);
|
|
111 |
Reference rb = service.load(uuid, CITATION_WITH_AUTHORSHIP_INIT_STRATEGY);
|
|
112 | 112 |
if(rb.getAuthorship() != null){ |
113 | 113 |
mv.addObject(rb.getAuthorship()); |
114 | 114 |
} |
Also available in: Unified diff
rename Reference.authorTeam -> authorship #4432