Class MUserDefWin

    • Constructor Detail

      • MUserDefWin

        public MUserDefWin​(Properties ctx,
                           int ID,
                           String trxName)
        Standard constructor. You must implement this constructor for Adempiere Persistency
        Parameters:
        ctx - context
        ID - the primary key ID
        trxName - transaction
      • MUserDefWin

        public MUserDefWin​(Properties ctx,
                           ResultSet rs,
                           String trxName)
        Optional Load Constructor. You would use this constructor to load several business objects. SELECT * FROM MyModelExample WHERE ...
        Parameters:
        ctx - context
        rs - result set
        trxName - transaction
      • MUserDefWin

        public MUserDefWin​(MUserDefWin copy)
        Parameters:
        copy -
    • Method Detail

      • getBestMatch

        public static MUserDefWin getBestMatch​(Properties ctx,
                                               int window_ID)
        Get best matching MUserDefWin for current window the best match is cached
        Parameters:
        ctx -
        window_ID -
        Returns:
        best matching MUserDefWin
      • beforeSave

        protected boolean beforeSave​(boolean newRecord)
        Description copied from class: PO
        Called before Save for Pre-Save Operation
        Overrides:
        beforeSave in class PO
        Parameters:
        newRecord - new record
        Returns:
        true if record can be saved
      • beforeDelete

        protected boolean beforeDelete()
        Description copied from class: PO
        Executed before Delete operation.
        Overrides:
        beforeDelete in class PO
        Returns:
        true if record can be deleted