| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private AfterTransactionCompletionProcess | |
| private final PersistentCollection | |
| private final String | |
| private final Object | |
| private transient CollectionPersister | |
| private transient EventSource |
| Access | Constructor and Description |
|---|---|
| protected | CollectionAction(final CollectionPersister persister, final PersistentCollection<?> collection, final Object key, final EventSource session)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | afterDeserialize(EventSource
The session being deserialized session)Implements org. |
| public final void | beforeExecutions()
Implements org. |
| public int | compareTo(ComparableExecutable
the object to be compared. o)Implements java. |
| protected EventSource | |
| protected final void | |
| public AfterTransactionCompletionProcess | getAfterTransactionCompletionProcess()
Implements org. |
| public BeforeTransactionCompletionProcess | getBeforeTransactionCompletionProcess()
Implements org. |
| protected PersistentCollection | |
| protected FastSessionServices | Returns: theFastSessionServices instance from the SessionFactory.Convenience method for all subclasses. |
| protected final Object | |
| protected final CollectionPersister | |
| public String | getPrimarySortClassifier()
Implements org. |
| public String[] | getPropertySpaces()
Implements org. |
| public Object | getSecondarySortIndex()
Implements org. |
| protected final EventSource | |
| public String |
| afterTransactionProcess | back to summary |
|---|---|
| private AfterTransactionCompletionProcess afterTransactionProcess | |
| collection | back to summary |
|---|---|
| private final PersistentCollection<?> collection | |
| collectionRole | back to summary |
|---|---|
| private final String collectionRole | |
| key | back to summary |
|---|---|
| private final Object key | |
| persister | back to summary |
|---|---|
| private transient CollectionPersister persister | |
| session | back to summary |
|---|---|
| private transient EventSource session | |
| CollectionAction | back to summary |
|---|---|
| protected CollectionAction(final CollectionPersister persister, final PersistentCollection<?> collection, final Object key, final EventSource session) | |
| afterDeserialize | back to summary |
|---|---|
| public void afterDeserialize(EventSource session) Implements org. Reconnect to session after deserialization...
| |
| beforeExecutions | back to summary |
|---|---|
| public final void beforeExecutions() throws CacheException Implements org. Doc from org. Called before executing any actions. Gives actions a chance to perform any preparation.
| |
| compareTo | back to summary |
|---|---|
| public int compareTo(ComparableExecutable o) Implements java. Doc from java. Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. The implementor must ensure The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that
| |
| eventSource | back to summary |
|---|---|
| protected EventSource eventSource() | |
| evict | back to summary |
|---|---|
| protected final void evict() throws CacheException | |
| getAfterTransactionCompletionProcess | back to summary |
|---|---|
| public AfterTransactionCompletionProcess getAfterTransactionCompletionProcess() Implements org. Doc from org. Get the after-transaction-completion process, if any, for this action.
| |
| getBeforeTransactionCompletionProcess | back to summary |
|---|---|
| public BeforeTransactionCompletionProcess getBeforeTransactionCompletionProcess() Implements org. Doc from org. Get the before-transaction-completion process, if any, for this action.
| |
| getCollection | back to summary |
|---|---|
| protected PersistentCollection | |
| getFastSessionServices | back to summary |
|---|---|
| protected FastSessionServices getFastSessionServices() Convenience method for all subclasses.
| |
| getKey | back to summary |
|---|---|
| protected final Object getKey() | |
| getPersister | back to summary |
|---|---|
| protected final CollectionPersister getPersister() | |
| getPrimarySortClassifier | back to summary |
|---|---|
| public String getPrimarySortClassifier() Implements org. Doc from org. This affect sorting order of the executables, when sorting is enabled. | |
| getPropertySpaces | back to summary |
|---|---|
| public String[] getPropertySpaces() Implements org. Doc from org. What spaces (tables) are affected by this action? | |
| getSecondarySortIndex | back to summary |
|---|---|
| public Object getSecondarySortIndex() Implements org. Doc from org. This affect sorting order of the executables, when sorting is enabled. | |
| getSession | back to summary |
|---|---|
| protected final EventSource getSession() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| Modifier and Type | Field and Description |
|---|---|
| private final Object | |
| private final SoftLock | |
| private final CollectionPersister |
| Access | Constructor and Description |
|---|---|
| private |
| 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. |
| key | back to summary |
|---|---|
| private final Object key | |
| lock | back to summary |
|---|---|
| private final SoftLock lock | |
| persister | back to summary |
|---|---|
| private final CollectionPersister persister | |
| CacheCleanupProcess | back to summary |
|---|---|
| private CacheCleanupProcess(Object key, CollectionPersister persister, SoftLock lock) | |
| doAfterTransactionCompletion | back to summary |
|---|---|
| public void doAfterTransactionCompletion(boolean success, SharedSessionContractImplementor session) Implements org. Doc from org. Perform whatever processing is encapsulated here after completion of the transaction.
| |