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