public void deleteByIds(Set<Long> ids) { for (Long id : ids) { Resource resource = resourceDAO.getById(id); resourceDAO.delete(resource); } refreshProtectedResources(); }
public Resource getResourceById(Long id) { return resourceDAO.getById(id); }