Top Description Constructors Methods
org.hibernate.action.internal

public final Class CollectionRecreateAction

extends CollectionAction
Class Inheritance
Imports
org.hibernate.HibernateException, org.hibernate.collection.spi.PersistentCollection, org.hibernate.engine.spi.SharedSessionContractImplementor, org.hibernate.event.spi.EventSource, .PostCollectionRecreateEvent, .PostCollectionRecreateEventListener, .PreCollectionRecreateEvent, .PreCollectionRecreateEventListener, org.hibernate.persister.collection.CollectionPersister, org.hibernate.stat.spi.StatisticsImplementor

The action for recreating a collection

Constructor Summary

AccessConstructor and Description
public
CollectionRecreateAction(final PersistentCollection<?>
The collection being recreated
collection
,
final CollectionPersister
The collection persister
persister
,
final Object
The collection key
id
,
final EventSource
The session
session
)

Constructs a CollectionRecreateAction

Method Summary

Modifier and TypeMethod and Description
public void
execute()

Implements org.hibernate.action.spi.Executable.execute.

Execute this action.
private PostCollectionRecreateEvent
private PreCollectionRecreateEvent
private void
private void
Inherited from org.hibernate.action.internal.CollectionAction:
afterDeserializebeforeExecutionscompareToeventSourceevictgetAfterTransactionCompletionProcessgetBeforeTransactionCompletionProcessgetCollectiongetFastSessionServicesgetKeygetPersistergetPrimarySortClassifiergetPropertySpacesgetSecondarySortIndexgetSessiontoString

Constructor Detail

CollectionRecreateActionback to summary
public CollectionRecreateAction(final PersistentCollection<?> collection, final CollectionPersister persister, final Object id, final EventSource session)

Constructs a CollectionRecreateAction

Parameters
collection:PersistentCollection<?>

The collection being recreated

persister:CollectionPersister

The collection persister

id:Object

The collection key

session:EventSource

The session

Method Detail

executeback to summary
public void execute() throws HibernateException

Implements org.hibernate.action.spi.Executable.execute.

Doc from org.hibernate.action.spi.Executable.execute.

Execute this action.

Annotations
@Override
Exceptions
HibernateException:
Indicates a problem during execution.
newPostCollectionRecreateEventback to summary
private PostCollectionRecreateEvent newPostCollectionRecreateEvent()
newPreCollectionRecreateEventback to summary
private PreCollectionRecreateEvent newPreCollectionRecreateEvent()
postRecreateback to summary
private void postRecreate()
preRecreateback to summary
private void preRecreate()