/** * Checks is the given object already synchronized with the persistence session. * @param intactObject object to be synced. * @return a response that contains the answer. */ protected final SyncTransientResponse<T> syncIfTransientResponse(T intactObject) { T refreshedObject = syncIfTransient(intactObject); if (refreshedObject.getAc() != null) { return new SyncTransientResponse<T>(true, refreshedObject); } return new SyncTransientResponse<T>(false, syncAttributes(intactObject)); }