Interface HvlOAuthAuthorityProfileGroupMapper

All Superinterfaces:
tr.com.havelsan.javarch.data.model.mapper.HvlGenericMapStructMapper<HvlOAuthAuthorityProfileGroupPersistModel,HvlOAuthAuthorityProfileGroupRel>
All Known Implementing Classes:
HvlOAuthAuthorityProfileGroupMapperImpl

public interface HvlOAuthAuthorityProfileGroupMapper extends tr.com.havelsan.javarch.data.model.mapper.HvlGenericMapStructMapper<HvlOAuthAuthorityProfileGroupPersistModel,HvlOAuthAuthorityProfileGroupRel>
  • Method Details

    • convertToEntity

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

      HvlOAuthAuthorityProfileGroupPersistModel convertToModel(String authorityUuid, Set<Long> profileGroupIdSetToAdd, Set<Long> profileGroupIdSetToRemove)
      Convert to model hvl o auth authority profile group persist model.
      Parameters:
      authorityUuid - the authority uuid
      profileGroupIdSetToAdd - the profile group id set to add
      profileGroupIdSetToRemove - the profile group id set to remove
      Returns:
      the hvl o auth authority profile group persist model
    • convertToModel

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

      default List<HvlOAuthAuthorityProfileGroupRel> convertToEntityList(Long authorityId, Set<Long> profileGroupIdSet)
      Convert to entity list.
      Parameters:
      authorityId - the authority id
      profileGroupIdSet - the profile group id set
      Returns:
      the list
    • convertToModel

      default HvlOAuthAuthorityProfileGroupPersistModel convertToModel(String authorityUuid, List<HvlOAuthAuthorityProfileGroupRel> authorityProfileGroupRelList)
      Convert to model hvl o auth authority profile group persist model.
      Parameters:
      authorityUuid - the authority uuid
      authorityProfileGroupRelList - the authority profile group rel list
      Returns:
      the hvl o auth authority profile group persist model