/** * Delete all the beans in the Collection. */ public static int deleteAll(Collection<?> beans) throws OptimisticLockException { return serverMgr.getDefaultServer().deleteAll(beans); }
/** * Delete several beans given their type and id values. */ public static int deleteAll(Class<?> beanType, Collection<?> ids) { return serverMgr.getDefaultServer().deleteAll(beanType, ids); }
/** * Delete all the beans in the collection. */ public int deleteAll(Collection<T> beans) { return db().deleteAll(beans); }
/** * Delete several beans given their type and id values. */ public static int deleteAll(Class<?> beanType, Collection<?> ids) { return serverMgr.getDefaultServer().deleteAll(beanType, ids); }
/** * Delete all the beans in the Collection. */ public static int deleteAll(Collection<?> beans) throws OptimisticLockException { return serverMgr.getDefaultServer().deleteAll(beans); }
/** * Delete all the beans in the collection. */ public int deleteAll(Collection<T> beans) { return db().deleteAll(beans); }
@Override public void deleteAll(Iterable<? extends T> entities) { Assert.notNull(entities, "The given Iterable of entities not be null!"); db().deleteAll((Collection<?>) entities); }
@Override public void deleteAll(Iterable<? extends T> entities) { Assert.notNull(entities, "The given Iterable of entities not be null!"); db().deleteAll((Collection<?>) entities); }