@RestController @RequestMapping(value="/app/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) |
@RequestMapping(method=GET) public List<org.flowable.ui.common.model.GroupRepresentation> getGroups(@RequestParam(required=false) String filter)
@RequestMapping(value="/{groupId}",
method=GET)
public org.flowable.ui.common.model.GroupRepresentation getGroup(@PathVariable
String groupId)
@RequestMapping(value="/{groupId}/users",
method=GET)
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)
@RequestMapping(method=POST)
public org.flowable.ui.common.model.GroupRepresentation createNewGroup(@RequestBody
org.flowable.ui.common.model.GroupRepresentation groupRepresentation)
@RequestMapping(value="/{groupId}",
method=PUT)
public org.flowable.ui.common.model.GroupRepresentation updateGroup(@PathVariable
String groupId,
@RequestBody
org.flowable.ui.common.model.GroupRepresentation groupRepresentation)
@ResponseStatus(value=OK)
@RequestMapping(value="/{groupId}",
method=DELETE)
public void deleteGroup(@PathVariable
String groupId)
@ResponseStatus(value=OK)
@RequestMapping(value="/{groupId}/members/{userId}",
method=POST)
public void addGroupMember(@PathVariable
String groupId,
@PathVariable
String userId)
Copyright © 2018 Flowable. All rights reserved.