Class AbstractProcessingStrategy

    • Field Detail

      • OPERATION_STATUS

        protected static final java.lang.String OPERATION_STATUS
        See Also:
        Constant Field Values
      • notificationService

        protected com.hybris.backoffice.widgets.notificationarea.NotificationService notificationService
    • Constructor Detail

      • AbstractProcessingStrategy

        public AbstractProcessingStrategy()
    • Method Detail

      • setNotificationService

        public void setNotificationService​(com.hybris.backoffice.widgets.notificationarea.NotificationService notificationService)
      • getSelectedDataHubServer

        protected DataHubServer getSelectedDataHubServer​(java.util.Map<java.lang.String,​java.lang.Object> ctx)
      • validate

        public abstract boolean validate​(QuickUploadController controller,
                                         java.util.Map<java.lang.String,​java.lang.Object> ctx)
      • processInternal

        public abstract java.util.Map<java.lang.String,​java.lang.Object> processInternal​(QuickUploadController controller,
                                                                                               java.util.Map<java.lang.String,​java.lang.Object> ctx)
                                                                                        throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • getBusyMessage

        public abstract java.lang.String getBusyMessage​(QuickUploadController controller,
                                                        java.util.Map<java.lang.String,​java.lang.Object> ctx)
      • getAlreadyRunning

        public abstract java.lang.String getAlreadyRunning​(QuickUploadController controller,
                                                           java.util.Map<java.lang.String,​java.lang.Object> ctx)
      • restClient

        protected abstract DynamicRestClient restClient()
        Retrieves REST client used by the process. It must be dynamic.
        Returns:
        REST client used by the concrete process implementation.
      • notifyWhenFinished

        public abstract void notifyWhenFinished​(QuickUploadController controller,
                                                java.util.Map<java.lang.String,​java.lang.Object> ctx)
      • getContextValue

        protected <T> T getContextValue​(java.util.Map<java.lang.String,​java.lang.Object> ctx,
                                        java.lang.String key)