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>
The mapper is used for mapping between
HvlOAuthAuthorityProfileGroupPersistModel
and HvlOAuthAuthorityProfileGroupRel
-
Method Summary
Modifier and TypeMethodDescriptionconvertToEntity
(Long authorityId, Long profileGroupId) Convert to entity hvl o auth authority profile group rel.default List
<HvlOAuthAuthorityProfileGroupRel> convertToEntityList
(Long authorityId, Set<Long> profileGroupIdSet) Convert to entity list.convertToModel
(String authorityUuid, List<HvlOAuthAuthorityProfileGroupRel> authorityProfileGroupRelList) Convert to model hvl o auth authority profile group persist model.convertToModel
(String authorityUuid, Set<Long> profileGroupIdSetToAdd) Convert to model hvl o auth authority profile group persist model.convertToModel
(String authorityUuid, Set<Long> profileGroupIdSetToAdd, Set<Long> profileGroupIdSetToRemove) Convert to model hvl o auth authority profile group persist 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 entity hvl o auth authority profile group rel.- Parameters:
authorityId
- the authority idprofileGroupId
- 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 uuidprofileGroupIdSetToAdd
- the profile group id set to addprofileGroupIdSetToRemove
- 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 uuidprofileGroupIdSetToAdd
- 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 idprofileGroupIdSet
- 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 uuidauthorityProfileGroupRelList
- the authority profile group rel list- Returns:
- the hvl o auth authority profile group persist model
-