T
- The type of entity you wish to validate and update.public static interface OptimisticLockUtils.ValidatedUpdateOperation<T> extends OptimisticLockUtils.UpdateOperation<T>
Modifier and Type | Method and Description |
---|---|
boolean |
isValid(T t)
Check whether or not the
OptimisticLockUtils.UpdateOperation.update(Object) operation is still valid given the current state of the
entity. |
update
boolean isValid(T t)
OptimisticLockUtils.UpdateOperation.update(Object)
operation is still valid given the current state of the
entity.t
- The entity as represented in the database during the current transaction.OptimisticLockUtils.UpdateOperation.update(Object)
operation, false
otherwise.Copyright © 2022. All rights reserved.