Class InfoCashLine

    • Constructor Detail

      • InfoCashLine

        public InfoCashLine​(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
    • 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