Interface HvlOAuthRoleAuthorityRelMapper
- All Superinterfaces:
tr.com.havelsan.javarch.data.model.mapper.HvlGenericMapStructMapper<HvlOAuthRoleAuthorityRelModel,
HvlOAuthRoleAuthorityRel>
- All Known Implementing Classes:
HvlOAuthRoleAuthorityRelMapperImpl
public interface HvlOAuthRoleAuthorityRelMapper
extends tr.com.havelsan.javarch.data.model.mapper.HvlGenericMapStructMapper<HvlOAuthRoleAuthorityRelModel,HvlOAuthRoleAuthorityRel>
The mapper is used for mapping between
HvlOAuthRoleAuthorityRelModel
and HvlOAuthRoleAuthorityRel
-
Method Summary
Modifier and TypeMethodDescriptionconvertToEntity
(Long roleId, Long authorityId) Convert to entity hvl o auth role authority rel.default List<HvlOAuthRoleAuthorityRel>
convertToEntityList
(Long roleId, Set<Long> authorityIdSet) Convert to entity list.default List<HvlOAuthRoleAuthorityRel>
convertToEntityList
(Long roleId, Stream<Long> authorityIdStream) Convert to entity list.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 hvl o auth role authority rel.- Parameters:
roleId
- the role idauthorityId
- the authority id- Returns:
- the hvl o auth role authority rel
-
convertToEntityList
default List<HvlOAuthRoleAuthorityRel> convertToEntityList(Long roleId, Stream<Long> authorityIdStream) Convert to entity list.- Parameters:
roleId
- the role idauthorityIdStream
- the authority id stream- Returns:
- the list
-
convertToEntityList
Convert to entity list.- Parameters:
roleId
- the role idauthorityIdSet
- the authority id set- Returns:
- the list
-