Class AtpViewController

java.lang.Object
org.zkoss.zk.ui.event.GenericEventListener
org.zkoss.zk.ui.util.GenericComposer<T>
org.zkoss.zk.ui.util.GenericAutowireComposer<T>
org.zkoss.zk.ui.util.GenericForwardComposer<org.zkoss.zk.ui.Component>
com.hybris.cockpitng.util.ViewAnnotationAwareComposer
com.hybris.cockpitng.util.DefaultWidgetController
de.hybris.platform.warehousingbackoffice.widgets.atp.AtpViewController
All Implemented Interfaces:
com.hybris.cockpitng.core.WidgetController, com.hybris.cockpitng.dnd.WidgetDragAndDropAware, com.hybris.cockpitng.engine.WidgetInstanceManagerAware, Serializable, org.zkoss.zk.ui.event.EventListener, org.zkoss.zk.ui.event.SerializableEventListener, org.zkoss.zk.ui.util.ComponentActivationListener, org.zkoss.zk.ui.util.ComponentCloneListener, org.zkoss.zk.ui.util.Composer<org.zkoss.zk.ui.Component>, org.zkoss.zk.ui.util.ComposerExt<org.zkoss.zk.ui.Component>

public class AtpViewController extends com.hybris.cockpitng.util.DefaultWidgetController
Displays atp formulas based on the form input collected by the user
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static final String
     
    protected static final String
     
    protected org.zkoss.zk.ui.Component
     

    Fields inherited from class org.zkoss.zk.ui.util.GenericAutowireComposer

    _separator, application, applicationScope, arg, componentScope, desktop, desktopScope, execution, page, pageScope, param, requestScope, self, session, sessionScope, spaceOwner, spaceScope

    Fields inherited from class org.zkoss.zk.ui.util.GenericComposer

    _applied
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    protected org.zkoss.zul.Listbox
     
     
    void
    initialize(org.zkoss.zk.ui.Component component)
     
    void
    Initializes the list view.
    protected void
    populateAtpFormula(AtpFormDto atpFormDto, ProductModel product, BaseStoreModel baseStore, List<AtpViewDto> atpViewEntries, AtpFormulaModel atpFormula)
    Populates the AtpFormulaModel with the provided fields.
    void
     
    void
     

    Methods inherited from class com.hybris.cockpitng.util.DefaultWidgetController

    doAfterCompose, doBeforeCompose, doBeforeComposeChildren, executeOperation, getDragAndDropStrategy, getLabel, getLabel, getModel, getValue, getWidgetDragAndDropStrategyRepository, getWidgetInstanceManager, getWidgetRoot, getWidgetSettings, getWidgetslot, getWidgetTitle, getWidgetUtils, initDragAndDropAwareness, initWidgetSetting, initWidgetSetting, initWidgetSetting, initWidgetSetting, initWidgetSetting, invokeListenerMethod, onSocketInput, preInitialize, sendOutput, sendOutputAfterOperation, sendOutputAfterOperation, sendOutputAfterOperation, setValue, setWidgetInstanceManager, setWidgetTitle

    Methods inherited from class com.hybris.cockpitng.util.ViewAnnotationAwareComposer

    scanEventListeners

    Methods inherited from class org.zkoss.zk.ui.util.GenericAutowireComposer

    alert, didActivate, getPage, willClone, willPassivate

    Methods inherited from class org.zkoss.zk.ui.util.GenericComposer

    doCatch, doFinally

    Methods inherited from class org.zkoss.zk.ui.event.GenericEventListener

    bindComponent, getController, onEvent, unbindComponent

    Methods inherited from class java.lang.Object

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

    • WAREHOUSINGBACKOFFICE_ATP_VIEWS_TITLE

      protected static final String WAREHOUSINGBACKOFFICE_ATP_VIEWS_TITLE
      See Also:
    • IN_SOCKET

      protected static final String IN_SOCKET
      See Also:
    • widgetComponent

      protected org.zkoss.zk.ui.Component widgetComponent
  • Constructor Details

    • AtpViewController

      public AtpViewController()
  • Method Details

    • initialize

      public void initialize(org.zkoss.zk.ui.Component component)
      Overrides:
      initialize in class com.hybris.cockpitng.util.DefaultWidgetController
    • initializeView

      public void initializeView(AtpFormDto atpFormDto)
      Initializes the list view.
      Parameters:
      atpFormDto - the form containing atp information
    • populateAtpFormula

      protected void populateAtpFormula(AtpFormDto atpFormDto, ProductModel product, BaseStoreModel baseStore, List<AtpViewDto> atpViewEntries, AtpFormulaModel atpFormula)
      Populates the AtpFormulaModel with the provided fields.
      Parameters:
      atpFormDto -
      product -
      baseStore -
      atpViewEntries -
      atpFormula -
    • getWarehousingCommerceStockService

      protected WarehousingCommerceStockService getWarehousingCommerceStockService()
    • setWarehousingCommerceStockService

      public void setWarehousingCommerceStockService(WarehousingCommerceStockService warehousingCommerceStockService)
    • getAtpFormulaService

      protected AtpFormulaService getAtpFormulaService()
    • setAtpFormulaService

      public void setAtpFormulaService(AtpFormulaService atpFormulaService)
    • getAtpListView

      protected org.zkoss.zul.Listbox getAtpListView()