Package org.flowable.ui.idm.rest.app
Class IdmGroupsResource
- java.lang.Object
-
- org.flowable.ui.idm.rest.app.IdmGroupsResource
-
@RestController @RequestMapping("/rest/admin/groups") public class IdmGroupsResource extends Object- Author:
- Joram Barrez
-
-
Constructor Summary
Constructors Constructor Description IdmGroupsResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddGroupMember(String groupId, String userId)org.flowable.ui.common.model.GroupRepresentationcreateNewGroup(org.flowable.ui.common.model.GroupRepresentation groupRepresentation)voiddeleteGroup(String groupId)voiddeleteGroupMember(String groupId, String userId)org.flowable.ui.common.model.GroupRepresentationgetGroup(String groupId)List<org.flowable.ui.common.model.GroupRepresentation>getGroups(String filter)org.flowable.ui.common.model.ResultListDataRepresentationgetGroupUsers(String groupId, String filter, Integer page, Integer pageSize)org.flowable.ui.common.model.GroupRepresentationupdateGroup(String groupId, org.flowable.ui.common.model.GroupRepresentation groupRepresentation)
-
-
-
Method Detail
-
getGroups
@GetMapping public List<org.flowable.ui.common.model.GroupRepresentation> getGroups(@RequestParam(required=false) String filter)
-
getGroup
@GetMapping("/{groupId}") public org.flowable.ui.common.model.GroupRepresentation getGroup(@PathVariable String groupId)
-
getGroupUsers
@GetMapping("/{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)
-
createNewGroup
@PostMapping public org.flowable.ui.common.model.GroupRepresentation createNewGroup(@RequestBody org.flowable.ui.common.model.GroupRepresentation groupRepresentation)
-
updateGroup
@PutMapping("/{groupId}") public org.flowable.ui.common.model.GroupRepresentation updateGroup(@PathVariable String groupId, @RequestBody org.flowable.ui.common.model.GroupRepresentation groupRepresentation)
-
deleteGroup
@ResponseStatus(OK) @DeleteMapping("/{groupId}") public void deleteGroup(@PathVariable String groupId)
-
addGroupMember
@ResponseStatus(OK) @PostMapping("/{groupId}/members/{userId}") public void addGroupMember(@PathVariable String groupId, @PathVariable String userId)
-
-