2930313233343536373839
* @return */ public String create(User user) { Boolean created = false; User currentUser = readUserById(user.getEmail()); if (currentUser == null) { pm = PMF.get().getPersistenceManager();
5859606162636465666768
* @param email * @return */ public User readUserById(String email) { User user = null; try { user = pm.getObjectById(User.class, email);
8687888990919293949596
* @return */ public String update(User user) { Boolean updated = false; User currentUser = readUserById(user.getEmail()); if (currentUser != null) { try {