|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hibernate.action.internal.EntityAction
public abstract class EntityAction
Base class for actions relating to insert/update/delete of an entity instance.
Constructor Summary | |
---|---|
protected |
EntityAction(SessionImplementor session,
Serializable id,
Object instance,
EntityPersister persister)
Instantiate an action. |
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()
|
|
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. |
|
DelayedPostInsertIdentifier |
getDelayedId()
|
|
String |
getEntityName()
entity name accessor |
|
Serializable |
getId()
entity id accessor |
|
Object |
getInstance()
entity instance accessor |
|
EntityPersister |
getPersister()
entity persister accessor |
|
Serializable[] |
getPropertySpaces()
What spaces (tables) are affected by this action? |
|
SessionImplementor |
getSession()
originating session accessor |
|
protected abstract boolean |
hasPostCommitEventListeners()
|
|
protected
|
listenerGroup(EventType<T> eventType)
|
|
boolean |
needsAfterTransactionCompletion()
|
|
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 |
Methods inherited from interface org.hibernate.action.spi.AfterTransactionCompletionProcess |
---|
doAfterTransactionCompletion |
Constructor Detail |
---|
protected EntityAction(SessionImplementor session, Serializable id, Object instance, EntityPersister persister)
session
- The session from which this action is coming.id
- The id of the entityinstance
- The entity instancepersister
- The entity persisterMethod Detail |
---|
public BeforeTransactionCompletionProcess getBeforeTransactionCompletionProcess()
Executable
getBeforeTransactionCompletionProcess
in interface Executable
public AfterTransactionCompletionProcess getAfterTransactionCompletionProcess()
Executable
getAfterTransactionCompletionProcess
in interface Executable
protected abstract boolean hasPostCommitEventListeners()
public boolean needsAfterTransactionCompletion()
public String getEntityName()
public final Serializable getId()
public final DelayedPostInsertIdentifier getDelayedId()
public final Object getInstance()
public final SessionImplementor getSession()
public final EntityPersister getPersister()
public final Serializable[] getPropertySpaces()
Executable
getPropertySpaces
in interface Executable
public void beforeExecutions()
Executable
beforeExecutions
in interface Executable
public String toString()
toString
in class Object
public int compareTo(Object other)
compareTo
in interface Comparable
public void afterDeserialize(SessionImplementor session)
session
- The session being deserializedprotected <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 |