}
public void saveOrUpdate(List<GroupSessionProfileBean> profiles) {
entityDao.saveOrUpdate(profiles);
for (GroupSessionProfileBean profile : profiles) {
publish(new CategoryProfileUpdateEvent(new CategoryProfile(profile.getGroup().getName(),
profile.getCapacity(), profile.getUserMaxSessions(), profile.getInactiveInterval())));
}
}