@RestController public class SiteApplicationPropertyController extends ControllerBase
Constructor and Description |
---|
SiteApplicationPropertyController() |
Modifier and Type | Method and Description |
---|---|
ResponseEntity<Property> |
createProperty(String site,
String app,
Property property) |
ResponseEntity<Property> |
deleteProperty(String site,
String app,
String property) |
ResponseEntity<Property> |
getProperty(String site,
String app,
String prop) |
ResponseEntity<Properties> |
listProperties(String site,
String app) |
ResponseEntity<Property> |
updateProperty(String site,
String app,
Property property) |
getDatabaseStatus, getSharedSecret, onBusinessException
@RequestMapping(value="/site/{site}/application/{app}/property", method=GET) public ResponseEntity<Properties> listProperties(@PathVariable(value="site") String site, @PathVariable(value="app") String app)
@RequestMapping(value="/site/{site}/application/{app}/property/{prop}", method=GET) public ResponseEntity<Property> getProperty(@PathVariable(value="site") String site, @PathVariable(value="app") String app, @PathVariable(value="prop") String prop)
@RequestMapping(value="/site/{site}/application/{app}/property", method=POST) public ResponseEntity<Property> createProperty(@PathVariable(value="site") String site, @PathVariable(value="app") String app, @RequestBody Property property)
@RequestMapping(value="/site/{site}/application/{app}/property/{prop}", method=PUT) public ResponseEntity<Property> updateProperty(@PathVariable(value="site") String site, @PathVariable(value="app") String app, @RequestBody Property property)
@RequestMapping(value="/site/{site}/application/{app}/property/{prop}", method=DELETE) public ResponseEntity<Property> deleteProperty(@PathVariable(value="site") String site, @PathVariable(value="app") String app, @PathVariable(value="prop") String property)
Copyright © 2011–2017 aiticon GmbH. All rights reserved.