Interface HvlOAuthProxyRoleRelMapper

All Superinterfaces:
tr.com.havelsan.javarch.data.model.mapper.HvlGenericMapStructMapper<HvlOAuthProxyRoleRelModel,HvlOAuthProxyRoleRel>
All Known Implementing Classes:
HvlOAuthProxyRoleRelMapperImpl

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

    • convertToEntity

      HvlOAuthProxyRoleRel convertToEntity(Long proxyId, Long roleId)
      Convert to entity.
      Parameters:
      proxyId - the proxy id
      roleId - the role id
      Returns:
      the proxy role rel
    • convertToEntityList

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

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