Class ProxyFlowActionHandlerAdapter
- java.lang.Object
-
- com.hybris.cockpitng.widgets.configurableflow.FlowActionHandlerAdapter
-
- com.hybris.cockpitng.widgets.configurableflow.ProxyFlowActionHandlerAdapter
-
public class ProxyFlowActionHandlerAdapter extends FlowActionHandlerAdapter
Proxy adapter which intercepts all calls on done,cancel,back,next,custom and calls one of actions on given proxied adapter whendoProxiedAction()is called.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classProxyFlowActionHandlerAdapter.ExecutedProxyActionEnum representation of actions.
-
Constructor Summary
Constructors Constructor Description ProxyFlowActionHandlerAdapter(FlowActionHandlerAdapter handler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidback()Perform back operation for current configurable flow widget instance.voidcancel()Closes current configurable flow widget instance.voidcustom()Perform custom operation for current configurable flow widget instance.voiddone()Perform done operation for current configurable flow widget instance.voiddoProxiedAction()Calls an action on proxied handler passed as constructor argument.protected voidexecuteAction(ProxyFlowActionHandlerAdapter.ExecutedProxyAction actionToExecute)voidnext()Perform next operation for current configurable flow widget instance.-
Methods inherited from class com.hybris.cockpitng.widgets.configurableflow.FlowActionHandlerAdapter
getWidgetInstanceManager
-
-
-
-
Constructor Detail
-
ProxyFlowActionHandlerAdapter
public ProxyFlowActionHandlerAdapter(FlowActionHandlerAdapter handler)
- Parameters:
handler- proxied handler.
-
-
Method Detail
-
doProxiedAction
public void doProxiedAction()
Calls an action on proxied handler passed as constructor argument. If different actions have been recorder it will call proxied adapter with following priority- done()
- cancel()
- back()
- next()
-
executeAction
protected void executeAction(ProxyFlowActionHandlerAdapter.ExecutedProxyAction actionToExecute)
-
cancel
public void cancel()
Description copied from class:FlowActionHandlerAdapterCloses current configurable flow widget instance.- Specified by:
cancelin classFlowActionHandlerAdapter
-
done
public void done()
Description copied from class:FlowActionHandlerAdapterPerform done operation for current configurable flow widget instance.- Specified by:
donein classFlowActionHandlerAdapter
-
back
public void back()
Description copied from class:FlowActionHandlerAdapterPerform back operation for current configurable flow widget instance.- Specified by:
backin classFlowActionHandlerAdapter
-
next
public void next()
Description copied from class:FlowActionHandlerAdapterPerform next operation for current configurable flow widget instance.- Specified by:
nextin classFlowActionHandlerAdapter
-
custom
public void custom()
Description copied from class:FlowActionHandlerAdapterPerform custom operation for current configurable flow widget instance.- Specified by:
customin classFlowActionHandlerAdapter
-
-