Class OneOrderSDNCheckForSynchProcessAction
java.lang.Object
de.hybris.platform.processengine.action.AbstractAction<T>
de.hybris.platform.oneorderfulfilmentprocess.actions.order.AbstractCheckForSynchProcessAction<OneOrderDeliveryProviderProcessModel>
de.hybris.platform.oneorderfulfilmentprocess.actions.order.sdn.OneOrderSDNCheckForSynchProcessAction
- All Implemented Interfaces:
de.hybris.platform.processengine.spring.Action<OneOrderDeliveryProviderProcessModel>
public class OneOrderSDNCheckForSynchProcessAction
extends AbstractCheckForSynchProcessAction<OneOrderDeliveryProviderProcessModel>
The One Order Check for Synch Process Action.
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.oneorderfulfilmentprocess.actions.order.AbstractCheckForSynchProcessAction
AbstractCheckForSynchProcessAction.Transition -
Field Summary
Fields inherited from class de.hybris.platform.processengine.action.AbstractAction
modelService, processParameterHelperFields inherited from interface de.hybris.platform.processengine.spring.Action
ERROR_RETURN_CODE, RETRY_RETURN_CODE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionChecks if the process is synch (mocked) or asynch.protected de.hybris.platform.servicelayer.config.ConfigurationServiceGets the configurationServicevoidsetConfigurationService(de.hybris.platform.servicelayer.config.ConfigurationService configurationService) Sets the configurationServiceMethods inherited from class de.hybris.platform.oneorderfulfilmentprocess.actions.order.AbstractCheckForSynchProcessAction
execute, getTransitionsMethods inherited from class de.hybris.platform.processengine.action.AbstractAction
createTransitions, getModelService, getProcessParameterHelper, getProcessParameterValue, refresh, save, setModelService, setOrderStatus, setProcessParameterHelperMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.processengine.spring.Action
getCurrentActionDefinitionContext
-
Constructor Details
-
OneOrderSDNCheckForSynchProcessAction
public OneOrderSDNCheckForSynchProcessAction()
-
-
Method Details
-
executeAction
public AbstractCheckForSynchProcessAction.Transition executeAction(OneOrderDeliveryProviderProcessModel process) Checks if the process is synch (mocked) or asynch. If the process is either synch, then skip the "wait for SSCN ack" event and go directly to the updateIataServices action.- Specified by:
executeActionin classAbstractCheckForSynchProcessAction<OneOrderDeliveryProviderProcessModel>- Parameters:
process- the process- Returns:
- SYNCH ; ASYNCH ; OK ; NOK
-
getConfigurationService
protected de.hybris.platform.servicelayer.config.ConfigurationService getConfigurationService()Gets the configurationService- Returns:
- the configurationService
-
setConfigurationService
public void setConfigurationService(de.hybris.platform.servicelayer.config.ConfigurationService configurationService) Sets the configurationService- Parameters:
configurationService- the configurationService
-