@Controller @RestController public class SiteController extends ControllerBase
| Modifier and Type | Class and Description |
|---|---|
static class |
SiteController.ReloadSiteFromAppNGizer |
configurer, context, coreService, databaseService, session, templateService| Constructor and Description |
|---|
SiteController() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<Site> |
createSite(Site site) |
org.springframework.http.ResponseEntity<Void> |
deleteSite(String name) |
org.springframework.http.ResponseEntity<Site> |
getSite(String name) |
org.springframework.http.ResponseEntity<Sites> |
listSites() |
org.springframework.http.ResponseEntity<Void> |
reloadSite(String name) |
org.springframework.http.ResponseEntity<Site> |
updateSite(String name,
Site site) |
getDatabaseStatus, getSharedSecret, onBusinessException, onConstraintViolationException@GetMapping(value="/site") public org.springframework.http.ResponseEntity<Sites> listSites()
@GetMapping(value="/site/{name}")
public org.springframework.http.ResponseEntity<Site> getSite(@PathVariable(value="name")
String name)
@PutMapping(value="/site/{name}/reload")
public org.springframework.http.ResponseEntity<Void> reloadSite(@PathVariable(value="name")
String name)
throws BusinessException
BusinessException@PostMapping(value="/site") public org.springframework.http.ResponseEntity<Site> createSite(@RequestBody Site site)
@PutMapping(value="/site/{name}")
public org.springframework.http.ResponseEntity<Site> updateSite(@PathVariable(value="name")
String name,
@RequestBody
Site site)
@DeleteMapping(value="/site/{name}")
public org.springframework.http.ResponseEntity<Void> deleteSite(@PathVariable(value="name")
String name)
throws BusinessException
BusinessExceptionCopyright © 2011–2021 aiticon GmbH. All rights reserved.