Class DictionaryService
java.lang.Object
overit.geocall.base.rs2.dictionaries.DictionaryService
@RestController
@RequestMapping("/configurations/localization/r1/dictionaries")
public class DictionaryService
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<Void> createTranslations(String name, String content) org.springframework.http.ResponseEntity<String> getTranslations(String name)
-
Constructor Details
-
DictionaryService
public DictionaryService()
-
-
Method Details
-
getTranslations
@GetMapping(path="/{dictionaryId}/editable", produces="text/plain") public org.springframework.http.ResponseEntity<String> getTranslations(@PathVariable("dictionaryId") String name) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
createTranslations
@PutMapping(path="/{dictionaryId}/editable", consumes="text/plain") public org.springframework.http.ResponseEntity<Void> createTranslations(@PathVariable("dictionaryId") String name, @RequestBody(required=false) String content) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-