@RestController public class GroupController extends ControllerBase
Constructor and Description |
---|
GroupController() |
Modifier and Type | Method and Description |
---|---|
void |
addRoles(GroupImpl group,
Group fromDomain) |
org.springframework.http.ResponseEntity<Group> |
createGroup(Group group) |
org.springframework.http.ResponseEntity<Void> |
deleteGroup(String name) |
org.springframework.http.ResponseEntity<Group> |
getGroup(String name) |
org.springframework.http.ResponseEntity<Groups> |
listGroups() |
org.springframework.http.ResponseEntity<Group> |
updateGroup(String name,
Group group) |
void |
updateRoles(Roles roles,
GroupImpl group) |
getDatabaseStatus, getSharedSecret, onBusinessException
@GetMapping(value="/group") public org.springframework.http.ResponseEntity<Groups> listGroups()
@GetMapping(value="/group/{name}") public org.springframework.http.ResponseEntity<Group> getGroup(@PathVariable(value="name") String name)
@PostMapping(value="/group") public org.springframework.http.ResponseEntity<Group> createGroup(@RequestBody Group group)
@PutMapping(value="/group/{name}") public org.springframework.http.ResponseEntity<Group> updateGroup(@PathVariable(value="name") String name, @RequestBody Group group)
Copyright © 2011–2019 aiticon GmbH. All rights reserved.