Interface HvlOAuthRoleGroupRoleRelMapper

All Superinterfaces:
tr.com.havelsan.javarch.data.model.mapper.HvlGenericMapStructMapper<HvlOAuthRoleGroupRoleRelModel,HvlOAuthRoleGroupRoleRel>
All Known Implementing Classes:
HvlOAuthRoleGroupRoleRelMapperImpl

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

    • convertToEntity

      HvlOAuthRoleGroupRoleRel convertToEntity(Long roleGroupId, Long roleId)
      Convert to entity hvl o auth role authority rel.
      Parameters:
      roleGroupId - the role group id
      roleId - the role id
      Returns:
      the hvl o auth role authority rel
    • convertToEntityList

      default List<HvlOAuthRoleGroupRoleRel> convertToEntityList(Long roleGroupId, Stream<Long> roleIdStream)
      Convert to entity list.
      Parameters:
      roleGroupId - the role group id
      roleIdStream - the role id stream
      Returns:
      the list
    • convertToEntityList

      default List<HvlOAuthRoleGroupRoleRel> convertToEntityList(Long roleGroupId, Set<Long> roleIdSet)
      Convert to entity list.
      Parameters:
      roleGroupId - the role group id
      roleIdSet - the role id set
      Returns:
      the list