@RestController public class SiteApplicationPropertyController extends ControllerBase
configurer, context, coreService, databaseService, session, templateService
Constructor and Description |
---|
SiteApplicationPropertyController() |
Modifier and Type | Method and Description |
---|---|
org.springframework.http.ResponseEntity<Property> |
createProperty(String site,
String app,
Property property) |
org.springframework.http.ResponseEntity<Property> |
deleteProperty(String site,
String app,
String property) |
org.springframework.http.ResponseEntity<Property> |
getProperty(String site,
String app,
String prop) |
org.springframework.http.ResponseEntity<Properties> |
listProperties(String site,
String app) |
org.springframework.http.ResponseEntity<Property> |
updateProperty(String site,
String app,
Property property) |
getDatabaseStatus, getSharedSecret, onBusinessException, onConstraintViolationException
@GetMapping(value="/site/{site}/application/{app}/property") public org.springframework.http.ResponseEntity<Properties> listProperties(@PathVariable(value="site") String site, @PathVariable(value="app") String app)
@GetMapping(value="/site/{site}/application/{app}/property/{prop}") public org.springframework.http.ResponseEntity<Property> getProperty(@PathVariable(value="site") String site, @PathVariable(value="app") String app, @PathVariable(value="prop") String prop)
@PostMapping(value="/site/{site}/application/{app}/property") public org.springframework.http.ResponseEntity<Property> createProperty(@PathVariable(value="site") String site, @PathVariable(value="app") String app, @RequestBody Property property)
@PutMapping(value="/site/{site}/application/{app}/property/{prop}") public org.springframework.http.ResponseEntity<Property> updateProperty(@PathVariable(value="site") String site, @PathVariable(value="app") String app, @RequestBody Property property)
Copyright © 2011–2021 aiticon GmbH. All rights reserved.