Class MUserDefInfo

    • Constructor Detail

      • MUserDefInfo

        public MUserDefInfo​(Properties ctx,
                            int AD_UserDef_Info_ID,
                            String trxName)
        Standard constructor. You must implement this constructor for Adempiere Persistency
        Parameters:
        ctx - Context
        AD_UserDef_Info_ID - Primary Key ID
        trxName - Transaction name
      • MUserDefInfo

        public MUserDefInfo​(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 name
    • Method Detail

      • getBestMatch

        public static MUserDefInfo getBestMatch​(Properties ctx,
                                                int infowindow_ID)
        Get best matching MUserDefWin for current window the best match is cached
        Parameters:
        ctx -
        infowindow_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