@RestController @RequestMapping(value="/rest/admin/groups") public class IdmGroupsResource extends Object
| Constructor and Description |
|---|
IdmGroupsResource() |
| Modifier and Type | Method and Description |
|---|---|
void |
addGroupMember(String groupId,
String userId) |
org.flowable.ui.common.model.GroupRepresentation |
createNewGroup(org.flowable.ui.common.model.GroupRepresentation groupRepresentation) |
void |
deleteGroup(String groupId) |
void |
deleteGroupMember(String groupId,
String userId) |
org.flowable.ui.common.model.GroupRepresentation |
getGroup(String groupId) |
List<org.flowable.ui.common.model.GroupRepresentation> |
getGroups(String filter) |
org.flowable.ui.common.model.ResultListDataRepresentation |
getGroupUsers(String groupId,
String filter,
Integer page,
Integer pageSize) |
org.flowable.ui.common.model.GroupRepresentation |
updateGroup(String groupId,
org.flowable.ui.common.model.GroupRepresentation groupRepresentation) |
@GetMapping public List<org.flowable.ui.common.model.GroupRepresentation> getGroups(@RequestParam(required=false) String filter)
@GetMapping(value="/{groupId}")
public org.flowable.ui.common.model.GroupRepresentation getGroup(@PathVariable
String groupId)
@GetMapping(value="/{groupId}/users")
public org.flowable.ui.common.model.ResultListDataRepresentation getGroupUsers(@PathVariable
String groupId,
@RequestParam(required=false)
String filter,
@RequestParam(required=false)
Integer page,
@RequestParam(required=false)
Integer pageSize)
@PostMapping
public org.flowable.ui.common.model.GroupRepresentation createNewGroup(@RequestBody
org.flowable.ui.common.model.GroupRepresentation groupRepresentation)
@PutMapping(value="/{groupId}")
public org.flowable.ui.common.model.GroupRepresentation updateGroup(@PathVariable
String groupId,
@RequestBody
org.flowable.ui.common.model.GroupRepresentation groupRepresentation)
@ResponseStatus(value=OK)
@DeleteMapping(value="/{groupId}")
public void deleteGroup(@PathVariable
String groupId)
@ResponseStatus(value=OK)
@PostMapping(value="/{groupId}/members/{userId}")
public void addGroupMember(@PathVariable
String groupId,
@PathVariable
String userId)
Copyright © 2021 Flowable. All rights reserved.