Class InfoAsset

    • Constructor Detail

      • InfoAsset

        public InfoAsset​(Frame frame,
                         boolean modal,
                         int WindowNo,
                         int A_Asset_ID,
                         String value,
                         boolean multiSelection,
                         String whereClause)
        Standard Constructor
        Parameters:
        frame - frame
        modal - modal
        WindowNo - window no
        A_Asset_ID - asset
        value - Query Value or Name if enclosed in @
        multiSelection - multiple selections
        whereClause - where clause
      • InfoAsset

        public InfoAsset​(Frame frame,
                         boolean modal,
                         int WindowNo,
                         int A_Asset_ID,
                         String value,
                         boolean multiSelection,
                         String whereClause,
                         boolean lookup)
        Standard Constructor
        Parameters:
        frame - frame
        modal - modal
        WindowNo - window no
        A_Asset_ID - asset
        value - Query Value or Name if enclosed in @
        multiSelection - multiple selections
        whereClause - where 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:
        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 - pstmt
        forCount - for counting records
        Throws:
        SQLException
      • saveSelectionDetail

        public void saveSelectionDetail()
        Save Selection Details Get Location/Partner Info
        Overrides:
        saveSelectionDetail in class Info
      • showHistory

        protected void showHistory()
        Show History
        Overrides:
        showHistory in class Info
      • hasHistory

        protected boolean hasHistory()
        Has History
        Overrides:
        hasHistory in class Info
        Returns:
        true
      • zoom

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

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

        protected void customize()
        Customize
        Overrides:
        customize in class Info
      • hasCustomize

        protected boolean hasCustomize()
        Has Customize
        Overrides:
        hasCustomize in class Info
        Returns:
        false