public abstract class CollectionAction extends Object implements Executable, Serializable, Comparable
| Constructor and Description |
|---|
CollectionAction(CollectionPersister persister,
PersistentCollection collection,
Serializable key,
SessionImplementor session) |
| Modifier and Type | Method and Description |
|---|---|
void |
beforeExecutions()
Called before executing any actions.
|
int |
compareTo(Object other) |
protected void |
evict() |
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.
|
protected PersistentCollection |
getCollection() |
protected Serializable |
getKey() |
protected CollectionPersister |
getPersister() |
Serializable[] |
getPropertySpaces()
What spaces (tables) are affected by this action?
|
protected SessionImplementor |
getSession() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitexecutepublic CollectionAction(CollectionPersister persister, PersistentCollection collection, Serializable key, SessionImplementor session) throws CacheException
CacheExceptionprotected PersistentCollection getCollection()
public final void beforeExecutions()
throws CacheException
ExecutablebeforeExecutions in interface ExecutableCacheExceptionpublic BeforeTransactionCompletionProcess getBeforeTransactionCompletionProcess()
ExecutablegetBeforeTransactionCompletionProcess in interface Executablepublic AfterTransactionCompletionProcess getAfterTransactionCompletionProcess()
ExecutablegetAfterTransactionCompletionProcess in interface Executablepublic Serializable[] getPropertySpaces()
ExecutablegetPropertySpaces in interface Executableprotected final CollectionPersister getPersister()
protected final Serializable getKey()
protected final SessionImplementor getSession()
protected final void evict()
throws CacheException
CacheExceptionpublic int compareTo(Object other)
compareTo in interface ComparableCopyright © 2002-2017 Red Hat Middleware, LLC. All Rights Reserved