Interface DbAction.WithEntity<T>
- All Superinterfaces:
DbAction<T>
- All Known Subinterfaces:
DbAction.WithDependingOn<T>
,DbAction.WithGeneratedId<T>
- All Known Implementing Classes:
DbAction.Insert
,DbAction.InsertRoot
,DbAction.Merge
,DbAction.Update
,DbAction.UpdateRoot
A
DbAction
that stores the information of a single entity in the database.- Author:
- Jens Schauder
-
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>
-
Method Summary
-
Method Details
-
getEntity
T getEntity()- Returns:
- the entity to persist. Guaranteed to be not
null
.
-
getEntityType
- Specified by:
getEntityType
in interfaceDbAction<T>
-