@Service @Transactional public class GroupServiceImpl extends AbstractIdmService implements GroupService
identityService| Constructor and Description |
|---|
GroupServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addGroupMember(String groupId,
String userId) |
long |
countTotalGroupUsers(String groupId,
String filter,
Integer page,
Integer pageSize) |
org.flowable.idm.api.Group |
createNewGroup(String id,
String name,
String type) |
protected org.flowable.idm.api.UserQuery |
createUsersForGroupQuery(String groupId,
String filter) |
void |
deleteGroup(String groupId) |
void |
deleteGroupMember(String groupId,
String userId) |
org.flowable.idm.api.Group |
getGroup(String groupId) |
List<org.flowable.idm.api.Group> |
getGroups(String filter) |
List<org.flowable.idm.api.Group> |
getGroupsForUser(String userId) |
List<org.flowable.idm.api.User> |
getGroupUsers(String groupId,
String filter,
Integer page,
Integer pageSize) |
org.flowable.idm.api.Group |
updateGroupName(String groupId,
String name) |
protected void |
verifyGroupMemberExists(String groupId,
String userId) |
public List<org.flowable.idm.api.Group> getGroupsForUser(String userId)
getGroupsForUser in interface GroupServicepublic List<org.flowable.idm.api.Group> getGroups(String filter)
getGroups in interface GroupServicepublic org.flowable.idm.api.Group getGroup(String groupId)
getGroup in interface GroupServicepublic List<org.flowable.idm.api.User> getGroupUsers(String groupId, String filter, Integer page, Integer pageSize)
getGroupUsers in interface GroupServicepublic long countTotalGroupUsers(String groupId, String filter, Integer page, Integer pageSize)
countTotalGroupUsers in interface GroupServiceprotected org.flowable.idm.api.UserQuery createUsersForGroupQuery(String groupId, String filter)
public org.flowable.idm.api.Group createNewGroup(String id, String name, String type)
createNewGroup in interface GroupServicepublic org.flowable.idm.api.Group updateGroupName(String groupId, String name)
updateGroupName in interface GroupServicepublic void deleteGroup(String groupId)
deleteGroup in interface GroupServicepublic void addGroupMember(String groupId, String userId)
addGroupMember in interface GroupServicepublic void deleteGroupMember(String groupId, String userId)
deleteGroupMember in interface GroupServiceCopyright © 2021 Flowable. All rights reserved.