Package org.appng.appngizer.controller
Class PlatformPropertyController
- java.lang.Object
-
- org.appng.appngizer.controller.ControllerBase
-
- org.appng.appngizer.controller.PlatformPropertyController
-
@RestController public class PlatformPropertyController extends ControllerBase
-
-
Field Summary
-
Fields inherited from class org.appng.appngizer.controller.ControllerBase
configurer, context, coreService, databaseService, session, templateService
-
-
Constructor Summary
Constructors Constructor Description PlatformPropertyController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.ResponseEntity<Property>
createProperty(Property property)
org.springframework.http.ResponseEntity<Property>
deleteProperty(String property)
org.springframework.http.ResponseEntity<Property>
getProperty(String prop)
org.springframework.http.ResponseEntity<Properties>
listProperties()
org.springframework.http.ResponseEntity<Property>
updateProperty(Property property)
-
Methods inherited from class org.appng.appngizer.controller.ControllerBase
getDatabaseStatus, getSharedSecret, onBusinessException, onConstraintViolationException
-
-
-
-
Method Detail
-
listProperties
@GetMapping("/platform/property") public org.springframework.http.ResponseEntity<Properties> listProperties()
-
getProperty
@GetMapping("/platform/property/{prop}") public org.springframework.http.ResponseEntity<Property> getProperty(@PathVariable("prop") String prop)
-
createProperty
@PostMapping("/platform/property") public org.springframework.http.ResponseEntity<Property> createProperty(@RequestBody Property property)
-
updateProperty
@PutMapping("/platform/property/{prop}") public org.springframework.http.ResponseEntity<Property> updateProperty(@RequestBody Property property)
-
-