Interface HvlOAuthTrustedProxyRoleRelMapper

All Superinterfaces:
tr.com.havelsan.javarch.data.model.mapper.HvlGenericMapStructMapper<HvlOAuthTrustedProxyRoleRelModel,HvlOAuthTrustedProxyRoleRel>
All Known Implementing Classes:
HvlOAuthTrustedProxyRoleRelMapperImpl

public interface HvlOAuthTrustedProxyRoleRelMapper extends tr.com.havelsan.javarch.data.model.mapper.HvlGenericMapStructMapper<HvlOAuthTrustedProxyRoleRelModel,HvlOAuthTrustedProxyRoleRel>
The mapper is used for mapping between HvlOAuthTrustedProxyRoleRelModel and HvlOAuthTrustedProxyRoleRel
  • Method Details

    • convertToEntity

      HvlOAuthTrustedProxyRoleRel convertToEntity(Long trustedProxyId, Long roleId)
      Convert to entity hvl o auth trusted proxy role rel.
      Parameters:
      trustedProxyId - the trusted proxy id
      roleId - the role id
      Returns:
      the hvl o auth trusted proxy role rel
    • convertToEntityList

      default List<HvlOAuthTrustedProxyRoleRel> convertToEntityList(Long trustedProxyId, Stream<Long> roleIdStream)
      Convert to entity list.
      Parameters:
      trustedProxyId - the trusted proxy id
      roleIdStream - the role id stream
      Returns:
      the list
    • convertToEntityList

      default List<HvlOAuthTrustedProxyRoleRel> convertToEntityList(Long trustedProxyId, Set<Long> roleIdSet)
      Convert to entity list.
      Parameters:
      trustedProxyId - the trusted proxy id
      roleIdSet - the role id set
      Returns:
      the list