public void deleteByIds(Set<Long> ids) { for (Long id : ids) { Resource resource = resourceDAO.getById(id); resourceDAO.delete(resource); } refreshProtectedResources(); }
@Override public <T extends BaseEntity> void delete(T model) { resourceDAO.delete(model); refreshProtectedResources(); }