Class HvlOAuthProfileRoleGroupMapperImpl
java.lang.Object
tr.com.havelsan.javarch.oauth.jpa.data.provider.module.profile.converter.HvlOAuthProfileRoleGroupMapperImpl
- All Implemented Interfaces:
tr.com.havelsan.javarch.data.model.mapper.HvlGenericMapStructMapper<HvlOAuthProfileRoleGroupRelModel,
,HvlOAuthProfileRoleGroupRel> HvlOAuthProfileRoleGroupMapper
@Generated("org.mapstruct.ap.MappingProcessor")
@Component
public class HvlOAuthProfileRoleGroupMapperImpl
extends Object
implements HvlOAuthProfileRoleGroupMapper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconvertToEntity
(Long profileId, Long roleGroupId) Convert to entity HvlOAuthProfileRoleGroupRel.tr.com.havelsan.javarch.data.commons.pageable.HvlPage
<HvlOAuthProfileRoleGroupRelModel> convertToHvlPageModel
(tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthProfileRoleGroupRel> hvlPageEntity) Convert to model HvlOAuthProfileRoleGroupPersistModel.convertToModelList
(List<HvlOAuthProfileRoleGroupRel> entities) convertToModelSet
(Set<HvlOAuthProfileRoleGroupRel> entities) void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface tr.com.havelsan.javarch.oauth.jpa.data.provider.module.profile.converter.HvlOAuthProfileRoleGroupMapper
convertToEntityList, convertToModel
-
Constructor Details
-
HvlOAuthProfileRoleGroupMapperImpl
public HvlOAuthProfileRoleGroupMapperImpl()
-
-
Method Details
-
convertToModel
- Specified by:
convertToModel
in interfacetr.com.havelsan.javarch.data.model.mapper.HvlGenericMapStructMapper<HvlOAuthProfileRoleGroupRelModel,
HvlOAuthProfileRoleGroupRel>
-
convertToModelList
public List<HvlOAuthProfileRoleGroupRelModel> convertToModelList(List<HvlOAuthProfileRoleGroupRel> entities) - Specified by:
convertToModelList
in interfacetr.com.havelsan.javarch.data.model.mapper.HvlGenericMapStructMapper<HvlOAuthProfileRoleGroupRelModel,
HvlOAuthProfileRoleGroupRel>
-
convertToModelSet
public Set<HvlOAuthProfileRoleGroupRelModel> convertToModelSet(Set<HvlOAuthProfileRoleGroupRel> entities) - Specified by:
convertToModelSet
in interfacetr.com.havelsan.javarch.data.model.mapper.HvlGenericMapStructMapper<HvlOAuthProfileRoleGroupRelModel,
HvlOAuthProfileRoleGroupRel>
-
convertToHvlPageModel
public tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthProfileRoleGroupRelModel> convertToHvlPageModel(tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthProfileRoleGroupRel> hvlPageEntity) - Specified by:
convertToHvlPageModel
in interfacetr.com.havelsan.javarch.data.model.mapper.HvlGenericMapStructMapper<HvlOAuthProfileRoleGroupRelModel,
HvlOAuthProfileRoleGroupRel>
-
convertToEntity
- Specified by:
convertToEntity
in interfacetr.com.havelsan.javarch.data.model.mapper.HvlGenericMapStructMapper<HvlOAuthProfileRoleGroupRelModel,
HvlOAuthProfileRoleGroupRel>
-
mapToEntity
- Specified by:
mapToEntity
in interfacetr.com.havelsan.javarch.data.model.mapper.HvlGenericMapStructMapper<HvlOAuthProfileRoleGroupRelModel,
HvlOAuthProfileRoleGroupRel>
-
convertToEntityList
public List<HvlOAuthProfileRoleGroupRel> convertToEntityList(List<HvlOAuthProfileRoleGroupRelModel> model) - Specified by:
convertToEntityList
in interfacetr.com.havelsan.javarch.data.model.mapper.HvlGenericMapStructMapper<HvlOAuthProfileRoleGroupRelModel,
HvlOAuthProfileRoleGroupRel>
-
convertToEntitySet
public Set<HvlOAuthProfileRoleGroupRel> convertToEntitySet(Set<HvlOAuthProfileRoleGroupRelModel> model) - Specified by:
convertToEntitySet
in interfacetr.com.havelsan.javarch.data.model.mapper.HvlGenericMapStructMapper<HvlOAuthProfileRoleGroupRelModel,
HvlOAuthProfileRoleGroupRel>
-
convertToEntity
Description copied from interface:HvlOAuthProfileRoleGroupMapper
Convert to entity HvlOAuthProfileRoleGroupRel.- Specified by:
convertToEntity
in interfaceHvlOAuthProfileRoleGroupMapper
- Parameters:
profileId
- the profile idroleGroupId
- the role id- Returns:
- the hvl o auth profile role rel
-
convertToModel
public HvlOAuthProfileRoleGroupPersistModel convertToModel(String profileUuid, Set<Long> roleGroupIdSetToAdd, Set<Long> roleGroupIdSetToRemove) Description copied from interface:HvlOAuthProfileRoleGroupMapper
Convert to model HvlOAuthProfileRoleGroupPersistModel.- Specified by:
convertToModel
in interfaceHvlOAuthProfileRoleGroupMapper
- Parameters:
profileUuid
- the profile uuidroleGroupIdSetToAdd
- the role id set to addroleGroupIdSetToRemove
- the role id set to remove- Returns:
- the HvlOAuthProfileRoleGroupPersistModel
-