public void loadRequiredData() {
if (profileDAO.list(Profile.class).isEmpty()) {
for (PredefinedProfiles each : PredefinedProfiles.values()) {
Profile profile = each.createProfile();
profileDAO.save(profile);
profile.dontPoseAsTransientObjectAnymore();
}
}
}
}