Interface HvlOAuthProfileRoleRelMapper
- All Superinterfaces:
tr.com.havelsan.javarch.data.model.mapper.HvlGenericMapStructMapper<HvlOAuthProfileRoleRelModel,
HvlOAuthProfileRoleRel>
- All Known Implementing Classes:
HvlOAuthProfileRoleRelMapperImpl
public interface HvlOAuthProfileRoleRelMapper
extends tr.com.havelsan.javarch.data.model.mapper.HvlGenericMapStructMapper<HvlOAuthProfileRoleRelModel,HvlOAuthProfileRoleRel>
The mapper is used for mapping between
HvlOAuthProfileRoleRelModel
and HvlOAuthProfileRoleRel
-
Method Summary
Modifier and TypeMethodDescriptionconvertToEntity
(Long profileId, Long roleId) Convert to entity HvlOAuthProfileRoleRel.default List
<HvlOAuthProfileRoleRel> convertToEntityList
(Long profileId, Set<Long> roleIdSet) Convert to entity list.default List
<HvlOAuthProfileRoleRel> convertToEntityList
(Set<Long> profileIdSet, Long roleId) Convert to entity list.default List
<HvlOAuthProfileRoleRel> convertToEntityListWithProfileIdSet
(Long roleId, Set<Long> profileIdSet) Convert to entity list.default HvlOAuthProfileRolePersistModel
convertToModel
(String profileUuid, Set<Long> roleIdSetToAdd) Convert to model HvlOAuthProfileRolePersistModel.Convert to model HvlOAuthProfileRolePersistModel.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 HvlOAuthProfileRoleRel.- Parameters:
profileId
- the profile idroleId
- the role id- Returns:
- the hvl o auth profile role rel
-
convertToModel
HvlOAuthProfileRolePersistModel convertToModel(String profileUuid, Set<Long> roleIdSetToAdd, Set<Long> roleIdSetToRemove) Convert to model HvlOAuthProfileRolePersistModel.- Parameters:
profileUuid
- the profile uuidroleIdSetToAdd
- the role id set to addroleIdSetToRemove
- the role id set to remove- Returns:
- the HvlOAuthProfileRolePersistModel
-
convertToModel
default HvlOAuthProfileRolePersistModel convertToModel(String profileUuid, Set<Long> roleIdSetToAdd) Convert to model HvlOAuthProfileRolePersistModel.- Parameters:
profileUuid
- the profile uuidroleIdSetToAdd
- the role id set to add- Returns:
- the HvlOAuthProfileRolePersistModel
-
convertToEntityList
Convert to entity list.- Parameters:
profileId
- the profile idroleIdSet
- the role id set- Returns:
- the list
-
convertToEntityList
Convert to entity list.- Parameters:
profileIdSet
- the profile id setroleId
- the role id- Returns:
- the list
-
convertToEntityListWithProfileIdSet
default List<HvlOAuthProfileRoleRel> convertToEntityListWithProfileIdSet(Long roleId, Set<Long> profileIdSet) Convert to entity list.- Parameters:
roleId
- the role idprofileIdSet
- the profile id set- Returns:
- the list
-