Class SendReturnOrderToDataHubAction
- java.lang.Object
-
- de.hybris.platform.processengine.action.AbstractAction<T>
-
- de.hybris.platform.processengine.action.AbstractSimpleDecisionAction<ReturnProcessModel>
-
- com.sap.hybris.returnsexchange.actions.SendReturnOrderToDataHubAction
-
- All Implemented Interfaces:
Action<ReturnProcessModel>
- Direct Known Subclasses:
SapCpiOmmReturnOrderOutboundAction
public class SendReturnOrderToDataHubAction extends AbstractSimpleDecisionAction<ReturnProcessModel>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.processengine.action.AbstractSimpleDecisionAction
AbstractSimpleDecisionAction.Transition
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ERROR_END_MESSAGE
-
Fields inherited from class de.hybris.platform.processengine.action.AbstractAction
modelService, processParameterHelper
-
Fields inherited from interface de.hybris.platform.processengine.spring.Action
ERROR_RETURN_CODE, RETRY_RETURN_CODE
-
-
Constructor Summary
Constructors Constructor Description SendReturnOrderToDataHubAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractSimpleDecisionAction.Transition
executeAction(ReturnProcessModel process)
Executes thisAction
's business logic working on the givenBusinessProcessModel
.SendToDataHubHelper<ReturnRequestModel>
getSendOrderToDataHubHelper()
protected void
resetEndMessage(ReturnProcessModel process)
void
setSendOrderToDataHubHelper(SendToDataHubHelper<ReturnRequestModel> sendOrderAsCSVHelper)
-
Methods inherited from class de.hybris.platform.processengine.action.AbstractSimpleDecisionAction
execute, getTransitions
-
Methods inherited from class de.hybris.platform.processengine.action.AbstractAction
createTransitions, getModelService, getProcessParameterHelper, getProcessParameterValue, refresh, save, setModelService, setOrderStatus, setProcessParameterHelper
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.hybris.platform.processengine.spring.Action
getCurrentActionDefinitionContext
-
-
-
-
Field Detail
-
ERROR_END_MESSAGE
public static final java.lang.String ERROR_END_MESSAGE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getSendOrderToDataHubHelper
public SendToDataHubHelper<ReturnRequestModel> getSendOrderToDataHubHelper()
-
setSendOrderToDataHubHelper
public void setSendOrderToDataHubHelper(SendToDataHubHelper<ReturnRequestModel> sendOrderAsCSVHelper)
-
executeAction
public AbstractSimpleDecisionAction.Transition executeAction(ReturnProcessModel process) throws RetryLaterException
Description copied from class:AbstractSimpleDecisionAction
Executes thisAction
's business logic working on the givenBusinessProcessModel
.- Specified by:
executeAction
in classAbstractSimpleDecisionAction<ReturnProcessModel>
- Parameters:
process
- The process context to work on.- Returns:
- OK; NOK
- Throws:
RetryLaterException
-
resetEndMessage
protected void resetEndMessage(ReturnProcessModel process)
-
-