org.granite.client.tide.data
Class Conflicts
java.lang.Object
org.granite.client.tide.data.Conflicts
public class Conflicts
- extends Object
Holds conflict data when locally changed data is in conflict with data coming from the server
- Author:
- William DRAI
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Conflicts
public Conflicts(EntityManager entityManager)
addConflict
public void addConflict(Identifiable localEntity,
Identifiable receivedEntity,
List<String> properties)
getConflicts
public List<Conflict> getConflicts()
isEmpty
public boolean isEmpty()
isAllResolved
public boolean isAllResolved()
acceptClient
public void acceptClient(Conflict conflict)
acceptAllClient
public void acceptAllClient()
acceptServer
public void acceptServer(Conflict conflict)
acceptAllServer
public void acceptAllServer()