public class GroupManagerImpl extends Object implements IUserManagementService.GroupManager
| Constructor and Description |
|---|
GroupManagerImpl(String ldapUrl) |
| Modifier and Type | Method and Description |
|---|---|
String |
createGroup(String groupName,
String organizationName,
String description,
String adminUserId,
String password)
Creates a new group by groupName (and organizationName)
|
boolean |
deleteGroup(String groupName,
String organizationName,
String adminUserId,
String password)
Deletes a group by groupName (and by organizationName)
|
boolean |
deleteGroups(String organizationName,
String adminUserId,
String password)
Deletes all present groups under an organization by organizationName
|
GroupModel |
getGroup(String groupName,
String organizationName,
String adminUserId,
String password)
Gets the group by groupName (and by organizatioName)
|
List<GroupModel> |
listGroupsByOrganization(String organizationName,
String adminUserId,
String password)
Lists all groups under an organization by organizationName
|
List<GroupModel> |
listGroupsByUser(String userId,
String organizationName,
String adminUserId,
String password) |
boolean |
removeAllUsers(String groupName,
String organizationName,
String adminUserId,
String password)
Removes all users with a specific groupName group (and by organizationName)
|
boolean |
updateGroup(GroupModel group,
String organizationName,
String adminUserId,
String password)
Updates group's attribute
|
boolean |
updateGroupsOfOrganization(List<String> groupsNameList,
String organizationName,
String adminUserId,
String password) |
public GroupManagerImpl(String ldapUrl)
public String createGroup(String groupName, String organizationName, String description, String adminUserId, String password)
IUserManagementService.GroupManagercreateGroup in interface IUserManagementService.GroupManagerpublic boolean deleteGroup(String groupName, String organizationName, String adminUserId, String password)
IUserManagementService.GroupManagerdeleteGroup in interface IUserManagementService.GroupManagerpublic List<GroupModel> listGroupsByOrganization(String organizationName, String adminUserId, String password)
IUserManagementService.GroupManagerlistGroupsByOrganization in interface IUserManagementService.GroupManagerpublic List<GroupModel> listGroupsByUser(String userId, String organizationName, String adminUserId, String password)
public boolean updateGroup(GroupModel group, String organizationName, String adminUserId, String password)
IUserManagementService.GroupManagerupdateGroup in interface IUserManagementService.GroupManagerpublic boolean updateGroupsOfOrganization(List<String> groupsNameList, String organizationName, String adminUserId, String password)
public boolean deleteGroups(String organizationName, String adminUserId, String password)
IUserManagementService.GroupManagerdeleteGroups in interface IUserManagementService.GroupManagerpublic boolean removeAllUsers(String groupName, String organizationName, String adminUserId, String password)
IUserManagementService.GroupManagerremoveAllUsers in interface IUserManagementService.GroupManagerpublic GroupModel getGroup(String groupName, String organizationName, String adminUserId, String password)
IUserManagementService.GroupManagergetGroup in interface IUserManagementService.GroupManagerCopyright © 2017. All Rights Reserved.