Class HvlOAuthProfileGroupProfileRelManagerImpl
java.lang.Object
tr.com.havelsan.javarch.oauth.jpa.data.provider.module.profile.manager.relation.HvlOAuthProfileGroupProfileRelManagerImpl
- All Implemented Interfaces:
HvlOAuthProfileGroupProfileRelManager
@Service
@Transactional(readOnly=true)
public class HvlOAuthProfileGroupProfileRelManagerImpl
extends Object
implements HvlOAuthProfileGroupProfileRelManager
The class which implements
HvlOAuthProfileGroupProfileRelManager
.-
Field Summary
Modifier and TypeFieldDescriptionstatic final HvlOAuthProfileGroupProfileRelQuery
The constant profileGroupProfileRelQuery. -
Constructor Summary
ConstructorDescriptionHvlOAuthProfileGroupProfileRelManagerImpl
(HvlOAuthProfileGroupProfileRelMapper profileGroupRoleGroupMapper, HvlOAuthProfileGroupProfileRelRepository profileGroupProfileRepository, HvlOAuthProfileGroupProfileRelQueryGenerator profileGroupProfileRelQueryGenerator) Instantiates a new HvlOAuthProfileProfileGroupManagerImpl. -
Method Summary
Modifier and TypeMethodDescriptiongetProfileGroupListByProfileId
(@NotNull Long profileId) get profile groups belongs to profilegetProfileIdListByProfileGroupId
(@NotNull Long profileGroupId) Gets profile id list by profile group id.
-
Field Details
-
profileGroupProfileRelQuery
The constant profileGroupProfileRelQuery.
-
-
Constructor Details
-
HvlOAuthProfileGroupProfileRelManagerImpl
public HvlOAuthProfileGroupProfileRelManagerImpl(HvlOAuthProfileGroupProfileRelMapper profileGroupRoleGroupMapper, HvlOAuthProfileGroupProfileRelRepository profileGroupProfileRepository, HvlOAuthProfileGroupProfileRelQueryGenerator profileGroupProfileRelQueryGenerator) Instantiates a new HvlOAuthProfileProfileGroupManagerImpl.- Parameters:
profileGroupRoleGroupMapper
- the profile group role group mapperprofileGroupProfileRepository
- the profile group profile repositoryprofileGroupProfileRelQueryGenerator
- the profile group profile rel query generator
-
-
Method Details
-
getProfileGroupListByProfileId
public List<HvlOAuthProfileGroupProfileRelModel> getProfileGroupListByProfileId(@NotNull @NotNull Long profileId) get profile groups belongs to profile- Specified by:
getProfileGroupListByProfileId
in interfaceHvlOAuthProfileGroupProfileRelManager
- Parameters:
profileId
- the profileId- Returns:
- profile group list by profile profileId
-
getProfileIdListByProfileGroupId
Gets profile id list by profile group id.- Specified by:
getProfileIdListByProfileGroupId
in interfaceHvlOAuthProfileGroupProfileRelManager
- Parameters:
profileGroupId
- the profile group id- Returns:
- the profile id list by profile group id
-