Package org.flowable.ui.idm.service
Class GroupServiceImpl
- java.lang.Object
-
- org.flowable.ui.idm.service.AbstractIdmService
-
- org.flowable.ui.idm.service.GroupServiceImpl
-
- All Implemented Interfaces:
GroupService
@Service @Transactional public class GroupServiceImpl extends AbstractIdmService implements GroupService
- Author:
- Joram Barrez
-
-
Field Summary
-
Fields inherited from class org.flowable.ui.idm.service.AbstractIdmService
identityService
-
-
Constructor Summary
Constructors Constructor Description GroupServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddGroupMember(String groupId, String userId)longcountTotalGroupUsers(String groupId, String filter, Integer page, Integer pageSize)org.flowable.idm.api.GroupcreateNewGroup(String id, String name, String type)protected org.flowable.idm.api.UserQuerycreateUsersForGroupQuery(String groupId, String filter)voiddeleteGroup(String groupId)voiddeleteGroupMember(String groupId, String userId)org.flowable.idm.api.GroupgetGroup(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.GroupupdateGroupName(String groupId, String name)protected voidverifyGroupMemberExists(String groupId, String userId)
-
-
-
Method Detail
-
getGroupsForUser
public List<org.flowable.idm.api.Group> getGroupsForUser(String userId)
- Specified by:
getGroupsForUserin interfaceGroupService
-
getGroups
public List<org.flowable.idm.api.Group> getGroups(String filter)
- Specified by:
getGroupsin interfaceGroupService
-
getGroup
public org.flowable.idm.api.Group getGroup(String groupId)
- Specified by:
getGroupin interfaceGroupService
-
getGroupUsers
public List<org.flowable.idm.api.User> getGroupUsers(String groupId, String filter, Integer page, Integer pageSize)
- Specified by:
getGroupUsersin interfaceGroupService
-
countTotalGroupUsers
public long countTotalGroupUsers(String groupId, String filter, Integer page, Integer pageSize)
- Specified by:
countTotalGroupUsersin interfaceGroupService
-
createUsersForGroupQuery
protected org.flowable.idm.api.UserQuery createUsersForGroupQuery(String groupId, String filter)
-
createNewGroup
public org.flowable.idm.api.Group createNewGroup(String id, String name, String type)
- Specified by:
createNewGroupin interfaceGroupService
-
updateGroupName
public org.flowable.idm.api.Group updateGroupName(String groupId, String name)
- Specified by:
updateGroupNamein interfaceGroupService
-
deleteGroup
public void deleteGroup(String groupId)
- Specified by:
deleteGroupin interfaceGroupService
-
addGroupMember
public void addGroupMember(String groupId, String userId)
- Specified by:
addGroupMemberin interfaceGroupService
-
deleteGroupMember
public void deleteGroupMember(String groupId, String userId)
- Specified by:
deleteGroupMemberin interfaceGroupService
-
-