| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private SoftLock | |
| private Object | |
| private final Object[] | |
| private final Object |
| Access | Constructor and Description |
|---|---|
| public | EntityDeleteAction(final Object
The entity identifier id, final Object[] The current (extracted) entity state state, final Object The current entity version version, final Object The entity instance instance, final EntityPersister The entity persister persister, final boolean Whether cascade delete is enabled isCascadeDeleteEnabled, final EventSource The session session)Constructs an EntityDeleteAction. |
| public | EntityDeleteAction(final Object
The entity identifier id, final EntityPersister The entity persister persister, final EventSource The session session)Constructs an EntityDeleteAction for an unloaded proxy. |
| Modifier and Type | Method and Description |
|---|---|
| public void | doAfterTransactionCompletion(boolean
Did the transaction complete successfully? True means it did. success, SharedSessionContractImplementor The session on which the transaction is completing. session)Implements org. |
| public void | |
| protected Object | |
| protected SoftLock | |
| protected Object | |
| public Object[] | |
| public Object | |
| protected boolean | |
| public boolean | |
| private boolean | |
| protected Object | |
| pack-priv PostDeleteEvent | |
| protected void | |
| private static void | |
| protected void | |
| protected void | postDeleteLoaded(Object id, EntityPersister persister, SharedSessionContractImplementor session, Object instance, Object ck)
|
| protected void | postDeleteUnloaded(Object id, EntityPersister persister, SharedSessionContractImplementor session, Object ck)
|
| protected boolean | |
| protected void | |
| protected void | |
| protected void |
| isCascadeDeleteEnabled | back to summary |
|---|---|
| private final boolean isCascadeDeleteEnabled | |
| lock | back to summary |
|---|---|
| private SoftLock lock | |
| naturalIdValues | back to summary |
|---|---|
| private Object naturalIdValues | |
| state | back to summary |
|---|---|
| private final Object[] state | |
| version | back to summary |
|---|---|
| private final Object version | |
| EntityDeleteAction | back to summary |
|---|---|
| public EntityDeleteAction(final Object id, final Object[] state, final Object version, final Object instance, final EntityPersister persister, final boolean isCascadeDeleteEnabled, final EventSource session) Constructs an EntityDeleteAction.
| |
| EntityDeleteAction | back to summary |
|---|---|
| public EntityDeleteAction(final Object id, final EntityPersister persister, final EventSource session) Constructs an EntityDeleteAction for an unloaded proxy.
| |
| doAfterTransactionCompletion | back to summary |
|---|---|
| public void doAfterTransactionCompletion(boolean success, SharedSessionContractImplementor session) throws HibernateException Implements org. Doc from org. Perform whatever processing is encapsulated here after completion of the transaction.
| |
| execute | back to summary |
|---|---|
| public void execute() throws HibernateException Implements org. Doc from org. Execute this action.
| |
| getCurrentVersion | back to summary |
|---|---|
| protected Object getCurrentVersion() | |
| getLock | back to summary |
|---|---|
| protected SoftLock getLock() | |
| getNaturalIdValues | back to summary |
|---|---|
| protected Object getNaturalIdValues() | |
| getState | back to summary |
|---|---|
| public Object[] getState() | |
| getVersion | back to summary |
|---|---|
| public Object getVersion() | |
| hasPostCommitEventListeners | back to summary |
|---|---|
| protected boolean hasPostCommitEventListeners() Implements abstract org.
| |
| isCascadeDeleteEnabled | back to summary |
|---|---|
| public boolean isCascadeDeleteEnabled() | |
| isInstanceLoaded | back to summary |
|---|---|
| private boolean isInstanceLoaded() | |
| lockCacheItem | back to summary |
|---|---|
| protected Object lockCacheItem() | |
| newPostDeleteEvent | back to summary |
|---|---|
| pack-priv PostDeleteEvent newPostDeleteEvent() | |
| postCommitDelete | back to summary |
|---|---|
| protected void postCommitDelete(boolean success) | |
| postCommitDeleteOnUnsuccessful | back to summary |
|---|---|
| private static void postCommitDeleteOnUnsuccessful(PostDeleteEventListener listener, PostDeleteEvent event) | |
| postDelete | back to summary |
|---|---|
| protected void postDelete() | |
| postDeleteLoaded | back to summary |
|---|---|
| protected void postDeleteLoaded(Object id, EntityPersister persister, SharedSessionContractImplementor session, Object instance, Object ck) | |
| postDeleteUnloaded | back to summary |
|---|---|
| protected void postDeleteUnloaded(Object id, EntityPersister persister, SharedSessionContractImplementor session, Object ck) | |
| preDelete | back to summary |
|---|---|
| protected boolean preDelete() | |
| removeCacheItem | back to summary |
|---|---|
| protected void removeCacheItem(Object ck) | |
| setLock | back to summary |
|---|---|
| protected void setLock(SoftLock lock) | |
| unlockCacheItem | back to summary |
|---|---|
| protected void unlockCacheItem() | |