TEntity
- public interface IRepository<TEntity>
Interface of repository.
TEntity
: The type of the entity.
Modifier and Type | Method and Description |
---|---|
boolean |
add(List<TEntity> entities) |
boolean |
add(TEntity entity) |
void |
commit() |
TEntity |
get(long id) |
void |
refresh(TEntity entity) |
boolean |
remove(List<TEntity> entities) |
boolean |
remove(TEntity entity) |
boolean |
update(List<TEntity> entities) |
boolean |
update(TEntity entity) |