Package cn.sparrow.common.controller
Class GroupController
java.lang.Object
cn.sparrow.common.controller.GroupController
Constructor Summary
ConstructorsMethod Summary
Modifier and TypeMethodDescriptionvoid
addLevels(Set<GroupLevelPK> ids)
void
void
addRelations(Set<GroupRelationPK> ids)
void
addRoles(Set<GroupRolePK> ids)
void
addSysroles(Set<GroupSysrolePK> ids)
void
addUsers(Set<GroupUserPK> ids)
void
delLevels(Set<GroupLevelPK> ids)
void
void
delRelations(Set<GroupRelationPK> ids)
void
delRoles(Set<GroupRolePK> ids)
void
delSysroles(Set<GroupSysrolePK> ids)
void
delUsers(Set<GroupUserPK> ids)
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