Package com.viglet.turing.api.sn.console
Class TurSNSiteLocaleAPI
Object
TurSNSiteLocaleAPI
@RestController
@RequestMapping("/api/sn/{ignoredSnSiteId}/locale")
public class TurSNSiteLocaleAPI
extends Object
- Since:
- 0.3.5
- Author:
- Alexandre Oliveira
-
Constructor Summary
ConstructorDescriptionTurSNSiteLocaleAPI
(TurSNSiteRepository turSNSiteRepository, TurSNSiteLocaleRepository turSNSiteLocaleRepository, TurSNTemplate turSNTemplate) -
Method Summary
Modifier and TypeMethodDescriptionturSNSiteFieldExtGet
(String ignoredSnSiteId, String id) turSNSiteLocaleAdd
(TurSNSiteLocale turSNSiteLocale, Principal principal, String ignoredSnSiteId) boolean
turSNSiteLocaleDelete
(String id, String ignoredSnSiteId) turSNSiteLocaleList
(String ignoredSnSiteId) turSNSiteLocaleStructure
(String ignoredSnSiteId) turSNSiteLocaleUpdate
(String id, TurSNSiteLocale turSNSiteLocale, String ignoredSnSiteId)
-
Constructor Details
-
TurSNSiteLocaleAPI
@Inject public TurSNSiteLocaleAPI(TurSNSiteRepository turSNSiteRepository, TurSNSiteLocaleRepository turSNSiteLocaleRepository, TurSNTemplate turSNTemplate)
-
-
Method Details
-
turSNSiteLocaleList
-
turSNSiteFieldExtGet
@GetMapping("/{id}") public TurSNSiteLocale turSNSiteFieldExtGet(@PathVariable String ignoredSnSiteId, @PathVariable String id) -
turSNSiteLocaleUpdate
@PutMapping("/{id}") public TurSNSiteLocale turSNSiteLocaleUpdate(@PathVariable String id, @RequestBody TurSNSiteLocale turSNSiteLocale, @PathVariable String ignoredSnSiteId) -
turSNSiteLocaleDelete
-
turSNSiteLocaleAdd
@PostMapping public TurSNSiteLocale turSNSiteLocaleAdd(@RequestBody TurSNSiteLocale turSNSiteLocale, Principal principal, @PathVariable String ignoredSnSiteId) -
turSNSiteLocaleStructure
@GetMapping("structure") public TurSNSiteLocale turSNSiteLocaleStructure(@PathVariable String ignoredSnSiteId)
-