Package org.flowable.ui.idm.service
Class ProfileServiceImpl
- java.lang.Object
-
- org.flowable.ui.idm.service.AbstractIdmService
-
- org.flowable.ui.idm.service.ProfileServiceImpl
-
- All Implemented Interfaces:
ProfileService
@Service @Transactional public class ProfileServiceImpl extends AbstractIdmService implements ProfileService
- Author:
- Joram Barrez
-
-
Field Summary
-
Fields inherited from class org.flowable.ui.idm.service.AbstractIdmService
identityService
-
-
Constructor Summary
Constructors Constructor Description ProfileServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidchangePassword(String originalPassword, String newPassword)org.apache.commons.lang3.tuple.Pair<String,InputStream>getProfilePicture()org.flowable.idm.api.UserupdateProfile(String firstName, String lastName, String email)voiduploadProfilePicture(String contentType, byte[] bytes)
-
-
-
Method Detail
-
updateProfile
public org.flowable.idm.api.User updateProfile(String firstName, String lastName, String email)
- Specified by:
updateProfilein interfaceProfileService
-
changePassword
public void changePassword(String originalPassword, String newPassword)
- Specified by:
changePasswordin interfaceProfileService
-
getProfilePicture
public org.apache.commons.lang3.tuple.Pair<String,InputStream> getProfilePicture()
- Specified by:
getProfilePicturein interfaceProfileService
-
uploadProfilePicture
public void uploadProfilePicture(String contentType, byte[] bytes)
- Specified by:
uploadProfilePicturein interfaceProfileService
-
-