directory.setLatitude(dirData.getLat());
}
if (dirData.getLng() != null) {
directory.setLongitude(dirData.getLng());
}
Group group = null;
if (dirData.getGroup() != null) {
group = em.find(Group.class, dirData.getGroup());
}
// default is forced to "public"
if (group == null) {