Class DbAction.Delete<T>
java.lang.Object
org.springframework.data.relational.core.conversion.DbAction.Delete<T>
- Type Parameters:
T
- type of the entity for which this represents a database interaction.
- All Implemented Interfaces:
DbAction<T>
,DbAction.WithPropertyPath<T>
Represents a delete statement for all entities that that a reachable via a give path from the aggregate root.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.data.relational.core.conversion.DbAction
DbAction.AcquireLockAllRoot<T>, DbAction.AcquireLockRoot<T>, DbAction.Delete<T>, DbAction.DeleteAll<T>, DbAction.DeleteAllRoot<T>, DbAction.DeleteRoot<T>, DbAction.Insert<T>, DbAction.InsertRoot<T>, DbAction.Merge<T>, DbAction.Update<T>, DbAction.UpdateRoot<T>, DbAction.WithDependingOn<T>, DbAction.WithEntity<T>, DbAction.WithGeneratedId<T>, DbAction.WithPropertyPath<T>
-
Constructor Summary
ConstructorsConstructorDescriptionDelete
(Object rootId, PersistentPropertyPath<RelationalPersistentProperty> propertyPath) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.springframework.data.relational.core.conversion.DbAction.WithPropertyPath
getEntityType
-
Constructor Details
-
Delete
-
-
Method Details
-
getRootId
-
getPropertyPath
- Specified by:
getPropertyPath
in interfaceDbAction.WithPropertyPath<T>
- Returns:
- the path from the aggregate root to the affected entity
-
toString
-