Class ReactiveCollectionRemoveAction

java.lang.Object
org.hibernate.action.internal.CollectionAction
org.hibernate.reactive.engine.impl.ReactiveCollectionRemoveAction
All Implemented Interfaces:
Serializable, Comparable<org.hibernate.engine.spi.ComparableExecutable>, org.hibernate.action.spi.Executable, org.hibernate.engine.spi.ComparableExecutable, ReactiveExecutable

public class ReactiveCollectionRemoveAction extends org.hibernate.action.internal.CollectionAction implements ReactiveExecutable
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    ReactiveCollectionRemoveAction(org.hibernate.collection.spi.PersistentCollection collection, org.hibernate.persister.collection.CollectionPersister persister, Object key, boolean emptySnapshot, org.hibernate.event.spi.EventSource session)
     
    ReactiveCollectionRemoveAction(org.hibernate.persister.collection.CollectionPersister persister, Object id, org.hibernate.event.spi.EventSource session)
    Removes a persistent collection for an unloaded proxy.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
     

    Methods inherited from class org.hibernate.action.internal.CollectionAction

    afterDeserialize, beforeExecutions, compareTo, eventSource, evict, getAfterTransactionCompletionProcess, getBeforeTransactionCompletionProcess, getCollection, getEventListenerGroups, getKey, getPersister, getPrimarySortClassifier, getPropertySpaces, getSecondarySortIndex, getSession, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.hibernate.action.spi.Executable

    afterDeserialize, beforeExecutions, getAfterTransactionCompletionProcess, getBeforeTransactionCompletionProcess, getPropertySpaces
  • Constructor Details

    • ReactiveCollectionRemoveAction

      public ReactiveCollectionRemoveAction(org.hibernate.collection.spi.PersistentCollection collection, org.hibernate.persister.collection.CollectionPersister persister, Object key, boolean emptySnapshot, org.hibernate.event.spi.EventSource session)
    • ReactiveCollectionRemoveAction

      public ReactiveCollectionRemoveAction(org.hibernate.persister.collection.CollectionPersister persister, Object id, org.hibernate.event.spi.EventSource session)
      Removes a persistent collection for an unloaded proxy. Use this constructor when the owning entity is has not been loaded.
      Parameters:
      persister - The collection's persister
      id - The collection key
      session - The session
  • Method Details

    • reactiveExecute

      public CompletionStage<Void> reactiveExecute()
      Specified by:
      reactiveExecute in interface ReactiveExecutable
    • execute

      public void execute() throws org.hibernate.HibernateException
      Specified by:
      execute in interface org.hibernate.action.spi.Executable
      Throws:
      org.hibernate.HibernateException