An operation that is pending execution.
- The native entity type (examples could be Row, Document etc.)
- The native keyType Params | Return Type | Name and description |
---|---|---|
|
void |
addCascadeOperation(PendingOperation<E, K> pendingOperation) Adds an operation that should be executed after this operation |
|
void |
addPreOperation(PendingOperation<E, K> preOperation) Adds an operation to executed prior to other operations |
|
java.util.List<PendingOperation<E, K>> |
getCascadeOperations() Operations to be executed directly following this operation |
|
PersistentEntity |
getEntity() @return The PersistentEntity being inserted |
|
E |
getNativeEntry() @return The native entry to persist |
|
K |
getNativeKey() @return The native key to insert |
|
java.lang.Object |
getObject() @return The target object of the pending operation |
|
java.util.List<PendingOperation<E, K>> |
getPreOperations() Operations to be executed directly prior to this operation |
|
boolean |
isVetoed() @return Whether the operation has been vetoed |
|
boolean |
wasExecuted() @return Whether it was already executed |
Methods inherited from class | Name |
---|---|
interface java.lang.Runnable |
java.lang.Runnable#run() |
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Adds an operation that should be executed after this operation
pendingOperation
- The pending operationAdds an operation to executed prior to other operations
preOperation
- The prior operationOperations to be executed directly following this operation
Operations to be executed directly prior to this operation