Interface HvlOAuthProfileGroupRoleRelMapper

All Superinterfaces:
tr.com.havelsan.javarch.data.model.mapper.HvlGenericMapStructMapper<HvlOAuthProfileGroupRoleRelModel,HvlOAuthProfileGroupRoleRel>
All Known Implementing Classes:
HvlOAuthProfileGroupRoleRelMapperImpl

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

    • convertToModel

      Specified by:
      convertToModel in interface tr.com.havelsan.javarch.data.model.mapper.HvlGenericMapStructMapper<HvlOAuthProfileGroupRoleRelModel,HvlOAuthProfileGroupRoleRel>
    • convertToEntity

      HvlOAuthProfileGroupRoleRel convertToEntity(Long profileGroupId, Long roleId)
      Convert to entity hvl o auth profile group role rel.
      Parameters:
      profileGroupId - the profile group id
      roleId - the role id
      Returns:
      the hvl o auth profile group role rel
    • convertToModel

      HvlOAuthProfileGroupRolePersistModel convertToModel(String profileGroupUuid, Set<Long> roleIdSetToAdd, Set<Long> roleIdSetToRemove)
      Convert to model hvl o auth profile group role persist model.
      Parameters:
      profileGroupUuid - the profile group uuid
      roleIdSetToAdd - the role id set to add
      roleIdSetToRemove - the role id set to remove
      Returns:
      the hvl o auth profile group role persist model
    • convertToModel

      default HvlOAuthProfileGroupRolePersistModel convertToModel(String profileGroupUuid, Set<Long> roleIdSetToAdd)
      Convert to model hvl o auth profile group role persist model.
      Parameters:
      profileGroupUuid - the profile group uuid
      roleIdSetToAdd - the role id set to add
      Returns:
      the hvl o auth profile group role persist model
    • convertToEntityList

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