Revision 9fda2b40
Added by Andreas Müller over 9 years ago
cdmlib-remote/src/main/java/eu/etaxonomy/cdm/remote/controller/ReferenceController.java | ||
---|---|---|
47 | 47 |
|
48 | 48 |
private static final List<String> NOMENCLATURAL_CITATION_INIT_STRATEGY = Arrays.asList(new String []{ |
49 | 49 |
"$", |
50 |
"authorTeam",
|
|
50 |
"authorship",
|
|
51 | 51 |
"inReference.inReference", |
52 | 52 |
"inReference.authorship" |
53 | 53 |
}); |
54 | 54 |
|
55 | 55 |
private static final List<String> CITATION_WITH_AUTHORTEAM_INIT_STRATEGY = Arrays.asList(new String []{ |
56 |
"authorTeam.$"
|
|
56 |
"authorship.$"
|
|
57 | 57 |
}); |
58 | 58 |
|
59 | 59 |
public ReferenceController(){ |
60 | 60 |
setInitializationStrategy(Arrays.asList(new String[]{ |
61 | 61 |
"$", |
62 |
"authorTeam.$"
|
|
62 |
"authorship.$"
|
|
63 | 63 |
})); |
64 | 64 |
} |
65 | 65 |
|
... | ... | |
101 | 101 |
} |
102 | 102 |
|
103 | 103 |
@RequestMapping( |
104 |
value = {"authorTeam"},
|
|
104 |
value = {"authorship"},
|
|
105 | 105 |
method = RequestMethod.GET) |
106 | 106 |
public ModelAndView doGetAuthorTeam( |
107 | 107 |
@PathVariable("uuid") UUID uuid, |
Also available in: Unified diff
rename Reference.authorTeam -> authorship #4432