@RestController
@RequestMapping(value="/properties")
public class SystemPropertyController
extends java.lang.Object
| Constructor and Description |
|---|
SystemPropertyController(SystemPropertyService systemPropertyService) |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteById(java.lang.Integer id) |
java.util.List<SystemProperty> |
findAll() |
SystemProperty |
findByName(java.lang.String name) |
SystemProperty |
update(SystemProperty systemProperty) |
public SystemPropertyController(SystemPropertyService systemPropertyService)
@GetMapping public java.util.List<SystemProperty> findAll()
@GetMapping(value="/{name}")
public SystemProperty findByName(@PathVariable
java.lang.String name)
@PostMapping public SystemProperty update(@RequestBody SystemProperty systemProperty)
@DeleteMapping(value="/{id}")
public void deleteById(@PathVariable
java.lang.Integer id)