|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hibernate.action.internal.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 |
afterDeserialize(SessionImplementor session)
Reconnect to session after deserialization... |
|
void |
beforeExecutions()
Called before executing any actions. |
|
int |
compareTo(Object other)
|
|
protected EventSource |
eventSource()
|
|
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()
|
|
protected
|
listenerGroup(EventType<T> eventType)
|
|
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.spi.Executable |
---|
execute |
Constructor Detail |
---|
public CollectionAction(CollectionPersister persister, PersistentCollection collection, Serializable key, SessionImplementor session)
Method Detail |
---|
protected PersistentCollection getCollection()
public void afterDeserialize(SessionImplementor session)
session
- The session being deserializedpublic final void beforeExecutions() throws CacheException
Executable
beforeExecutions
in interface Executable
CacheException
public BeforeTransactionCompletionProcess getBeforeTransactionCompletionProcess()
Executable
getBeforeTransactionCompletionProcess
in interface Executable
public AfterTransactionCompletionProcess getAfterTransactionCompletionProcess()
Executable
getAfterTransactionCompletionProcess
in interface Executable
public Serializable[] getPropertySpaces()
Executable
getPropertySpaces
in interface Executable
protected final CollectionPersister getPersister()
protected final Serializable getKey()
protected final SessionImplementor getSession()
protected final void evict() throws CacheException
CacheException
public String toString()
toString
in class Object
public int compareTo(Object other)
compareTo
in interface Comparable
protected <T> EventListenerGroup<T> listenerGroup(EventType<T> eventType)
protected EventSource eventSource()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |