Class MWindow

    • Constructor Detail

      • MWindow

        public MWindow​(Properties ctx,
                       int AD_Window_ID,
                       String trxName)
        Standard Constructor
        Parameters:
        ctx - context
        AD_Window_ID -
        trxName - transaction
      • MWindow

        public MWindow​(Properties ctx,
                       ResultSet rs,
                       String trxName)
        Koad Constructor
        Parameters:
        ctx - context
        rs - result set
        trxName - transaction
      • MWindow

        public MWindow​(MWindow copy)
        Parameters:
        copy -
      • MWindow

        public MWindow​(Properties ctx,
                       MWindow copy)
        Parameters:
        ctx -
        copy -
    • Method Detail

      • get

        public static MWindow get​(int AD_Window_ID)
        Get Window from Cache (immutable)
        Parameters:
        AD_Window_ID - id
        Returns:
        MWindow
      • get

        public static MWindow get​(Properties ctx,
                                  int AD_Window_ID)
        Get Window from Cache (immutable)
        Parameters:
        ctx - context
        AD_Window_ID - id
        Returns:
        MWindow
      • get

        public static MWindow get​(Properties ctx,
                                  String uu)
        get Window ID by UU
        Parameters:
        ctx - context
        uu - AD_Window_UU
        Returns:
        MWindow object
      • setWindowSize

        public void setWindowSize​(Dimension size)
        Set Window Size
        Parameters:
        size - size
      • getTabs

        public MTab[] getTabs​(boolean reload,
                              String trxName)
        Get Fields
        Parameters:
        reload - reload data
        trxName - transaction
        Returns:
        array of lines
      • afterSave

        protected boolean afterSave​(boolean newRecord,
                                    boolean success)
        After Save
        Overrides:
        afterSave in class PO
        Parameters:
        newRecord - new
        success - success
        Returns:
        success
      • getWFNodes

        public static MWFNode[] getWFNodes​(Properties ctx,
                                           String whereClause,
                                           String trxName)
        Get workflow nodes with where clause. Is here as MWFNode is in base
        Parameters:
        ctx - context
        whereClause - where clause w/o the actual WHERE
        trxName - transaction
        Returns:
        nodes
      • getWindow_ID

        public static int getWindow_ID​(String windowName)
        get Window ID
        Parameters:
        windowName - String
        Returns:
        int retValue