private void updateOptimisticLocks(Long optimisticLockTime,OperationGroup createGroup,OperationGroup updateGroup){
  logStep("Updating optimistic locks");
  updateOptimisticLocks(optimisticLockTime,createGroup.getEntities());
  updateOptimisticLocks(optimisticLockTime,updateGroup.getEntities());
}

private void updateOptimisticLocks ( Long optimisticLockTime , OperationGroup createGroup , OperationGroup updateGroup ) { logStep ( "Updating optimistic locks" ) ; updateOptimisticLocks ( optimisticLockTime , createGroup . getEntities ( ) ) ; updateOptimisticLocks ( optimisticLockTime , updateGroup . getEntities ( ) ) ; }
sets the optimistic lock values on the entities .
