org.ofbiz.entityext.synchronization
Class EntitySyncServices

java.lang.Object
  extended by org.ofbiz.entityext.synchronization.EntitySyncServices

public class EntitySyncServices
extends java.lang.Object

Entity Engine Sync Services


Field Summary
static java.lang.String module
           
 
Constructor Summary
EntitySyncServices()
           
 
Method Summary
static java.util.Map<java.lang.String,java.lang.Object> cleanSyncRemoveInfo(DispatchContext dctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
          Clean EntitySyncRemove Info
static java.util.Map<java.lang.String,java.lang.Object> loadOfflineSyncData(DispatchContext dctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
           
static java.util.Map<java.lang.String,java.lang.Object> pullAndReportEntitySyncData(DispatchContext dctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
          Pull and Report Entity Sync Data - Called Remotely to Push Results from last pull, the Pull next set of results.
static java.util.Map<java.lang.String,java.lang.Object> runEntitySync(DispatchContext dctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
          Run an Entity Sync (checks to see if other already running, etc)
static java.util.Map<java.lang.String,java.lang.Object> runOfflineEntitySync(DispatchContext dctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
           
static java.util.Map runPullEntitySync(DispatchContext dctx, java.util.Map context)
          Run Pull Entity Sync - Pull From Remote
static java.util.Map storeEntitySyncData(DispatchContext dctx, java.util.Map context)
          Store Entity Sync Data
static java.util.Map updateOfflineEntitySync(DispatchContext dctx, java.util.Map context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

module

public static final java.lang.String module
Constructor Detail

EntitySyncServices

public EntitySyncServices()
Method Detail

runEntitySync

public static java.util.Map<java.lang.String,java.lang.Object> runEntitySync(DispatchContext dctx,
                                                                             java.util.Map<java.lang.String,? extends java.lang.Object> context)
Run an Entity Sync (checks to see if other already running, etc)

Parameters:
dctx - The DispatchContext that this service is operating in
context - Map containing the input parameters
Returns:
Map with the result of the service, the output parameters

storeEntitySyncData

public static java.util.Map storeEntitySyncData(DispatchContext dctx,
                                                java.util.Map context)
Store Entity Sync Data

Parameters:
dctx - The DispatchContext that this service is operating in
context - Map containing the input parameters
Returns:
Map with the result of the service, the output parameters

runPullEntitySync

public static java.util.Map runPullEntitySync(DispatchContext dctx,
                                              java.util.Map context)
Run Pull Entity Sync - Pull From Remote

Parameters:
dctx - The DispatchContext that this service is operating in
context - Map containing the input parameters
Returns:
Map with the result of the service, the output parameters

pullAndReportEntitySyncData

public static java.util.Map<java.lang.String,java.lang.Object> pullAndReportEntitySyncData(DispatchContext dctx,
                                                                                           java.util.Map<java.lang.String,? extends java.lang.Object> context)
Pull and Report Entity Sync Data - Called Remotely to Push Results from last pull, the Pull next set of results.

Parameters:
dctx - The DispatchContext that this service is operating in
context - Map containing the input parameters
Returns:
Map with the result of the service, the output parameters

runOfflineEntitySync

public static java.util.Map<java.lang.String,java.lang.Object> runOfflineEntitySync(DispatchContext dctx,
                                                                                    java.util.Map<java.lang.String,? extends java.lang.Object> context)

loadOfflineSyncData

public static java.util.Map<java.lang.String,java.lang.Object> loadOfflineSyncData(DispatchContext dctx,
                                                                                   java.util.Map<java.lang.String,? extends java.lang.Object> context)

updateOfflineEntitySync

public static java.util.Map updateOfflineEntitySync(DispatchContext dctx,
                                                    java.util.Map context)

cleanSyncRemoveInfo

public static java.util.Map<java.lang.String,java.lang.Object> cleanSyncRemoveInfo(DispatchContext dctx,
                                                                                   java.util.Map<java.lang.String,? extends java.lang.Object> context)
Clean EntitySyncRemove Info

Parameters:
dctx - The DispatchContext that this service is operating in
context - Map containing the input parameters
Returns:
Map with the result of the service, the output parameters