Revision 55603
Added by Enrico Ottonello almost 5 years ago
PatchEditorController.java | ||
---|---|---|
162 | 162 |
} |
163 | 163 |
|
164 | 164 |
/** |
165 |
* @return all terms belonging to specific type. Invoked by AngularJS |
|
166 |
* @throws Exception |
|
167 |
*/ |
|
168 |
@RequestMapping(path = "/ui/patcheditor/specificType", method = RequestMethod.GET) |
|
169 |
public @ResponseBody List<Term> getSpecificType() throws Exception { |
|
170 |
final List<Term> terms = getVocabularies("SpecificType"); |
|
171 |
return terms; |
|
172 |
} |
|
173 |
|
|
174 |
/** |
|
165 | 175 |
* @return all terms belonging to LSCH keywords, collection is loaded from LSCH.csv file inside project folder. Invoked by AngularJS |
166 | 176 |
* @throws Exception |
167 | 177 |
*/ |
... | ... | |
322 | 332 |
|
323 | 333 |
/** |
324 | 334 |
* Searches from index client the record identified by recordId and converts it in a structured object |
325 |
*
|
|
335 |
* |
|
326 | 336 |
* @param recordId |
327 | 337 |
* @return an object containing all structured data of a record |
328 | 338 |
* @throws PatchEditorException |
Also available in: Unified diff
Added the element specificType for nonAVmanifestation elements