Package | Description |
---|---|
com.konylabs.middleware.customconflict |
Modifier and Type | Method and Description |
---|---|
ConflictResolutionResult |
CustomConflictResolver.resolveClientCreateServerExists(com.google.gson.JsonObject clientData,
com.google.gson.JsonObject serverData,
ConflictContext conflictContext)
This method is used to represent the create conflict, i.e when client
creates and the record with same primary key exists on server.
|
ConflictResolutionResult |
CustomConflictResolver.resolveClientDeleteServerUpdate(com.google.gson.JsonObject clientData,
com.google.gson.JsonObject serverData,
ConflictContext conflictContext)
This method is used to represent the delete conflict, i.e when client
deletes and record with same primary key on server is updated.
|
ConflictResolutionResult |
CustomConflictResolver.resolveClientUpdateServerDelete(com.google.gson.JsonObject clientData,
com.google.gson.JsonObject serverData,
ConflictContext conflictContext)
This method is used to represent the update conflict with delete, i.e when
client update and record with same primary key on server is either soft
deleted or hard deleted.
|
ConflictResolutionResult |
CustomConflictResolver.resolveClientUpdateServerUpdate(com.google.gson.JsonObject clientData,
com.google.gson.JsonObject serverData,
ConflictContext conflictContext)
This method is used to represent the update conflict, i.e when client
update and record with same primary key on server is updated post download.
|
Copyright © 2019. All rights reserved.