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

All Superinterfaces:
ISyncClientContext, ISyncOperationContext

public interface ISyncResponseContext
extends ISyncClientContext

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


Method Summary
 java.util.List<IEntity> getOutgoingChanges()
          Returns the list of entities which will be sent to the client
 void setResponseString(java.lang.String response)
          Set the response which is about to send to client.
 
Methods inherited from interface com.hcl.voltmx.sync.services.interceptor.ISyncClientContext
getHttpContext, getRequestString, getResponseString
 
Methods inherited from interface com.hcl.voltmx.sync.services.interceptor.ISyncOperationContext
getSyncScope, getValue, setValue
 

Method Detail

getOutgoingChanges

java.util.List<IEntity> getOutgoingChanges()
Returns the list of entities which will be sent to the client

Returns:
List of Entity objects

setResponseString

void setResponseString(java.lang.String response)
Set the response which is about to send to client. Interceptor implementation can change the response according to custom business logic