public class GroupServiceImpl extends Object implements GroupService
ins| 构造器和说明 |
|---|
GroupServiceImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
add(Group group)
添加Group对象
|
void |
addGroupUser(String groupId,
String account)
添加团队用户
|
Group |
get(String groupId)
获取Group对象
|
boolean |
isFreeCreate(String account)
是否开放团队创建
|
void |
remove(String groupId)
删除团队对象
|
void |
removeGroupUser(String groupId,
String account)
删除团队用户,并清理用户对应的角色配置信息
|
public boolean isFreeCreate(String account)
GroupServiceisFreeCreate 在接口中 GroupServiceaccount - 用户账号public void add(Group group)
GroupServiceadd 在接口中 GroupServicegroup - 团队对象public void remove(String groupId)
GroupServiceremove 在接口中 GroupServicegroupId - 团队IDpublic void addGroupUser(String groupId, String account)
GroupServiceaddGroupUser 在接口中 GroupServicegroupId - 团队IDaccount - 用户账号public void removeGroupUser(String groupId, String account)
GroupServiceremoveGroupUser 在接口中 GroupServicegroupId - 团队IDaccount - 用户账号public Group get(String groupId)
GroupServiceget 在接口中 GroupServicegroupId - 团队IDCopyright © 2023 Bstek. All rights reserved.