Interface HvlOAuthProfileGroupProfileRelMapper

All Superinterfaces:
tr.com.havelsan.javarch.data.model.mapper.HvlGenericMapStructMapper<HvlOAuthProfileGroupProfileRelModel,HvlOAuthProfileGroupProfileRel>
All Known Implementing Classes:
HvlOAuthProfileGroupProfileRelMapperImpl

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

    • convertToEntity

      HvlOAuthProfileGroupProfileRel convertToEntity(Long profileId, Long profileGroupId)
      Convert to entity HvlOAuthProfileProfileGroupRel.
      Parameters:
      profileId - the profile id
      profileGroupId - the profileGroup id
      Returns:
      the hvl o auth profile profileGroup rel
    • convertToModel

      HvlOAuthProfileGroupProfilePersistModel convertToModel(String profileUuid, Set<Long> profileGroupIdSetToAdd, Set<Long> profileGroupIdSetToRemove)
      Convert to model HvlOAuthProfileProfileGroupPersistModel.
      Parameters:
      profileUuid - the profile uuid
      profileGroupIdSetToAdd - the profileGroup id set to add
      profileGroupIdSetToRemove - the profileGroup id set to remove
      Returns:
      the HvlOAuthProfileProfileGroupPersistModel
    • convertToModel

      default HvlOAuthProfileGroupProfilePersistModel convertToModel(String profileUuid, Set<Long> profileGroupIdSetToAdd)
      Convert to model HvlOAuthProfileProfileGroupPersistModel.
      Parameters:
      profileUuid - the profile uuid
      profileGroupIdSetToAdd - the profileGroup id set to add
      Returns:
      the HvlOAuthProfileProfileGroupPersistModel
    • convertToEntityList

      default List<HvlOAuthProfileGroupProfileRel> convertToEntityList(Long profileGroupId, Set<Long> profileIdSet)
      Convert to entity list.
      Parameters:
      profileGroupId - the profile id
      profileIdSet - the profileGroup id set
      Returns:
      the list