Class ManualTaxReverseAction
- java.lang.Object
-
- com.hybris.cockpitng.engine.impl.AbstractComponentWidgetAdapterAware
-
- de.hybris.platform.omsbackoffice.actions.returns.ManualTaxReverseAction
-
- All Implemented Interfaces:
com.hybris.cockpitng.actions.CockpitAction<ReturnRequestModel,ReturnRequestModel>,com.hybris.cockpitng.engine.ComponentWidgetAdapterAware
public class ManualTaxReverseAction extends com.hybris.cockpitng.engine.impl.AbstractComponentWidgetAdapterAware implements com.hybris.cockpitng.actions.CockpitAction<ReturnRequestModel,ReturnRequestModel>
This action specify that the tax reverse has been handle manually and triggers the update inventory step in the process engine.
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringFAILURE_MESSAGE_LABELprotected static java.lang.StringSUCCESS_MESSAGE_LABEL
-
Constructor Summary
Constructors Constructor Description ManualTaxReverseAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanPerform(com.hybris.cockpitng.actions.ActionContext<ReturnRequestModel> actionContext)java.lang.StringgetConfirmationMessage(com.hybris.cockpitng.actions.ActionContext<ReturnRequestModel> actionContext)protected com.hybris.cockpitng.util.notifications.NotificationServicegetNotificationService()protected ReturnServicegetReturnService()booleanneedsConfirmation(com.hybris.cockpitng.actions.ActionContext<ReturnRequestModel> actionContext)com.hybris.cockpitng.actions.ActionResult<ReturnRequestModel>perform(com.hybris.cockpitng.actions.ActionContext<ReturnRequestModel> actionContext)
-
-
-
Field Detail
-
SUCCESS_MESSAGE_LABEL
protected static final java.lang.String SUCCESS_MESSAGE_LABEL
- See Also:
- Constant Field Values
-
FAILURE_MESSAGE_LABEL
protected static final java.lang.String FAILURE_MESSAGE_LABEL
- See Also:
- Constant Field Values
-
-
Method Detail
-
canPerform
public boolean canPerform(com.hybris.cockpitng.actions.ActionContext<ReturnRequestModel> actionContext)
- Specified by:
canPerformin interfacecom.hybris.cockpitng.actions.CockpitAction<ReturnRequestModel,ReturnRequestModel>
-
getConfirmationMessage
public java.lang.String getConfirmationMessage(com.hybris.cockpitng.actions.ActionContext<ReturnRequestModel> actionContext)
- Specified by:
getConfirmationMessagein interfacecom.hybris.cockpitng.actions.CockpitAction<ReturnRequestModel,ReturnRequestModel>
-
needsConfirmation
public boolean needsConfirmation(com.hybris.cockpitng.actions.ActionContext<ReturnRequestModel> actionContext)
- Specified by:
needsConfirmationin interfacecom.hybris.cockpitng.actions.CockpitAction<ReturnRequestModel,ReturnRequestModel>
-
perform
public com.hybris.cockpitng.actions.ActionResult<ReturnRequestModel> perform(com.hybris.cockpitng.actions.ActionContext<ReturnRequestModel> actionContext)
- Specified by:
performin interfacecom.hybris.cockpitng.actions.CockpitAction<ReturnRequestModel,ReturnRequestModel>
-
getReturnService
protected ReturnService getReturnService()
-
getNotificationService
protected com.hybris.cockpitng.util.notifications.NotificationService getNotificationService()
-
-