Class InfoPayment

    • Constructor Detail

      • InfoPayment

        public InfoPayment​(Frame frame,
                           boolean modal,
                           int WindowNo,
                           String value,
                           boolean multiSelection,
                           String whereClause)
        Detail Protected Contructor
        Parameters:
        frame - parent frame
        modal - modal
        WindowNo - window no
        value - query value
        multiSelection - multiple selections
        whereClause - whwre clause
      • InfoPayment

        public InfoPayment​(Frame frame,
                           boolean modal,
                           int WindowNo,
                           String value,
                           boolean multiSelection,
                           String whereClause,
                           boolean lookup)
        Detail Protected Contructor
        Parameters:
        frame - parent frame
        modal - modal
        WindowNo - window no
        value - query value
        multiSelection - multiple selections
        whereClause - whwre clause
        lookup -
    • Method Detail

      • getSQLWhere

        protected String getSQLWhere()
        Construct SQL Where Clause and define parameters (setParameters needs to set parameters) Includes first AND
        Specified by:
        getSQLWhere in class Info
        Returns:
        sql where clause
      • setParameters

        protected void setParameters​(PreparedStatement pstmt,
                                     boolean forCount)
                              throws SQLException
        Set Parameters for Query. (as defined in getSQLWhere)
        Specified by:
        setParameters in class Info
        Parameters:
        pstmt - statement
        forCount - for counting records
        Throws:
        SQLException
      • zoom

        protected void zoom()
        Zoom
        Overrides:
        zoom in class Info
      • hasZoom

        protected boolean hasZoom()
        Has Zoom
        Overrides:
        hasZoom in class Info
        Returns:
        true