public interface Dao<T extends Entity<ID>,ID extends Serializable>
Dao interface.
| Modifier and Type | Method and Description |
|---|---|
T |
get(ID id)
get.
|
List<T> |
get(ID[] ids)
get.
|
Class<T> |
getEntityClass()
getEntityClass.
|
void |
remove(Collection<T> entitis)
remove.
|
void |
remove(ID id)
remove.
|
void |
remove(ID[] ids)
remove.
|
void |
remove(T entity)
remove.
|
void |
saveOrUpdate(Collection<T> entitis)
saveOrUpdate.
|
void |
saveOrUpdate(T entity)
saveOrUpdate.
|
void saveOrUpdate(T entity)
saveOrUpdate.
entity - a T object.void saveOrUpdate(Collection<T> entitis)
saveOrUpdate.
entitis - a Collection object.void remove(Collection<T> entitis)
remove.
entitis - a Collection object.void remove(T entity)
remove.
entity - a T object.void remove(ID[] ids)
remove.
ids - an array of ID objects.void remove(ID id)
remove.
id - a ID object.Copyright © 2005–2018 The Beangle Software. All rights reserved.