com.hcl.voltmx.sync.services.interceptor
Interface ISyncConflictContext

All Superinterfaces:
ISyncOperationContext

public interface ISyncConflictContext
extends ISyncOperationContext

Interface for the Conflict context. This conflict context will be created by the sync services and will be passed to the methods while invoking the interceptor implementations.


Method Summary
 IEntity getClientChange()
          Returns the client change as a Entity
 Enums.ConflictResolutionPolicy getConflictPolicy()
          Returns the current conflict policy defined for the scope
 Enums.ConflictType getConflictType()
          Returns the conflict type
 IEntity getServerChange()
          Returns the server change as a Entity
 void setConflictPolicy(Enums.ConflictResolutionPolicy policy)
          Method is used to set the conflict policy
 
Methods inherited from interface com.hcl.voltmx.sync.services.interceptor.ISyncOperationContext
getSyncScope, getValue, setValue
 

Method Detail

getClientChange

IEntity getClientChange()
Returns the client change as a Entity

Returns:
Entity object received from the client

getServerChange

IEntity getServerChange()
Returns the server change as a Entity

Returns:
Entity object received from the server

setConflictPolicy

void setConflictPolicy(Enums.ConflictResolutionPolicy policy)
Method is used to set the conflict policy

Parameters:
policy -

getConflictPolicy

Enums.ConflictResolutionPolicy getConflictPolicy()
Returns the current conflict policy defined for the scope

Returns:

getConflictType

Enums.ConflictType getConflictType()
Returns the conflict type

Returns: