Class EntitySyncServices

java.lang.Object
org.apache.ofbiz.entityext.synchronization.EntitySyncServices

public class EntitySyncServices extends Object
Entity Engine Sync Services
  • 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 in
      context - 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 in
      context - 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 in
      context - 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 in
      context - Map containing the input parameters
      Returns:
      Map with the result of the service, the output parameters
    • runOfflineEntitySync

      public static Map<String,Object> runOfflineEntitySync(DispatchContext dctx, Map<String,? extends Object> context)
    • loadOfflineSyncData

      public static Map<String,Object> loadOfflineSyncData(DispatchContext dctx, Map<String,? extends Object> context)
    • updateOfflineEntitySync

      public static Map<String,Object> updateOfflineEntitySync(DispatchContext dctx, Map<String,Object> context)
    • 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 in
      context - Map containing the input parameters
      Returns:
      Map with the result of the service, the output parameters