T - type of the entity for which this represents a database interaction.public static class DbAction.InsertRoot<T> extends Object implements DbAction.WithGeneratedId<T>
DbAction.AcquireLockAllRoot<T>, DbAction.AcquireLockRoot<T>, DbAction.Delete<T>, DbAction.DeleteAll<T>, DbAction.DeleteAllRoot<T>, DbAction.DeleteRoot<T>, DbAction.Insert<T>, DbAction.InsertBatch<T>, DbAction.InsertRoot<T>, DbAction.Update<T>, DbAction.UpdateRoot<T>, DbAction.WithDependingOn<T>, DbAction.WithEntity<T>, DbAction.WithGeneratedId<T>, DbAction.WithPropertyPath<T>| Constructor and Description |
|---|
InsertRoot(T entity,
IdValueSource idValueSource) |
| Modifier and Type | Method and Description |
|---|---|
T |
getEntity() |
IdValueSource |
getIdValueSource() |
String |
toString() |
void |
updateAction(T newAggregateRoot,
IdValueSource idValueSource)
Deprecated.
This method exists only to support a temporary workaround. It will be removed completely without
replacement.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetEntityTypepublic InsertRoot(T entity, IdValueSource idValueSource)
public T getEntity()
getEntity in interface DbAction.WithEntity<T>null.public IdValueSource getIdValueSource()
@Deprecated public void updateAction(T newAggregateRoot, IdValueSource idValueSource)
IdValueSource of this action.newAggregateRoot - must not be null.idValueSource - must not be null.Copyright © 2017–2022 Pivotal Software, Inc.. All rights reserved.