Package org.hibernate.mapping
Interface SoftDeletable
- All Known Implementing Classes:
Array
,Bag
,Collection
,IdentifierBag
,IdentifierCollection
,IndexedCollection
,List
,Map
,PrimitiveArray
,RootClass
,Set
public interface SoftDeletable
Part of the boot model which can be soft-deleted
-
Method Summary
Modifier and TypeMethodDescriptionvoid
enableSoftDelete
(Column indicatorColumn, SoftDeleteType strategy) Enable soft-delete for this part of the model.The column which indicates soft-deletion.The strategy for indicating soft-deletion.
-
Method Details
-
enableSoftDelete
Enable soft-delete for this part of the model.- Parameters:
indicatorColumn
- The column which indicates soft-deletionstrategy
- The strategy for indicating soft-deletion
-
getSoftDeleteColumn
Column getSoftDeleteColumn()The column which indicates soft-deletion. -
getSoftDeleteStrategy
SoftDeleteType getSoftDeleteStrategy()The strategy for indicating soft-deletion.
-