Class InfoProductPanel

  • All Implemented Interfaces:
    Serializable, Cloneable, WTableModelListener, ISupportMask, IHelpContext, org.zkoss.zk.ui.Component, org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>, org.zkoss.zk.ui.ext.Scope, org.zkoss.zk.ui.IdSpace, org.zkoss.zk.ui.sys.ComponentCtrl, org.zkoss.zul.ext.Framable, org.zkoss.zul.ext.Sortable<Object>

    @Deprecated
    public class InfoProductPanel
    extends InfoPanel
    implements org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
    Deprecated.
    Search Product and return selection This class is based on org.compiere.apps.search.InfoPAttribute written by Jorg Janke
    Version:
    InfoPayment.java Adempiere Swing UI 3.4.1
    Author:
    Elaine Zk Port, Elaine
    See Also:
    Serialized Form
    • Constructor Detail

      • InfoProductPanel

        public InfoProductPanel​(int windowNo,
                                int M_Warehouse_ID,
                                int M_PriceList_ID,
                                boolean multipleSelection,
                                String value,
                                String whereClause)
        Deprecated.
        Standard Constructor
        Parameters:
        windowNo - window no
        M_Warehouse_ID - warehouse
        M_PriceList_ID - price list
        multipleSelection -
        value - Query Value or Name if enclosed in @
        whereClause - where clause
      • InfoProductPanel

        public InfoProductPanel​(int windowNo,
                                int M_Warehouse_ID,
                                int M_PriceList_ID,
                                boolean multipleSelection,
                                String value,
                                String whereClause,
                                boolean lookup)
        Deprecated.
        Standard Constructor
        Parameters:
        windowNo - window no
        M_Warehouse_ID - warehouse
        M_PriceList_ID - price list
        multipleSelection -
        value - Query Value or Name if enclosed in @
        whereClause - where clause
        lookup -
    • Method Detail

      • testCount

        protected boolean testCount()
        Deprecated.
        IDEMPIERE-337 Override InfoPanel.testCount() to allow counting distinct rows
        Overrides:
        testCount in class InfoPanel
        Returns:
        true if display
      • getSQLWhere

        public String getSQLWhere()
        Deprecated.
        Construct SQL Where Clause and define parameters (setParameters needs to set parameters) Includes first AND
        Specified by:
        getSQLWhere in class InfoPanel
        Returns:
        SQL WHERE clause
      • showHistory

        protected void showHistory()
        Deprecated.
        Show History
        Overrides:
        showHistory in class InfoPanel
      • hasHistory

        protected boolean hasHistory()
        Deprecated.
        Has History
        Overrides:
        hasHistory in class InfoPanel
        Returns:
        true (has history)
      • zoom

        public void zoom()
        Deprecated.
        Zoom
        Overrides:
        zoom in class InfoPanel
      • hasZoom

        protected boolean hasZoom()
        Deprecated.
        Has Zoom
        Overrides:
        hasZoom in class InfoPanel
        Returns:
        (has zoom)
      • customize

        protected void customize()
        Deprecated.
        Customize
        Overrides:
        customize in class InfoPanel
      • hasCustomize

        protected boolean hasCustomize()
        Deprecated.
        Has Customize
        Overrides:
        hasCustomize in class InfoPanel
        Returns:
        false (no customize)
      • saveSelectionDetail

        protected void saveSelectionDetail()
        Deprecated.
        Save Selection Settings for PriceList
        Overrides:
        saveSelectionDetail in class InfoPanel
      • getProductLayout

        protected ColumnInfo[] getProductLayout()
        Deprecated.
        Get Product Layout
        Returns:
        array of Column_Info
      • onEvent

        public void onEvent​(org.zkoss.zk.ui.event.Event e)
        Deprecated.
        Specified by:
        onEvent in interface org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
        Overrides:
        onEvent in class InfoPanel
      • enableButtons

        protected void enableButtons()
        Deprecated.
        Enable PAttribute if row selected/changed
        Overrides:
        enableButtons in class InfoPanel
      • getM_Product_Category_ID

        public int getM_Product_Category_ID()
        Deprecated.
      • getM_AttributeSet_ID

        public int getM_AttributeSet_ID()
        Deprecated.