}
User theUser = s1.getUser();
Project[] model = this.getEntity(id);
if(model[0].getPermission(theUser).equals(Permission.WRITE) ||
theUser.getRole().equals(Role.ADMIN)){
Model m = data.delete(data.retrieve(project, "idNum", id).get(0));
logger.log(Level.INFO, "ProjectManager deleting project <" + id + ">");
return (m != null) ? true : false;
}
else{