@Service(value="userGroupManagement") public class UserGroupManagementImpl extends UserGroupManagementBase
UserGroupManagement| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
LOG |
| Constructor and Description |
|---|
UserGroupManagementImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected Long |
handleCreateExternalGroup(ExternalGroupVO groupVO)
Performs the core logic for
UserGroupManagementBase.createExternalGroup(ExternalGroupVO) |
protected Group |
handleCreateGroup(GroupVO groupVO)
Performs the core logic for
UserGroupManagementBase.createGroup(GroupVO) |
protected Long |
handleCreateOrUpdateExternalGroup(ExternalGroupVO groupVO)
Performs the core logic for
UserGroupManagementBase.createOrUpdateExternalGroup(ExternalGroupVO) |
protected void |
handleDeleteExternalGroup(Long groupId,
String externalSystemId)
Performs the core logic for
UserGroupManagementBase.deleteExternalGroup(Long, String) |
protected void |
handleDeleteGroup(Long groupId)
Performs the core logic for
UserGroupManagementBase.deleteGroup(Long) |
protected <T> T |
handleFindGroupByAlias(String alias,
Converter<Group,T> converter)
Find a user group by its alias and convert it to the object to be returned.
|
protected <T> T |
handleFindGroupById(Long id,
Converter<Group,T> converter)
Find a user group by its ID and convert it to the object to be returned.
|
protected boolean |
handleIsExternalGroup(Long groupId)
Test whether a group is an external group or an internal group.
|
protected void |
handleUpdateExternalGroup(Long groupId,
ExternalGroupVO groupVO)
Performs the core logic for
#updateExternalGroup(ExternalGroupVO) |
protected void |
handleUpdateGroup(Long groupId,
GroupVO groupVO)
Performs the core logic for
UserGroupManagementBase.updateGroup(Long, GroupVO) |
createExternalGroup, createGroup, createOrUpdateExternalGroup, deleteExternalGroup, deleteGroup, findGroupByAlias, findGroupById, isExternalGroup, updateExternalGroup, updateGroupprotected Long handleCreateExternalGroup(ExternalGroupVO groupVO) throws AliasValidationException, AliasAlreadyExistsException, GroupAlreadyExistsException
UserGroupManagementBaseUserGroupManagementBase.createExternalGroup(ExternalGroupVO)handleCreateExternalGroup in class UserGroupManagementBaseAliasValidationExceptionAliasAlreadyExistsExceptionGroupAlreadyExistsExceptionprotected Group handleCreateGroup(GroupVO groupVO) throws AliasAlreadyExistsException, AliasValidationException, AuthorizationException
UserGroupManagementBase.createGroup(GroupVO)handleCreateGroup in class UserGroupManagementBaseAuthorizationExceptionAliasAlreadyExistsExceptionAliasValidationExceptionprotected Long handleCreateOrUpdateExternalGroup(ExternalGroupVO groupVO) throws AliasAlreadyExistsException, AliasValidationException
UserGroupManagementBaseUserGroupManagementBase.createOrUpdateExternalGroup(ExternalGroupVO)handleCreateOrUpdateExternalGroup in class UserGroupManagementBasegroupVO - a value object with details about the group. If the alias member is not set it
will be generated from the name.AliasAlreadyExistsException - in case the alias already existsAliasValidationException - in case the alias field is not validprotected void handleDeleteExternalGroup(Long groupId, String externalSystemId) throws AuthorizationException
UserGroupManagementBaseUserGroupManagementBase.deleteExternalGroup(Long, String)handleDeleteExternalGroup in class UserGroupManagementBaseAuthorizationExceptionprotected void handleDeleteGroup(Long groupId) throws AuthorizationException
UserGroupManagementBaseUserGroupManagementBase.deleteGroup(Long)handleDeleteGroup in class UserGroupManagementBaseAuthorizationExceptionprotected <T> T handleFindGroupByAlias(String alias, Converter<Group,T> converter)
UserGroupManagementBasehandleFindGroupByAlias in class UserGroupManagementBaseT - the type of the target objectalias - the alias of the group to retrieveconverter - the converter to create the target objectprotected <T> T handleFindGroupById(Long id, Converter<Group,T> converter)
UserGroupManagementBasehandleFindGroupById in class UserGroupManagementBaseT - the type of the target objectid - the ID of the group to retrieveconverter - the converter to create the target objectprotected boolean handleIsExternalGroup(Long groupId)
UserGroupManagementBasehandleIsExternalGroup in class UserGroupManagementBasegroupId - the ID of the group to testprotected void handleUpdateExternalGroup(Long groupId, ExternalGroupVO groupVO) throws GroupNotFoundException
#updateExternalGroup(ExternalGroupVO)handleUpdateExternalGroup in class UserGroupManagementBasegroupId - the ID of the groupgroupVO - a value object with details about the group.GroupNotFoundException - in case the group to update does not existprotected void handleUpdateGroup(Long groupId, GroupVO groupVO) throws GroupNotFoundException, GroupOperationNotPermittedException
UserGroupManagementBase.updateGroup(Long, GroupVO)handleUpdateGroup in class UserGroupManagementBaseGroupNotFoundExceptionGroupOperationNotPermittedExceptionCopyright © 2019 Communote team. All rights reserved.