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