Class EntitySyncServices
java.lang.Object
org.apache.ofbiz.entityext.synchronization.EntitySyncServices
Entity Engine Sync Services
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncleanSyncRemoveInfo
(DispatchContext dctx, Map<String, ? extends Object> context) Clean EntitySyncRemove InfoloadOfflineSyncData
(DispatchContext dctx, Map<String, ? extends Object> context) pullAndReportEntitySyncData
(DispatchContext dctx, Map<String, ? extends Object> context) Pull and Report Entity Sync Data - Called Remotely to Push Results from last pull, the Pull next set of results.runEntitySync
(DispatchContext dctx, Map<String, ? extends Object> context) Run an Entity Sync (checks to see if other already running, etc)runOfflineEntitySync
(DispatchContext dctx, Map<String, ? extends Object> context) runPullEntitySync
(DispatchContext dctx, Map<String, Object> context) Run Pull Entity Sync - Pull From RemotestoreEntitySyncData
(DispatchContext dctx, Map<String, Object> context) Store Entity Sync DataupdateOfflineEntitySync
(DispatchContext dctx, Map<String, Object> context)
-
Constructor Details
-
EntitySyncServices
public EntitySyncServices()
-
-
Method Details
-
runEntitySync
public static Map<String,Object> runEntitySync(DispatchContext dctx, Map<String, ? extends Object> context) Run an Entity Sync (checks to see if other already running, etc)- Parameters:
dctx
- The DispatchContext that this service is operating incontext
- Map containing the input parameters- Returns:
- Map with the result of the service, the output parameters
-
storeEntitySyncData
public static Map<String,Object> storeEntitySyncData(DispatchContext dctx, Map<String, Object> context) Store Entity Sync Data- Parameters:
dctx
- The DispatchContext that this service is operating incontext
- Map containing the input parameters- Returns:
- Map with the result of the service, the output parameters
-
runPullEntitySync
public static Map<String,Object> runPullEntitySync(DispatchContext dctx, Map<String, Object> context) Run Pull Entity Sync - Pull From Remote- Parameters:
dctx
- The DispatchContext that this service is operating incontext
- Map containing the input parameters- Returns:
- Map with the result of the service, the output parameters
-
pullAndReportEntitySyncData
public static Map<String,Object> pullAndReportEntitySyncData(DispatchContext dctx, Map<String, ? extends 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 incontext
- Map containing the input parameters- Returns:
- Map with the result of the service, the output parameters
-
runOfflineEntitySync
-
loadOfflineSyncData
-
updateOfflineEntitySync
-
cleanSyncRemoveInfo
public static Map<String,Object> cleanSyncRemoveInfo(DispatchContext dctx, Map<String, ? extends Object> context) Clean EntitySyncRemove Info- Parameters:
dctx
- The DispatchContext that this service is operating incontext
- Map containing the input parameters- Returns:
- Map with the result of the service, the output parameters
-