Class EntitySyncServices
- java.lang.Object
-
- org.apache.ofbiz.entityext.synchronization.EntitySyncServices
-
public class EntitySyncServices extends java.lang.Object
Entity Engine Sync Services
-
-
Constructor Summary
Constructors Constructor Description EntitySyncServices()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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 Infostatic 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<java.lang.String,java.lang.Object>
runPullEntitySync(DispatchContext dctx, java.util.Map<java.lang.String,java.lang.Object> context)
Run Pull Entity Sync - Pull From Remotestatic java.util.Map<java.lang.String,java.lang.Object>
storeEntitySyncData(DispatchContext dctx, java.util.Map<java.lang.String,java.lang.Object> context)
Store Entity Sync Datastatic java.util.Map<java.lang.String,java.lang.Object>
updateOfflineEntitySync(DispatchContext dctx, java.util.Map<java.lang.String,java.lang.Object> context)
-
-
-
Field Detail
-
module
public static final java.lang.String module
-
resource
public static final java.lang.String resource
- See Also:
- Constant Field Values
-
-
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 incontext
- Map containing the input parameters- Returns:
- Map with the result of the service, the output parameters
-
storeEntitySyncData
public static java.util.Map<java.lang.String,java.lang.Object> storeEntitySyncData(DispatchContext dctx, java.util.Map<java.lang.String,java.lang.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 java.util.Map<java.lang.String,java.lang.Object> runPullEntitySync(DispatchContext dctx, java.util.Map<java.lang.String,java.lang.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 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 incontext
- 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<java.lang.String,java.lang.Object> updateOfflineEntitySync(DispatchContext dctx, java.util.Map<java.lang.String,java.lang.Object> 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 incontext
- Map containing the input parameters- Returns:
- Map with the result of the service, the output parameters
-
-