Class CommonUserProfileServiceImpl
java.lang.Object
tech.corefinance.userprofile.common.service.impl.CommonUserProfileServiceImpl
- All Implemented Interfaces:
tech.corefinance.common.service.CommonService<String,,CommonUserProfile<?>, CommonUserProfileRepository<CommonUserProfile<?>>> UserProfileService<CommonUserProfile<?>>
@Transactional
@Service
@ConditionalOnProperty(prefix="tech.corefinance.app.userprofile",
name="common-user-service",
havingValue="true",
matchIfMissing=true)
public class CommonUserProfileServiceImpl
extends Object
implements UserProfileService<CommonUserProfile<?>>
-
Constructor Summary
ConstructorsConstructorDescriptionCommonUserProfileServiceImpl(CommonUserProfileRepository commonUserProfileRepository, List<UserAuthenAddOn> userAuthenAddOns, org.springframework.security.crypto.password.PasswordEncoder passwordEncoder) -
Method Summary
Modifier and TypeMethodDescriptionbytechangePassword(String userId, String currentPassword, String newPassword, String repeatNewPassword) <D extends tech.corefinance.common.model.CreateUpdateDto<String>>
CommonUserProfile<?> copyAdditionalPropertiesFromDtoToEntity(D source, CommonUserProfile<?> dest) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface tech.corefinance.common.service.CommonService
afterEntitySaved, afterItemDeleted, beforeItemDeleted, createEntityObject, createOrUpdateEntity, customEntityValidation, deleteEntity, findEntityClass, getEntityDetails, searchByTextAndPage, searchByTextAndSort, searchData
-
Constructor Details
-
CommonUserProfileServiceImpl
public CommonUserProfileServiceImpl(CommonUserProfileRepository commonUserProfileRepository, List<UserAuthenAddOn> userAuthenAddOns, org.springframework.security.crypto.password.PasswordEncoder passwordEncoder)
-
-
Method Details
-
getRepository
- Specified by:
getRepositoryin interfacetech.corefinance.common.service.CommonService<String,CommonUserProfile<?>, CommonUserProfileRepository<CommonUserProfile<?>>>
-
copyAdditionalPropertiesFromDtoToEntity
public <D extends tech.corefinance.common.model.CreateUpdateDto<String>> CommonUserProfile<?> copyAdditionalPropertiesFromDtoToEntity(D source, CommonUserProfile<?> dest) - Specified by:
copyAdditionalPropertiesFromDtoToEntityin interfacetech.corefinance.common.service.CommonService<String,CommonUserProfile<?>, CommonUserProfileRepository<CommonUserProfile<?>>>
-
changePassword
public byte changePassword(String userId, String currentPassword, String newPassword, String repeatNewPassword) - Specified by:
changePasswordin interfaceUserProfileService<CommonUserProfile<?>>
-