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