public static interface DbAction.WithDependingOn<T> extends DbAction.WithPropertyPath<T>, DbAction.WithEntity<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>
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getAdditionalValues()
Additional values to be set during insert or update statements.
|
DbAction.WithEntity<?> |
getDependingOn()
The
DbAction of a parent entity, possibly the aggregate root. |
default Class<T> |
getEntityType() |
getPropertyPath
getEntity
doExecuteWith, executeWith
DbAction.WithEntity<?> getDependingOn()
DbAction
of a parent entity, possibly the aggregate root. This is used to obtain values needed to
persist the entity, that are not part of the current entity, especially the id of the parent, which might only
become available once the parent entity got persisted.null
.getAdditionalValues()
Map<String,Object> getAdditionalValues()
Values come from parent entities but one might also add values manually.
null
.default Class<T> getEntityType()
getEntityType
in interface DbAction<T>
getEntityType
in interface DbAction.WithEntity<T>
getEntityType
in interface DbAction.WithPropertyPath<T>
Copyright © 2017–2019 Pivotal Software, Inc.. All rights reserved.