public abstract class

CollectionAction

extends Object
implements Serializable Comparable<T> Executable
java.lang.Object
   ↳ org.hibernate.action.CollectionAction
Known Direct Subclasses

Class Overview

Any action relating to insert/update/delete of a collection

Summary

Public Constructors
CollectionAction(CollectionPersister persister, PersistentCollection collection, Serializable key, SessionImplementor session)
Public Methods
final void beforeExecutions()
Called before executing any actions.
int compareTo(Object other)
AfterTransactionCompletionProcess getAfterTransactionCompletionProcess()
Get the after-transaction-completion process, if any, for this action.
BeforeTransactionCompletionProcess getBeforeTransactionCompletionProcess()
Get the before-transaction-completion process, if any, for this action.
Serializable[] getPropertySpaces()
What spaces (tables) are affected by this action?
String toString()
Protected Methods
final void evict()
PersistentCollection getCollection()
final Serializable getKey()
final CollectionPersister getPersister()
final SessionImplementor getSession()
[Expand]
Inherited Methods
From class java.lang.Object
From interface java.lang.Comparable
From interface org.hibernate.action.Executable

Public Constructors

public CollectionAction (CollectionPersister persister, PersistentCollection collection, Serializable key, SessionImplementor session)

Public Methods

public final void beforeExecutions ()

Called before executing any actions. Gives actions a chance to perform any preparation.

public int compareTo (Object other)

public AfterTransactionCompletionProcess getAfterTransactionCompletionProcess ()

Get the after-transaction-completion process, if any, for this action.

Returns
  • The after-transaction-completion process, or null if we have no after-transaction-completion process

public BeforeTransactionCompletionProcess getBeforeTransactionCompletionProcess ()

Get the before-transaction-completion process, if any, for this action.

Returns
  • The before-transaction-completion process, or null if we have no before-transaction-completion process

public Serializable[] getPropertySpaces ()

What spaces (tables) are affected by this action?

Returns
  • The spaces affected by this action.

public String toString ()

Protected Methods

protected final void evict ()

protected PersistentCollection getCollection ()

protected final Serializable getKey ()

protected final CollectionPersister getPersister ()

protected final SessionImplementor getSession ()