|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hibernate.action.EntityAction
public abstract class EntityAction
Base class for actions relating to insert/update/delete of an entity instance.
Constructor Summary | |
---|---|
protected |
EntityAction(SessionImplementor session,
java.io.Serializable id,
java.lang.Object instance,
EntityPersister persister)
Instantiate an action. |
Method Summary | |
---|---|
void |
beforeExecutions()
Called before executing any actions |
int |
compareTo(java.lang.Object other)
|
java.lang.String |
getEntityName()
entity name accessor |
java.io.Serializable |
getId()
entity id accessor |
java.lang.Object |
getInstance()
entity instance accessor |
EntityPersister |
getPersister()
entity persister accessor |
java.io.Serializable[] |
getPropertySpaces()
What spaces (tables) are affected by this action? |
SessionImplementor |
getSession()
originating session accessor |
boolean |
hasAfterTransactionCompletion()
Do we need to retain this instance until after the transaction completes? |
protected abstract boolean |
hasPostCommitEventListeners()
|
java.lang.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 |
---|
afterTransactionCompletion, execute |
Constructor Detail |
---|
protected EntityAction(SessionImplementor session, java.io.Serializable id, java.lang.Object instance, EntityPersister persister)
session
- The session from which this action is coming.id
- The id of the entityinstance
- The entiyt instancepersister
- The entity persisterMethod Detail |
---|
protected abstract boolean hasPostCommitEventListeners()
public java.lang.String getEntityName()
public final java.io.Serializable getId()
public final java.lang.Object getInstance()
public final SessionImplementor getSession()
public final EntityPersister getPersister()
public final java.io.Serializable[] getPropertySpaces()
Executable
getPropertySpaces
in interface Executable
public void beforeExecutions()
Executable
beforeExecutions
in interface Executable
public boolean hasAfterTransactionCompletion()
Executable
hasAfterTransactionCompletion
in interface Executable
public java.lang.String toString()
toString
in class java.lang.Object
public int compareTo(java.lang.Object other)
compareTo
in interface java.lang.Comparable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |