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