T - the type of the entity objectPK - the type of the primary key from the entity objectpublic interface DeleteStrategy<T extends BaseEntity<PK>,PK extends Serializable> extends Serializable
DeleteStrategy can interact if entities are deleted.| Modifier and Type | Method and Description |
|---|---|
void |
delete(List<T> entities)
Delete all persistent entities in the given list.
|
void |
delete(PK id)
Deletes an entity of a given Id.
|
void |
delete(T entity)
Deletes the given entity from persistent storage in the database.
|
void delete(List<T> entities)
entities - the list with the persistent entities to deletevoid delete(PK id)
id - the idvoid delete(T entity)
entity - the persistent entityCopyright © 2015–2018 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.