Interface HvlOAuthProfileRoleGroupMapper
- All Superinterfaces:
tr.com.havelsan.javarch.data.model.mapper.HvlGenericMapStructMapper<HvlOAuthProfileRoleGroupRelModel,
HvlOAuthProfileRoleGroupRel>
- All Known Implementing Classes:
HvlOAuthProfileRoleGroupMapperImpl
public interface HvlOAuthProfileRoleGroupMapper
extends tr.com.havelsan.javarch.data.model.mapper.HvlGenericMapStructMapper<HvlOAuthProfileRoleGroupRelModel,HvlOAuthProfileRoleGroupRel>
The mapper is used for mapping between
HvlOAuthProfileRoleGroupRelModel
and HvlOAuthProfileRoleGroupRel
-
Method Summary
Modifier and TypeMethodDescriptionconvertToEntity
(Long profileId, Long roleGroupId) Convert to entity HvlOAuthProfileRoleGroupRel.default List
<HvlOAuthProfileRoleGroupRel> convertToEntityList
(Long profileId, Set<Long> roleGroupIdSet) Convert to entity list.convertToModel
(String profileUuid, Set<Long> roleGroupIdSetToAdd) Convert to model HvlOAuthProfileRoleGroupPersistModel.Convert to model HvlOAuthProfileRoleGroupPersistModel.Methods inherited from interface tr.com.havelsan.javarch.data.model.mapper.HvlGenericMapStructMapper
convertToEntity, convertToEntityList, convertToEntitySet, convertToHvlPageModel, convertToModel, convertToModelList, convertToModelSet, mapToEntity
-
Method Details
-
convertToEntity
Convert to entity HvlOAuthProfileRoleGroupRel.- Parameters:
profileId
- the profile idroleGroupId
- the role id- Returns:
- the hvl o auth profile role rel
-
convertToModel
HvlOAuthProfileRoleGroupPersistModel convertToModel(String profileUuid, Set<Long> roleGroupIdSetToAdd, Set<Long> roleGroupIdSetToRemove) Convert to model HvlOAuthProfileRoleGroupPersistModel.- Parameters:
profileUuid
- the profile uuidroleGroupIdSetToAdd
- the role id set to addroleGroupIdSetToRemove
- the role id set to remove- Returns:
- the HvlOAuthProfileRoleGroupPersistModel
-
convertToModel
default HvlOAuthProfileRoleGroupPersistModel convertToModel(String profileUuid, Set<Long> roleGroupIdSetToAdd) Convert to model HvlOAuthProfileRoleGroupPersistModel.- Parameters:
profileUuid
- the profile uuidroleGroupIdSetToAdd
- the role id set to add- Returns:
- the HvlOAuthProfileRoleGroupPersistModel
-
convertToEntityList
default List<HvlOAuthProfileRoleGroupRel> convertToEntityList(Long profileId, Set<Long> roleGroupIdSet) Convert to entity list.- Parameters:
profileId
- the profile idroleGroupIdSet
- the role id set- Returns:
- the list
-