Class AddProductToExpressUdateAction

    • Field Detail

      • EXPRESS_UPDATE_CATALOG_VERSIONS

        protected static final java.lang.String EXPRESS_UPDATE_CATALOG_VERSIONS
        See Also:
        Constant Field Values
      • BUTTON_ICON

        protected java.lang.String BUTTON_ICON
      • BUTTON_ICON_INACTIVE

        protected java.lang.String BUTTON_ICON_INACTIVE
    • Constructor Detail

      • AddProductToExpressUdateAction

        public AddProductToExpressUdateAction()
    • Method Detail

      • getTooltip

        public java.lang.String getTooltip​(ListViewAction.Context context)
        Description copied from interface: ListViewAction
        Gets the tooltip of the action button.
        Returns:
        the tooltip string which should appear when the user hovers over the action button
      • getImageURI

        public java.lang.String getImageURI​(ListViewAction.Context context)
        Description copied from interface: ListViewAction
        Gets the image URI which represents the action button.
        Returns:
        URI of the image to represent the action button
      • isAddingToExpressUpdateEnabled

        protected boolean isAddingToExpressUpdateEnabled​(ListViewAction.Context context)
      • getEventListener

        public org.zkoss.zk.ui.event.EventListener getEventListener​(ListViewAction.Context context)
        Description copied from interface: ListViewAction
        Gets the EventListener which is to be registered for the Events.ON_CLICK event.
        Returns:
        the event listener which should be called when user clicks the action button
      • sendProductToChannel

        protected boolean sendProductToChannel​(ProductModel product)
      • isMultiAddingToExpressUpdateEnabled

        protected boolean isMultiAddingToExpressUpdateEnabled​(ListViewAction.Context context)
      • getPopup

        public org.zkoss.zul.Menupopup getPopup​(ListViewAction.Context context)
        Description copied from interface: ListViewAction
        Gets the popup of the action button.
        Returns:
        the popup which should appear when the user clicks the action button or null if no popup is available
      • getContextPopup

        public org.zkoss.zul.Menupopup getContextPopup​(ListViewAction.Context context)
        Description copied from interface: ListViewAction
        Gets the context popup of the action button.
        Returns:
        the popup which should appear when the user right-clicks the action button or null if no popup is available
      • getProductExpressUpdateChannel

        public org.springframework.messaging.MessageChannel getProductExpressUpdateChannel()
      • setProductExpressUpdateChannel

        public void setProductExpressUpdateChannel​(org.springframework.messaging.MessageChannel productExpressUpdateChannel)