109110111112113114115116
throw new NotFoundException("No entity with the id " + id + " exists."); } ofy().delete().entity(deletedBp); ofy().delete().entity(deletedBpc); } else { throw new OAuthRequestException("Invalid user."); } }
7980818283848586878889
if (user != null) { query.setFilter("player == userParam"); query.declareParameters("com.google.appengine.api.users.User userParam"); } else { throw new OAuthRequestException("Invalid user."); } if (limit == null) { limit = DEFAULT_LIMIT; }
113114115116117118119120
PersistenceManager pm = getPersistenceManager(); pm.makePersistent(score); pm.close(); return score; } else { throw new OAuthRequestException("Invalid user."); } }