Package edu.drexel.goodwin.cpd.domain

Examples of edu.drexel.goodwin.cpd.domain.Researcher.persist()


    if (!result.hasErrors()) {
      uploadProfilePictureIfEntered(dto, researcher);

      researcher.setSalt(getRandomSalt());
      researcher.setPassword(getHashedPassword(dto.getPassword(), researcher.getSalt()));
      researcher.persist();
     
      String message = generateMessage(accountCreatedMessage, new Object[] {researcher.getEmail(), applicationUrl});
      messageSender.sendMessage("Community Profile Database Account Created", researcher.getEmail(), message);
    }
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.