Interface DbAction.WithEntity<T>
- All Superinterfaces:
DbAction<T>
- All Known Subinterfaces:
DbAction.WithDependingOn<T>
,DbAction.WithRoot<T>
- All Known Implementing Classes:
DbAction.Insert
,DbAction.InsertRoot
,DbAction.UpdateRoot
A
DbAction
that stores the information of a single entity in the database.- Author:
- Jens Schauder, Chirag Tailor
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.data.relational.core.conversion.DbAction
DbAction.AcquireLockAllRoot<T>, DbAction.AcquireLockRoot<T>, DbAction.BatchDelete<T>, DbAction.BatchDeleteRoot<T>, DbAction.BatchInsert<T>, DbAction.BatchInsertRoot<T>, DbAction.BatchWithValue<T,
A extends DbAction<T>, B>, DbAction.Delete<T>, DbAction.DeleteAll<T>, DbAction.DeleteAllRoot<T>, DbAction.DeleteRoot<T>, DbAction.Insert<T>, DbAction.InsertRoot<T>, DbAction.UpdateRoot<T>, DbAction.WithDependingOn<T>, DbAction.WithEntity<T>, DbAction.WithPropertyPath<T>, DbAction.WithRoot<T> -
Method Summary
Modifier and TypeMethodDescription
-
Method Details
-
getEntity
T getEntity()- Returns:
- the entity to persist. Guaranteed to be not
null
.
-
getEntityType
- Specified by:
getEntityType
in interfaceDbAction<T>
-
getIdValueSource
IdValueSource getIdValueSource()- Returns:
- the
IdValueSource
for the entity to persist. Guaranteed to be notnull
.
-