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