| Modifier and Type | Field and Description |
|---|---|
| private Object | |
| private final int[] | |
| private final boolean | |
| private SoftLock | |
| private Object | |
| private final Object[] | |
| private final Object[] | |
| private final Object | |
| private final Object | |
| private final Object[] |
| Access | Constructor and Description |
|---|---|
| public | EntityUpdateAction(final Serializable
The entity identifier id, final Object[] The current (extracted) entity state state, final int[] The indexes (in reference to state) properties with dirty state dirtyProperties, final boolean Were any collections dirty? hasDirtyCollection, final Object[] The previous (stored) state previousState, final Object The previous (stored) version previousVersion, final Object The incremented version nextVersion, final Object The entity instance instance, final Object The entity's row id rowId, final EntityPersister The entity's persister persister, final SharedSessionContractImplementor The session session)Constructs an EntityUpdateAction |
| Modifier and Type | Method and Description |
|---|---|
| protected boolean | |
| protected boolean | |
| private Object[] | determinePreviousNaturalIdValues(EntityPersister persister, Object[] previousState, SharedSessionContractImplementor session, Serializable id)
|
| 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 | |
| public int[] | |
| protected SoftLock | |
| public Object | |
| public Object[] | |
| public Object[] | |
| public Object | |
| public Object | |
| public Object[] | |
| public boolean | |
| protected boolean | |
| private PostUpdateEvent | |
| private void | |
| protected void | |
| protected void | |
| protected boolean | |
| protected void | |
| protected void | |
| public void |
| cacheEntry | back to summary |
|---|---|
| private Object cacheEntry | |
| dirtyFields | back to summary |
|---|---|
| private final int[] dirtyFields | |
| hasDirtyCollection | back to summary |
|---|---|
| private final boolean hasDirtyCollection | |
| lock | back to summary |
|---|---|
| private SoftLock lock | |
| nextVersion | back to summary |
|---|---|
| private Object nextVersion | |
| previousNaturalIdValues | back to summary |
|---|---|
| private final Object[] previousNaturalIdValues | |
| previousState | back to summary |
|---|---|
| private final Object[] previousState | |
| previousVersion | back to summary |
|---|---|
| private final Object previousVersion | |
| rowId | back to summary |
|---|---|
| private final Object rowId | |
| state | back to summary |
|---|---|
| private final Object[] state | |
| EntityUpdateAction | back to summary |
|---|---|
| public EntityUpdateAction(final Serializable id, final Object[] state, final int[] dirtyProperties, final boolean hasDirtyCollection, final Object[] previousState, final Object previousVersion, final Object nextVersion, final Object instance, final Object rowId, final EntityPersister persister, final SharedSessionContractImplementor session) Constructs an EntityUpdateAction
| |
| cacheAfterUpdate | back to summary |
|---|---|
| protected boolean cacheAfterUpdate(EntityDataAccess cache, Object ck) | |
| cacheUpdate | back to summary |
|---|---|
| protected boolean cacheUpdate(EntityPersister persister, Object previousVersion, Object ck) | |
| determinePreviousNaturalIdValues | back to summary |
|---|---|
| private Object[] determinePreviousNaturalIdValues(EntityPersister persister, Object[] previousState, SharedSessionContractImplementor session, Serializable id) | |
| doAfterTransactionCompletion | back to summary |
|---|---|
| public void doAfterTransactionCompletion(boolean success, SharedSessionContractImplementor session) throws CacheException 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.
| |
| getCacheEntry | back to summary |
|---|---|
| protected Object getCacheEntry() | |
| getDirtyFields | back to summary |
|---|---|
| public int[] getDirtyFields() | |
| getLock | back to summary |
|---|---|
| protected SoftLock getLock() | |
| getNextVersion | back to summary |
|---|---|
| public Object getNextVersion() | |
| getPreviousNaturalIdValues | back to summary |
|---|---|
| public Object[] getPreviousNaturalIdValues() | |
| getPreviousState | back to summary |
|---|---|
| public Object[] getPreviousState() | |
| getPreviousVersion | back to summary |
|---|---|
| public Object getPreviousVersion() | |
| getRowId | back to summary |
|---|---|
| public Object getRowId() | |
| getState | back to summary |
|---|---|
| public Object[] getState() | |
| hasDirtyCollection | back to summary |
|---|---|
| public boolean hasDirtyCollection() | |
| hasPostCommitEventListeners | back to summary |
|---|---|
| protected boolean hasPostCommitEventListeners() Implements abstract org.
| |
| newPostUpdateEvent | back to summary |
|---|---|
| private PostUpdateEvent newPostUpdateEvent() | |
| onPostCommitFailure | back to summary |
|---|---|
| private void onPostCommitFailure(PostUpdateEventListener listener, PostUpdateEvent event) | |
| postCommitUpdate | back to summary |
|---|---|
| protected void postCommitUpdate(boolean success) | |
| postUpdate | back to summary |
|---|---|
| protected void postUpdate() | |
| preUpdate | back to summary |
|---|---|
| protected boolean preUpdate() | |
| setCacheEntry | back to summary |
|---|---|
| protected void setCacheEntry(Object cacheEntry) | |
| setLock | back to summary |
|---|---|
| protected void setLock(SoftLock lock) | |
| setNextVersion | back to summary |
|---|---|
| public void setNextVersion(Object nextVersion) | |