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 Details

    • convertToEntity

      HvlOAuthRoleAuthorityRel convertToEntity(Long roleId, Long authorityId)
      Convert to entity hvl o auth role authority rel.
      Parameters:
      roleId - the role id
      authorityId - 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 id
      authorityIdStream - the authority id stream
      Returns:
      the list
    • convertToEntityList

      default List<HvlOAuthRoleAuthorityRel> convertToEntityList(Long roleId, Set<Long> authorityIdSet)
      Convert to entity list.
      Parameters:
      roleId - the role id
      authorityIdSet - the authority id set
      Returns:
      the list