Class ManualDeliveryCostCommitAction
- java.lang.Object
-
- com.hybris.cockpitng.engine.impl.AbstractComponentWidgetAdapterAware
-
- de.hybris.platform.omsbackoffice.actions.order.ManualDeliveryCostCommitAction
-
- All Implemented Interfaces:
com.hybris.cockpitng.actions.CockpitAction<OrderModel,OrderModel>,com.hybris.cockpitng.engine.ComponentWidgetAdapterAware
public class ManualDeliveryCostCommitAction extends com.hybris.cockpitng.engine.impl.AbstractComponentWidgetAdapterAware implements com.hybris.cockpitng.actions.CockpitAction<OrderModel,OrderModel>
This action specifies that the delivery cost tax commit operation has been handled manually. It proceeds with the regular order fulfillment flow in the business process.
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringMANUAL_DELIVERY_COST_COMMIT_EVENTprotected static java.lang.StringMANUAL_DELIVERY_COST_COMMIT_SUCCESS
-
Constructor Summary
Constructors Constructor Description ManualDeliveryCostCommitAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanPerform(com.hybris.cockpitng.actions.ActionContext<OrderModel> ctx)protected voidexecuteManualDeliveryCostTaxCommitOperation(OrderModel order)Executes the manual delivery cost tax commit release operation by calling theBusinessProcessService.protected BusinessProcessServicegetBusinessProcessService()java.lang.StringgetConfirmationMessage(com.hybris.cockpitng.actions.ActionContext<OrderModel> ctx)protected ModelServicegetModelService()protected com.hybris.cockpitng.util.notifications.NotificationServicegetNotificationService()booleanneedsConfirmation(com.hybris.cockpitng.actions.ActionContext<OrderModel> ctx)com.hybris.cockpitng.actions.ActionResult<OrderModel>perform(com.hybris.cockpitng.actions.ActionContext<OrderModel> actionContext)
-
-
-
Field Detail
-
MANUAL_DELIVERY_COST_COMMIT_SUCCESS
protected static final java.lang.String MANUAL_DELIVERY_COST_COMMIT_SUCCESS
- See Also:
- Constant Field Values
-
MANUAL_DELIVERY_COST_COMMIT_EVENT
protected static final java.lang.String MANUAL_DELIVERY_COST_COMMIT_EVENT
- See Also:
- Constant Field Values
-
-
Method Detail
-
perform
public com.hybris.cockpitng.actions.ActionResult<OrderModel> perform(com.hybris.cockpitng.actions.ActionContext<OrderModel> actionContext)
- Specified by:
performin interfacecom.hybris.cockpitng.actions.CockpitAction<OrderModel,OrderModel>
-
canPerform
public boolean canPerform(com.hybris.cockpitng.actions.ActionContext<OrderModel> ctx)
- Specified by:
canPerformin interfacecom.hybris.cockpitng.actions.CockpitAction<OrderModel,OrderModel>
-
needsConfirmation
public boolean needsConfirmation(com.hybris.cockpitng.actions.ActionContext<OrderModel> ctx)
- Specified by:
needsConfirmationin interfacecom.hybris.cockpitng.actions.CockpitAction<OrderModel,OrderModel>
-
getConfirmationMessage
public java.lang.String getConfirmationMessage(com.hybris.cockpitng.actions.ActionContext<OrderModel> ctx)
- Specified by:
getConfirmationMessagein interfacecom.hybris.cockpitng.actions.CockpitAction<OrderModel,OrderModel>
-
executeManualDeliveryCostTaxCommitOperation
protected void executeManualDeliveryCostTaxCommitOperation(OrderModel order)
Executes the manual delivery cost tax commit release operation by calling theBusinessProcessService.- Parameters:
order- theOrderModelto be released
-
getBusinessProcessService
protected BusinessProcessService getBusinessProcessService()
-
getModelService
protected ModelService getModelService()
-
getNotificationService
protected com.hybris.cockpitng.util.notifications.NotificationService getNotificationService()
-
-