All Superinterfaces:
tr.com.havelsan.javarch.data.model.mapper.HvlGenericMapStructMapper<HvlOAuthAuthorityTagPersistModel,HvlOAuthAuthorityTagRel>
All Known Implementing Classes:
HvlOAuthAuthorityTagMapperImpl

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

    • convertToEntity

      HvlOAuthAuthorityTagRel convertToEntity(Long authorityId, Long tagId)
      Convert to authority tag rel entity.
      Parameters:
      authorityId - the authority id
      tagId - the tag id
      Returns:
      the authority tag rel
    • convertToModel

      HvlOAuthAuthorityTagPersistModel convertToModel(String authorityUuid, Set<Long> tagIdSetToAdd, Set<Long> tagIdSetToRemove)
      Convert to authority tag model.
      Parameters:
      authorityUuid - the authority uuid
      tagIdSetToAdd - the tag id set to add
      tagIdSetToRemove - the tag id set to remove
      Returns:
      the authority tag model
    • convertToModel

      default HvlOAuthAuthorityTagPersistModel convertToModel(String authorityUuid, Set<Long> tagIdSetToAdd)
      Convert to authority tag persist model.
      Parameters:
      authorityUuid - the authority uuid
      tagIdSetToAdd - the tag id set to add
      Returns:
      the hvl o auth authority tag persist model
    • convertToEntityList

      default List<HvlOAuthAuthorityTagRel> convertToEntityList(Long authorityId, Set<Long> tagIdSet)
      Convert to authority tag persist entity list.
      Parameters:
      authorityId - the authority id
      tagIdSet - the tag id set
      Returns:
      the list
    • convertToModel

      default HvlOAuthAuthorityTagPersistModel convertToModel(String authorityUuid, List<HvlOAuthAuthorityTagRel> authorityTagRelList)
      Convert to model hvl o auth authority tag model.
      Parameters:
      authorityUuid - the authority uuid
      authorityTagRelList - the authority tag rel list
      Returns:
      the hvl o auth authority tag model