Class IdmGroupsResource


  • @RestController
    @RequestMapping("/rest/admin/groups")
    public class IdmGroupsResource
    extends Object
    Author:
    Joram Barrez
    • Constructor Detail

      • IdmGroupsResource

        public IdmGroupsResource()
    • 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)
      • deleteGroupMember

        @ResponseStatus(OK)
        @DeleteMapping("/{groupId}/members/{userId}")
        public void deleteGroupMember​(@PathVariable
                                      String groupId,
                                      @PathVariable
                                      String userId)