com.jn.langx.repository.Repository2 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of langx-java Show documentation
Show all versions of langx-java Show documentation
Java lang extensions for java6+, a supplement to , replacement of a Guava, commons-lang.
Core utilities, Collection utilities, IO utilities, Cache, Configuration library ...
package com.jn.langx.repository;
import java.util.List;
public interface Repository2 extends Repository {
boolean has(ID id);
long count();
List getByIds(Iterable ids);
void addAll(Iterable entities);
void update(Iterable entities);
void removeByIds(Iterable id);
@Override
E getById(ID id);
@Override
void add(E entity);
@Override
void update(E entity);
@Override
void removeById(ID id);
}