public class RecordChangeProxyMerger extends Object
Constructor and Description |
---|
RecordChangeProxyMerger() |
Modifier and Type | Method and Description |
---|---|
Set<RecordValue> |
getOptimisticLockConflicts(RuntimeToPersistentConverter converter,
Collection<RecordHolder> records) |
List<RecordHolder> |
mergeChanges(RuntimeToPersistentConverter converter,
Namespace namespace,
boolean checkConflicts,
Collection<RecordHolder> records)
It merges all changes from proxies to the proxied records.
|
RecordHolder |
mergeChanges(RuntimeToPersistentConverter converter,
Namespace namespace,
boolean checkConflicts,
RecordHolder record)
It merges all changes from proxy to the proxied record.
|
List<RecordHolder> |
mergeChanges(RuntimeToPersistentConverter converter,
Namespace namespace,
boolean checkConflicts,
RecordProxySetHolder proxySet)
It merges all proxies from proxy set.
|
public RecordHolder mergeChanges(RuntimeToPersistentConverter converter, Namespace namespace, boolean checkConflicts, RecordHolder record) throws OptimisticLockException
LspsRuntimeException
.
It returns proxied record of the record with applied changes.converter
- namespace
- record
- checkConflicts
- OptimisticLockException
public List<RecordHolder> mergeChanges(RuntimeToPersistentConverter converter, Namespace namespace, boolean checkConflicts, RecordProxySetHolder proxySet) throws OptimisticLockException
converter
- namespace
- checkConflicts
- proxySet
- OptimisticLockException
public List<RecordHolder> mergeChanges(RuntimeToPersistentConverter converter, Namespace namespace, boolean checkConflicts, Collection<RecordHolder> records) throws OptimisticLockException
converter
- namespace
- checkConflicts
- records
- OptimisticLockException
public Set<RecordValue> getOptimisticLockConflicts(RuntimeToPersistentConverter converter, Collection<RecordHolder> records)
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.