public interface Removable
HibernateException,
ConstraintViolationException,
Entitable,
LogicDeletable| Modifier and Type | Method and Description |
|---|---|
boolean |
remove(Entitable entity)
Remove an entity permanently
|
boolean |
remove(LogicDeletable entity,
boolean logical)
Remove a entity setting the deleted attribute with true.
|
boolean remove(Entitable entity) throws org.hibernate.exception.ConstraintViolationException, org.hibernate.HibernateException, Exception
entity - the entity that will be removedorg.hibernate.exception.ConstraintViolationExceptionorg.hibernate.HibernateExceptionExceptionboolean remove(LogicDeletable entity, boolean logical) throws org.hibernate.exception.ConstraintViolationException, org.hibernate.HibernateException, Exception
entity - the entity that will be removedlogical - sets true if this remove action is of the logical wayorg.hibernate.exception.ConstraintViolationExceptionorg.hibernate.HibernateExceptionExceptionCopyright © 2016. All rights reserved.