Class HvlOAuthProfileRoleGroupRelManagerImpl
java.lang.Object
tr.com.havelsan.javarch.oauth.jpa.data.provider.module.profile.manager.relation.HvlOAuthProfileRoleGroupRelManagerImpl
- All Implemented Interfaces:
HvlOAuthProfileRoleGroupRelManager
@Service
@Transactional(readOnly=true)
public class HvlOAuthProfileRoleGroupRelManagerImpl
extends Object
implements HvlOAuthProfileRoleGroupRelManager
The class which implements
HvlOAuthProfileRoleGroupRelManager
.-
Constructor Summary
ConstructorDescriptionHvlOAuthProfileRoleGroupRelManagerImpl
(HvlOAuthProfileRoleGroupRelRepository profileRoleGroupRelRepository, HvlOAuthProfileRoleGroupMapper profileRoleGroupMapper, HvlOAuthProfileRoleGroupRelRepository profileRoleGroupRepository, HvlOAuthProfileRepository profileRepository, HvlOAuthProfileMapper profileMapper) Instantiates a new HvlOAuthProfileRoleGroupManagerImpl. -
Method Summary
Modifier and TypeMethodDescriptiongetListByProfileId
(@NotNull Long profileId) get relation data between profile and role groups belongs to profilegetProfilesByRoleGroupId
(@NotNull Long roleGroupId) Gets profiles by role group id.
-
Constructor Details
-
HvlOAuthProfileRoleGroupRelManagerImpl
public HvlOAuthProfileRoleGroupRelManagerImpl(HvlOAuthProfileRoleGroupRelRepository profileRoleGroupRelRepository, HvlOAuthProfileRoleGroupMapper profileRoleGroupMapper, HvlOAuthProfileRoleGroupRelRepository profileRoleGroupRepository, HvlOAuthProfileRepository profileRepository, HvlOAuthProfileMapper profileMapper) Instantiates a new HvlOAuthProfileRoleGroupManagerImpl.- Parameters:
profileRoleGroupRelRepository
- the profile role group repositoryprofileRoleGroupMapper
- the profile role group mapperprofileRoleGroupRepository
- the profile role group repositoryprofileRepository
- the profile repositoryprofileMapper
- the profile mapper
-
-
Method Details
-
getListByProfileId
get relation data between profile and role groups belongs to profile- Specified by:
getListByProfileId
in interfaceHvlOAuthProfileRoleGroupRelManager
- Parameters:
profileId
- the uuid- Returns:
- profile role groups by profile uuid
-
getProfilesByRoleGroupId
Gets profiles by role group id.- Specified by:
getProfilesByRoleGroupId
in interfaceHvlOAuthProfileRoleGroupRelManager
- Parameters:
roleGroupId
- the role group id- Returns:
- the profiles by role group id
-