Class InfoAssignment

    • Constructor Detail

      • InfoAssignment

        public InfoAssignment​(Frame frame,
                              boolean modal,
                              int WindowNo,
                              String value,
                              boolean multiSelection,
                              String whereClause)
        Constructor
        Parameters:
        frame - frame
        modal - modal
        WindowNo - WindowNo
        value - Query value Name or Value if contains numbers
        multiSelection - multiple selection
        whereClause - where clause
      • InfoAssignment

        public InfoAssignment​(Frame frame,
                              boolean modal,
                              int WindowNo,
                              String value,
                              boolean multiSelection,
                              String whereClause,
                              boolean lookup)
        Constructor
        Parameters:
        frame - frame
        modal - modal
        WindowNo - WindowNo
        value - Query value Name or Value if contains numbers
        multiSelection - multiple selection
        whereClause - where clause
        lookup -
    • Method Detail

      • getSQLWhere

        protected String getSQLWhere()
        Get dynamic WHERE part of SQL To be overwritten by concrete classes
        Specified by:
        getSQLWhere in class Info
        Returns:
        WHERE clause
      • setParameters

        protected void setParameters​(PreparedStatement pstmt,
                                     boolean forCount)
                              throws SQLException
        Set Parameters for Query To be overwritten by concrete classes
        Specified by:
        setParameters in class Info
        Parameters:
        pstmt - pstmt
        forCount - for counting records
        Throws:
        SQLException
      • showHistory

        protected void showHistory()
        History dialog To be overwritten by concrete classes
        Overrides:
        showHistory in class Info
      • hasHistory

        protected boolean hasHistory()
        Has History (false) To be overwritten by concrete classes
        Overrides:
        hasHistory in class Info
        Returns:
        true if it has history (default false)
      • customize

        protected void customize()
        Customize dialog To be overwritten by concrete classes
        Overrides:
        customize in class Info
      • hasCustomize

        protected boolean hasCustomize()
        Has Customize (false) To be overwritten by concrete classes
        Overrides:
        hasCustomize in class Info
        Returns:
        true if it has customize (default false)
      • zoom

        protected void zoom()
        Zoom action To be overwritten by concrete classes
        Overrides:
        zoom in class Info
      • hasZoom

        protected boolean hasZoom()
        Has Zoom (false) To be overwritten by concrete classes
        Overrides:
        hasZoom in class Info
        Returns:
        true if it has zoom (default false)
      • saveSelectionDetail

        protected void saveSelectionDetail()
        Save Selection Details To be overwritten by concrete classes
        Overrides:
        saveSelectionDetail in class Info