Interface ReactiveEntityInsertAction
-
- All Superinterfaces:
java.lang.Comparable<org.hibernate.engine.spi.ComparableExecutable>
,org.hibernate.engine.spi.ComparableExecutable
,org.hibernate.action.spi.Executable
,ReactiveExecutable
,java.io.Serializable
- All Known Implementing Classes:
ReactiveEntityIdentityInsertAction
,ReactiveEntityRegularInsertAction
public interface ReactiveEntityInsertAction extends ReactiveExecutable, org.hibernate.engine.spi.ComparableExecutable
Abstracts overReactiveEntityRegularInsertAction
andReactiveEntityIdentityInsertAction
. Needed inReactiveActionQueue
.- See Also:
AbstractEntityInsertAction
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description boolean
areTransientReferencesNullified()
org.hibernate.action.internal.AbstractEntityInsertAction
asAbstractEntityInsertAction()
default int
compareActionTo(ReactiveEntityInsertAction delegate)
org.hibernate.engine.internal.NonNullableTransientDependencies
findNonNullableTransientEntities()
org.hibernate.engine.spi.EntityKey
getEntityKey()
java.lang.String
getEntityName()
java.lang.Object
getInstance()
org.hibernate.persister.entity.EntityPersister
getPersister()
org.hibernate.engine.spi.SharedSessionContractImplementor
getSession()
java.lang.Object[]
getState()
boolean
isEarlyInsert()
boolean
isExecuted()
boolean
isVersionIncrementDisabled()
boolean
isVeto()
default java.util.concurrent.CompletionStage<org.hibernate.engine.internal.NonNullableTransientDependencies>
reactiveFindNonNullableTransientEntities()
default java.util.concurrent.CompletionStage<java.lang.Void>
reactiveMakeEntityManaged()
Make the entity "managed" by the persistence context.default java.util.concurrent.CompletionStage<java.lang.Void>
reactiveNullifyTransientReferencesIfNotAlready()
Nullifies any references to transient entities in the entity state maintained by this action.void
setTransientReferencesNullified()
-
Methods inherited from interface org.hibernate.engine.spi.ComparableExecutable
getPrimarySortClassifier, getSecondarySortIndex
-
Methods inherited from interface org.hibernate.action.spi.Executable
afterDeserialize, beforeExecutions, execute, getAfterTransactionCompletionProcess, getBeforeTransactionCompletionProcess, getPropertySpaces
-
Methods inherited from interface org.hibernate.reactive.engine.ReactiveExecutable
reactiveExecute
-
-
-
-
Method Detail
-
isEarlyInsert
boolean isEarlyInsert()
-
findNonNullableTransientEntities
org.hibernate.engine.internal.NonNullableTransientDependencies findNonNullableTransientEntities()
-
getSession
org.hibernate.engine.spi.SharedSessionContractImplementor getSession()
-
isVeto
boolean isVeto()
-
getInstance
java.lang.Object getInstance()
-
getEntityName
java.lang.String getEntityName()
-
getState
java.lang.Object[] getState()
-
getPersister
org.hibernate.persister.entity.EntityPersister getPersister()
-
isExecuted
boolean isExecuted()
-
isVersionIncrementDisabled
boolean isVersionIncrementDisabled()
-
areTransientReferencesNullified
boolean areTransientReferencesNullified()
-
setTransientReferencesNullified
void setTransientReferencesNullified()
-
getEntityKey
org.hibernate.engine.spi.EntityKey getEntityKey()
-
reactiveNullifyTransientReferencesIfNotAlready
default java.util.concurrent.CompletionStage<java.lang.Void> reactiveNullifyTransientReferencesIfNotAlready()
Nullifies any references to transient entities in the entity state maintained by this action. References to transient entities should be nullified when an entity is made "managed" or when this action is executed, whichever is first. References will only be nullified the first time this method is called for a this object, so it can safely be called both when the entity is made "managed" and when this action is executed.- See Also:
reactiveMakeEntityManaged()
-
reactiveMakeEntityManaged
default java.util.concurrent.CompletionStage<java.lang.Void> reactiveMakeEntityManaged()
Make the entity "managed" by the persistence context.- See Also:
AbstractEntityInsertAction.makeEntityManaged()
-
reactiveFindNonNullableTransientEntities
default java.util.concurrent.CompletionStage<org.hibernate.engine.internal.NonNullableTransientDependencies> reactiveFindNonNullableTransientEntities()
-
asAbstractEntityInsertAction
org.hibernate.action.internal.AbstractEntityInsertAction asAbstractEntityInsertAction()
-
compareActionTo
default int compareActionTo(ReactiveEntityInsertAction delegate)
-
-