Interface HvlOAuthProfileGroupRoleRelMapper
- All Superinterfaces:
tr.com.havelsan.javarch.data.model.mapper.HvlGenericMapStructMapper<HvlOAuthProfileGroupRoleRelModel,
HvlOAuthProfileGroupRoleRel>
- All Known Implementing Classes:
HvlOAuthProfileGroupRoleRelMapperImpl
public interface HvlOAuthProfileGroupRoleRelMapper
extends tr.com.havelsan.javarch.data.model.mapper.HvlGenericMapStructMapper<HvlOAuthProfileGroupRoleRelModel,HvlOAuthProfileGroupRoleRel>
The mapper is used for mapping between
HvlOAuthProfileGroupRoleRelModel
and HvlOAuthProfileGroupRoleRel
-
Method Summary
Modifier and TypeMethodDescriptionconvertToEntity
(Long profileGroupId, Long roleId) Convert to entity hvl o auth profile group role rel.default List
<HvlOAuthProfileGroupRoleRel> convertToEntityList
(Long profileGroupId, Set<Long> roleIdSet) Convert to entity list list.convertToModel
(String profileGroupUuid, Set<Long> roleIdSetToAdd) Convert to model hvl o auth profile group role persist model.Convert to model hvl o auth profile group role persist model.convertToModel
(HvlOAuthProfileGroupRoleRel profileGroupRole) Methods inherited from interface tr.com.havelsan.javarch.data.model.mapper.HvlGenericMapStructMapper
convertToEntity, convertToEntityList, convertToEntitySet, convertToHvlPageModel, convertToModelList, convertToModelSet, mapToEntity
-
Method Details
-
convertToModel
- Specified by:
convertToModel
in interfacetr.com.havelsan.javarch.data.model.mapper.HvlGenericMapStructMapper<HvlOAuthProfileGroupRoleRelModel,
HvlOAuthProfileGroupRoleRel>
-
convertToEntity
Convert to entity hvl o auth profile group role rel.- Parameters:
profileGroupId
- the profile group idroleId
- the role id- Returns:
- the hvl o auth profile group role rel
-
convertToModel
HvlOAuthProfileGroupRolePersistModel convertToModel(String profileGroupUuid, Set<Long> roleIdSetToAdd, Set<Long> roleIdSetToRemove) Convert to model hvl o auth profile group role persist model.- Parameters:
profileGroupUuid
- the profile group uuidroleIdSetToAdd
- the role id set to addroleIdSetToRemove
- the role id set to remove- Returns:
- the hvl o auth profile group role persist model
-
convertToModel
default HvlOAuthProfileGroupRolePersistModel convertToModel(String profileGroupUuid, Set<Long> roleIdSetToAdd) Convert to model hvl o auth profile group role persist model.- Parameters:
profileGroupUuid
- the profile group uuidroleIdSetToAdd
- the role id set to add- Returns:
- the hvl o auth profile group role persist model
-
convertToEntityList
default List<HvlOAuthProfileGroupRoleRel> convertToEntityList(Long profileGroupId, Set<Long> roleIdSet) Convert to entity list list.- Parameters:
profileGroupId
- the profile group idroleIdSet
- the role id set- Returns:
- the list
-