Class AbstractProcessingStrategy
java.lang.Object
de.hybris.platform.datahubbackoffice.presentation.widgets.quickupload.AbstractProcessingStrategy
- All Implemented Interfaces:
ProcessingStrategy
- Direct Known Subclasses:
ComposeProcessingStrategy,LoadProcessingStrategy,PublishProcessingStrategy
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract StringgetAlreadyRunning(QuickUploadController controller, Map<String, Object> ctx) abstract StringgetBusyMessage(QuickUploadController controller, Map<String, Object> ctx) protected <T> TgetContextValue(Map<String, Object> ctx, String key) protected DataHubServerabstract voidnotifyWhenFinished(QuickUploadController controller, Map<String, Object> ctx) voidprocessInternal(QuickUploadController controller, Map<String, Object> ctx) protected abstract DynamicRestClientRetrieves REST client used by the process.voidsetNotificationService(com.hybris.backoffice.widgets.notificationarea.NotificationService notificationService) abstract booleanvalidate(QuickUploadController controller, Map<String, Object> ctx) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.datahubbackoffice.presentation.widgets.quickupload.ProcessingStrategy
supports
-
Field Details
-
OPERATION_STATUS
- See Also:
-
EXCEPTION_KEY
- See Also:
-
notificationService
protected com.hybris.backoffice.widgets.notificationarea.NotificationService notificationService
-
-
Constructor Details
-
AbstractProcessingStrategy
public AbstractProcessingStrategy()
-
-
Method Details
-
process
- Specified by:
processin interfaceProcessingStrategy
-
setNotificationService
public void setNotificationService(com.hybris.backoffice.widgets.notificationarea.NotificationService notificationService) -
getSelectedDataHubServer
-
validate
-
processInternal
public abstract Map<String,Object> processInternal(QuickUploadController controller, Map<String, Object> ctx) throws InterruptedException- Throws:
InterruptedException
-
getBusyMessage
-
getAlreadyRunning
-
restClient
Retrieves REST client used by the process. It must be dynamic.- Returns:
- REST client used by the concrete process implementation.
-
notifyWhenFinished
-
getContextValue
-