Class DenyDeletionSetTraverser
java.lang.Object
ch.tocco.nice2.persist.entity.api.cascadingdelete.AbstractDeletionSetTraverser
ch.tocco.nice2.persist.entity.api.cascadingdelete.DenyDeletionSetTraverser
- All Implemented Interfaces:
DeletionSetTraverser
This deletion set traverser checks if there is an item, which cannot be deleted.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isDeny()
void
leaveEntity
(EntityItem item) Removes the entity from the stack.Methods inherited from class ch.tocco.nice2.persist.entity.api.cascadingdelete.AbstractDeletionSetTraverser
enterEntity, getBaseEntity, setBaseEntity
-
Constructor Details
-
DenyDeletionSetTraverser
public DenyDeletionSetTraverser()
-
-
Method Details
-
leaveEntity
Description copied from interface:DeletionSetTraverser
Removes the entity from the stack.- Specified by:
leaveEntity
in interfaceDeletionSetTraverser
- Overrides:
leaveEntity
in classAbstractDeletionSetTraverser
-
isDeny
public boolean isDeny()
-