class RepositoryUserService implements UserService {

    UserData copyAndSetThumbnailPhoto(@NonNull UserData userData, byte[] thumbnailPhoto) {
        var id = userData.getId();
        var user = userData.getUser();
        var firstName = userData.getFirstName();
        var lastName = userData.getLastName();
        var email = userData.getEmail();
        var lob = userData.getLob();

        return new UserData(user, firstName, lastName, email, lob, thumbnailPhoto)
                .setId(id);
    }

    public  RepositoryUserService(UserRepository userRepo,
                                 UserDataRepository dataRepo,
                                 LdapAdapter ldapAdapter,
                                 HierarchyTreeNodeRepository hierarchyTreeNodeRepo,
                                 HibernateSearchService hibernateSearchService);

}