Top Description Constructors Methods
org.hibernate.action.internal

public final Class CollectionRecreateAction

extends CollectionAction
Class Inheritance
Imports
java.io.Serializable, org.hibernate.HibernateException, org.hibernate.collection.spi.PersistentCollection, org.hibernate.engine.spi.SharedSessionContractImplementor, org.hibernate.event.spi.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 Serializable
The collection key
id
,
final SharedSessionContractImplementor
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:
afterDeserializebeforeExecutionscompareToeventSourceevictgetAfterTransactionCompletionProcessgetBeforeTransactionCompletionProcessgetCollectiongetFastSessionServicesgetKeygetPersistergetPropertySpacesgetSessionlistenerGrouptoString

Constructor Detail

CollectionRecreateActionback to summary
public CollectionRecreateAction(final PersistentCollection collection, final CollectionPersister persister, final Serializable id, final SharedSessionContractImplementor session)

Constructs a CollectionRecreateAction

Parameters
collection:PersistentCollection

The collection being recreated

persister:CollectionPersister

The collection persister

id:Serializable

The collection key

session:SharedSessionContractImplementor

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()