@RestController public class GroupController extends ControllerBase
configurer, context, coreService, databaseService, session, templateService
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) |
getDatabaseStatus, getSharedSecret, onBusinessException, onConstraintViolationException
@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–2021 aiticon GmbH. All rights reserved.