@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) |
GroupRepresentation |
createNewGroup(GroupRepresentation groupRepresentation) |
void |
deleteGroup(String groupId) |
void |
deleteGroupMember(String groupId,
String userId) |
GroupRepresentation |
getGroup(String groupId) |
List<GroupRepresentation> |
getGroups(String filter) |
ResultListDataRepresentation |
getGroupUsers(String groupId,
String filter,
Integer page,
Integer pageSize) |
GroupRepresentation |
updateGroup(String groupId,
GroupRepresentation groupRepresentation) |
@GetMapping public List<GroupRepresentation> getGroups(@RequestParam(required=false) String filter)
@GetMapping(value="/{groupId}")
public GroupRepresentation getGroup(@PathVariable
String groupId)
@GetMapping(value="/{groupId}/users")
public ResultListDataRepresentation getGroupUsers(@PathVariable
String groupId,
@RequestParam(required=false)
String filter,
@RequestParam(required=false)
Integer page,
@RequestParam(required=false)
Integer pageSize)
@PostMapping public GroupRepresentation createNewGroup(@RequestBody GroupRepresentation groupRepresentation)
@PutMapping(value="/{groupId}")
public GroupRepresentation updateGroup(@PathVariable
String groupId,
@RequestBody
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 © 2023 Flowable. All rights reserved.