Interface HvlOAuthProfileRoleRelManager
- All Known Implementing Classes:
HvlOAuthProfileRoleRelManagerImpl
@Validated
public interface HvlOAuthProfileRoleRelManager
A service in which includes custom methods used to persist/retrieve data.
-
Method Summary
Modifier and TypeMethodDescriptiongetProfileRolesByProfileId
(@NotNull Long profileId) get relation data between profile and direct roles belongs to profilegetProfilesByRoleId
(@NotNull Long roleId) Gets profiles by role id.getRolesByProfileId
(@NotNull Long profileId) Gets roles by profile id.
-
Method Details
-
getProfileRolesByProfileId
get relation data between profile and direct roles belongs to profile- Parameters:
profileId
- the profileId- Returns:
- profile roles by profile id
-
getProfilesByRoleId
Gets profiles by role id.- Parameters:
roleId
- the role id- Returns:
- the profiles by role id
-
getRolesByProfileId
Gets roles by profile id.- Parameters:
profileId
- the profile id- Returns:
- the roles by profile id
-