Class HvlOAuthProfileGroupRoleRelMapperImpl
java.lang.Object
tr.com.havelsan.javarch.oauth.jpa.data.provider.module.profile.converter.HvlOAuthProfileGroupRoleRelMapperImpl
- All Implemented Interfaces:
tr.com.havelsan.javarch.data.model.mapper.HvlGenericMapStructMapper<HvlOAuthProfileGroupRoleRelModel,
,HvlOAuthProfileGroupRoleRel> HvlOAuthProfileGroupRoleRelMapper
@Generated("org.mapstruct.ap.MappingProcessor")
@Component
public class HvlOAuthProfileGroupRoleRelMapperImpl
extends Object
implements HvlOAuthProfileGroupRoleRelMapper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconvertToEntity
(Long profileGroupId, Long roleId) Convert to entity hvl o auth profile group role rel.tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthProfileGroupRoleRelModel>
convertToHvlPageModel
(tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthProfileGroupRoleRel> hvlPageEntity) Convert to model hvl o auth profile group role persist model.convertToModel
(HvlOAuthProfileGroupRoleRel profileGroupRole) convertToModelList
(List<HvlOAuthProfileGroupRoleRel> entities) convertToModelSet
(Set<HvlOAuthProfileGroupRoleRel> 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.HvlOAuthProfileGroupRoleRelMapper
convertToEntityList, convertToModel
-
Constructor Details
-
HvlOAuthProfileGroupRoleRelMapperImpl
public HvlOAuthProfileGroupRoleRelMapperImpl()
-
-
Method Details
-
convertToModelList
public List<HvlOAuthProfileGroupRoleRelModel> convertToModelList(List<HvlOAuthProfileGroupRoleRel> entities) - Specified by:
convertToModelList
in interfacetr.com.havelsan.javarch.data.model.mapper.HvlGenericMapStructMapper<HvlOAuthProfileGroupRoleRelModel,
HvlOAuthProfileGroupRoleRel>
-
convertToModelSet
public Set<HvlOAuthProfileGroupRoleRelModel> convertToModelSet(Set<HvlOAuthProfileGroupRoleRel> entities) - Specified by:
convertToModelSet
in interfacetr.com.havelsan.javarch.data.model.mapper.HvlGenericMapStructMapper<HvlOAuthProfileGroupRoleRelModel,
HvlOAuthProfileGroupRoleRel>
-
convertToHvlPageModel
public tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthProfileGroupRoleRelModel> convertToHvlPageModel(tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthProfileGroupRoleRel> hvlPageEntity) - Specified by:
convertToHvlPageModel
in interfacetr.com.havelsan.javarch.data.model.mapper.HvlGenericMapStructMapper<HvlOAuthProfileGroupRoleRelModel,
HvlOAuthProfileGroupRoleRel>
-
convertToEntity
- Specified by:
convertToEntity
in interfacetr.com.havelsan.javarch.data.model.mapper.HvlGenericMapStructMapper<HvlOAuthProfileGroupRoleRelModel,
HvlOAuthProfileGroupRoleRel>
-
mapToEntity
- Specified by:
mapToEntity
in interfacetr.com.havelsan.javarch.data.model.mapper.HvlGenericMapStructMapper<HvlOAuthProfileGroupRoleRelModel,
HvlOAuthProfileGroupRoleRel>
-
convertToEntityList
public List<HvlOAuthProfileGroupRoleRel> convertToEntityList(List<HvlOAuthProfileGroupRoleRelModel> model) - Specified by:
convertToEntityList
in interfacetr.com.havelsan.javarch.data.model.mapper.HvlGenericMapStructMapper<HvlOAuthProfileGroupRoleRelModel,
HvlOAuthProfileGroupRoleRel>
-
convertToEntitySet
public Set<HvlOAuthProfileGroupRoleRel> convertToEntitySet(Set<HvlOAuthProfileGroupRoleRelModel> model) - Specified by:
convertToEntitySet
in interfacetr.com.havelsan.javarch.data.model.mapper.HvlGenericMapStructMapper<HvlOAuthProfileGroupRoleRelModel,
HvlOAuthProfileGroupRoleRel>
-
convertToModel
public HvlOAuthProfileGroupRoleRelModel convertToModel(HvlOAuthProfileGroupRoleRel profileGroupRole) - Specified by:
convertToModel
in interfacetr.com.havelsan.javarch.data.model.mapper.HvlGenericMapStructMapper<HvlOAuthProfileGroupRoleRelModel,
HvlOAuthProfileGroupRoleRel> - Specified by:
convertToModel
in interfaceHvlOAuthProfileGroupRoleRelMapper
-
convertToEntity
Description copied from interface:HvlOAuthProfileGroupRoleRelMapper
Convert to entity hvl o auth profile group role rel.- Specified by:
convertToEntity
in interfaceHvlOAuthProfileGroupRoleRelMapper
- Parameters:
profileGroupId
- the profile group idroleId
- the role id- Returns:
- the hvl o auth profile group role rel
-
convertToModel
public HvlOAuthProfileGroupRolePersistModel convertToModel(String profileGroupUuid, Set<Long> roleIdSetToAdd, Set<Long> roleIdSetToRemove) Description copied from interface:HvlOAuthProfileGroupRoleRelMapper
Convert to model hvl o auth profile group role persist model.- Specified by:
convertToModel
in interfaceHvlOAuthProfileGroupRoleRelMapper
- Parameters:
profileGroupUuid
- the profile group uuidroleIdSetToAdd
- the role id set to addroleIdSetToRemove
- the role id set to remove- Returns:
- the hvl o auth profile group role persist model
-