Class StockAdjustmentAction

  • All Implemented Interfaces:
    com.hybris.cockpitng.actions.CockpitAction<StockLevelModel,​StockLevelModel>, com.hybris.cockpitng.engine.ComponentWidgetAdapterAware

    public class StockAdjustmentAction
    extends com.hybris.cockpitng.engine.impl.AbstractComponentWidgetAdapterAware
    implements com.hybris.cockpitng.actions.CockpitAction<StockLevelModel,​StockLevelModel>
    Access popup to create stock level adjustment(s)
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static java.lang.String SOCKET_OUT_CONTEXT  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean canPerform​(com.hybris.cockpitng.actions.ActionContext<StockLevelModel> ctx)  
      java.lang.String getConfirmationMessage​(com.hybris.cockpitng.actions.ActionContext<StockLevelModel> ctx)  
      boolean needsConfirmation​(com.hybris.cockpitng.actions.ActionContext<StockLevelModel> ctx)  
      com.hybris.cockpitng.actions.ActionResult<StockLevelModel> perform​(com.hybris.cockpitng.actions.ActionContext<StockLevelModel> actionContext)  
      • Methods inherited from class com.hybris.cockpitng.engine.impl.AbstractComponentWidgetAdapterAware

        addSocketInputEventListener, getComponentID, handleSocketInputEvent, initialize, initializeDefaultEventListeners, registerStubInstance, sendOutput, setComponentID, unregisterStubInstance
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • SOCKET_OUT_CONTEXT

        protected static final java.lang.String SOCKET_OUT_CONTEXT
        See Also:
        Constant Field Values
    • Constructor Detail

      • StockAdjustmentAction

        public StockAdjustmentAction()
    • Method Detail

      • canPerform

        public boolean canPerform​(com.hybris.cockpitng.actions.ActionContext<StockLevelModel> ctx)
        Specified by:
        canPerform in interface com.hybris.cockpitng.actions.CockpitAction<StockLevelModel,​StockLevelModel>
      • needsConfirmation

        public boolean needsConfirmation​(com.hybris.cockpitng.actions.ActionContext<StockLevelModel> ctx)
        Specified by:
        needsConfirmation in interface com.hybris.cockpitng.actions.CockpitAction<StockLevelModel,​StockLevelModel>
      • getConfirmationMessage

        public java.lang.String getConfirmationMessage​(com.hybris.cockpitng.actions.ActionContext<StockLevelModel> ctx)
        Specified by:
        getConfirmationMessage in interface com.hybris.cockpitng.actions.CockpitAction<StockLevelModel,​StockLevelModel>