|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.action.CollectionAction
public abstract class CollectionAction
Any action relating to insert/update/delete of a collection
| Constructor Summary | |
|---|---|
CollectionAction(CollectionPersister persister,
PersistentCollection collection,
Serializable key,
SessionImplementor session)
|
|
| Method Summary | |
|---|---|
void |
afterTransactionCompletion(boolean success)
Called after the transaction completes |
void |
beforeExecutions()
Called before executing any actions |
int |
compareTo(Object other)
|
protected void |
evict()
|
protected PersistentCollection |
getCollection()
|
protected Serializable |
getKey()
|
protected CollectionPersister |
getPersister()
|
Serializable[] |
getPropertySpaces()
What spaces (tables) are affected by this action? |
protected SessionImplementor |
getSession()
|
boolean |
hasAfterTransactionCompletion()
Do we need to retain this instance until after the transaction completes? |
String |
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.Executable |
|---|
execute |
| Constructor Detail |
|---|
public CollectionAction(CollectionPersister persister,
PersistentCollection collection,
Serializable key,
SessionImplementor session)
throws CacheException
CacheException| Method Detail |
|---|
protected PersistentCollection getCollection()
public void afterTransactionCompletion(boolean success)
throws CacheException
Executable
afterTransactionCompletion in interface ExecutableCacheExceptionpublic boolean hasAfterTransactionCompletion()
Executable
hasAfterTransactionCompletion in interface Executablepublic Serializable[] getPropertySpaces()
Executable
getPropertySpaces in interface Executableprotected final CollectionPersister getPersister()
protected final Serializable getKey()
protected final SessionImplementor getSession()
public final void beforeExecutions()
throws CacheException
Executable
beforeExecutions in interface ExecutableCacheException
protected final void evict()
throws CacheException
CacheExceptionpublic String toString()
toString in class Objectpublic int compareTo(Object other)
compareTo in interface Comparable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||