Class GroupController

java.lang.Object
cn.sparrow.common.controller.GroupController
@RestController public class GroupControllerextends Object
  • Constructor Details

    • GroupController

      public  GroupController()
  • Method Details

    • addRelations

      @PostMapping("/groups/relations/batch") public  void  addRelations(@NotNull @RequestBody Set<GroupRelationPK> ids)
    • delRelations

      @DeleteMapping("/groups/relations/batch") public  void  delRelations(@NotNull @RequestBody Set<GroupRelationPK> ids)
    • addOrganizations

      @PostMapping("/groups/organizations/batch") public  void  addOrganizations(@NotNull @RequestBody Set<GroupOrganizationPK> ids)
    • delOrganizations

      @DeleteMapping("/groups/organizations/batch") public  void  delOrganizations(@NotNull @RequestBody Set<GroupOrganizationPK> ids)
    • addRoles

      @PostMapping("/groups/roles/batch") public  void  addRoles(@NotNull @RequestBody Set<GroupRolePK> ids)
    • delRoles

      @DeleteMapping("/groups/roles/batch") public  void  delRoles(@NotNull @RequestBody Set<GroupRolePK> ids)
    • addLevels

      @PostMapping("/groups/levels/batch") public  void  addLevels(@NotNull @RequestBody Set<GroupLevelPK> ids)
    • delLevels

      @DeleteMapping("/groups/levels/batch") public  void  delLevels(@NotNull @RequestBody Set<GroupLevelPK> ids)
    • addSysroles

      @PostMapping("/groups/sysroles/batch") public  void  addSysroles(@NotNull @RequestBody Set<GroupSysrolePK> ids)
    • delSysroles

      @DeleteMapping("/groups/sysroles/batch") public  void  delSysroles(@NotNull @RequestBody Set<GroupSysrolePK> ids)
    • addUsers

      @PostMapping("/groups/users/batch") public  void  addUsers(@NotNull @RequestBody Set<GroupUserPK> ids)
    • delUsers

      @DeleteMapping("/groups/users/batch") public  void  delUsers(@NotNull @RequestBody Set<GroupUserPK> ids)
    • tree

      @GetMapping("/groups/getTreeByParentId") public  MyTree<Group>  tree(@Nullable @RequestParam("parentId") String parentId)