Class EntitySyncServices


  • public class EntitySyncServices
    extends java.lang.Object
    Entity Engine Sync Services
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String module  
      static java.lang.String resource  
    • 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 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<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
      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
      static java.util.Map<java.lang.String,​java.lang.Object> updateOfflineEntitySync​(DispatchContext dctx, java.util.Map<java.lang.String,​java.lang.Object> 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<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 in
        context - 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 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<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 in
        context - Map containing the input parameters
        Returns:
        Map with the result of the service, the output parameters