org.granite.tide.data
Class ChangeSetApplier
java.lang.Object
org.granite.tide.data.ChangeSetApplier
public class ChangeSetApplier
- extends Object
Utility class that applies a ChangeSet on a persistence context
- Author:
- William DRAI
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChangeSetApplier
public ChangeSetApplier(TidePersistenceAdapter persistenceAdapter)
getVersion
protected long getVersion(Entity e)
mergeObject
protected Object mergeObject(Object entity,
Set<Object> cache)
applyChanges
public Object[] applyChanges(ChangeSet changeSet)