Interface HvlOAuthProfileGroupRoleGroupRelMapper
- All Known Implementing Classes:
HvlOAuthProfileGroupRoleGroupRelMapperImpl
public interface HvlOAuthProfileGroupRoleGroupRelMapper
The mapper is used for mapping to
HvlOAuthProfileGroupRoleGroupRel
-
Method Summary
Modifier and TypeMethodDescriptionconvertToEntity
(Long profileGroupId, Long roleGroupId) Convert to entity hvl o auth profile group role group rel.default List
<HvlOAuthProfileGroupRoleGroupRel> convertToEntityList
(Long profileGroupId, Set<Long> roleGroupIdSet) Convert to entity list list.convertToModel
(String profileGroupUuid, Set<Long> roleGroupIdSetToAdd) Convert to model hvl o auth profile group role persist model.convertToModel
(String profileGroupUuid, Set<Long> roleGroupIdSetToAdd, Set<Long> roleGroupIdSetToRemove) Convert to model hvl o auth profile group role persist model.
-
Method Details
-
convertToEntity
Convert to entity hvl o auth profile group role group rel.- Parameters:
profileGroupId
- the profile group idroleGroupId
- the role group id- Returns:
- the hvl o auth profile group role group rel
-
convertToModel
HvlOAuthProfileGroupRolePersistModel convertToModel(String profileGroupUuid, Set<Long> roleGroupIdSetToAdd, Set<Long> roleGroupIdSetToRemove) Convert to model hvl o auth profile group role persist model.- Parameters:
profileGroupUuid
- the profile group uuidroleGroupIdSetToAdd
- the role group id set to addroleGroupIdSetToRemove
- the role group id set to remove- Returns:
- the hvl o auth profile group role persist model
-
convertToModel
default HvlOAuthProfileGroupRolePersistModel convertToModel(String profileGroupUuid, Set<Long> roleGroupIdSetToAdd) Convert to model hvl o auth profile group role persist model.- Parameters:
profileGroupUuid
- the profile group uuidroleGroupIdSetToAdd
- the role group id set to add- Returns:
- the hvl o auth profile group role persist model
-
convertToEntityList
default List<HvlOAuthProfileGroupRoleGroupRel> convertToEntityList(Long profileGroupId, Set<Long> roleGroupIdSet) Convert to entity list list.- Parameters:
profileGroupId
- the profile group idroleGroupIdSet
- the role group id set- Returns:
- the list
-