Interface HvlOAuthAuthorityTagMapper
- 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 Summary
Modifier and TypeMethodDescriptionconvertToEntity
(Long authorityId, Long tagId) Convert to authority tag rel entity.default List<HvlOAuthAuthorityTagRel>
convertToEntityList
(Long authorityId, Set<Long> tagIdSet) Convert to authority tag persist entity list.default HvlOAuthAuthorityTagPersistModel
convertToModel
(String authorityUuid, List<HvlOAuthAuthorityTagRel> authorityTagRelList) Convert to model hvl o auth authority tag model.default HvlOAuthAuthorityTagPersistModel
convertToModel
(String authorityUuid, Set<Long> tagIdSetToAdd) Convert to authority tag persist model.Convert to authority tag model.Methods inherited from interface tr.com.havelsan.javarch.data.model.mapper.HvlGenericMapStructMapper
convertToEntity, convertToEntityList, convertToEntitySet, convertToHvlPageModel, convertToModel, convertToModelList, convertToModelSet, mapToEntity
-
Method Details
-
convertToEntity
Convert to authority tag rel entity.- Parameters:
authorityId
- the authority idtagId
- 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 uuidtagIdSetToAdd
- the tag id set to addtagIdSetToRemove
- 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 uuidtagIdSetToAdd
- the tag id set to add- Returns:
- the hvl o auth authority tag persist model
-
convertToEntityList
Convert to authority tag persist entity list.- Parameters:
authorityId
- the authority idtagIdSet
- 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 uuidauthorityTagRelList
- the authority tag rel list- Returns:
- the hvl o auth authority tag model
-