Class MUserPreference

    • Method Detail

      • setAD_User_ID

        public void setAD_User_ID​(int AD_User_ID)
        Set User/Contact.
        Specified by:
        setAD_User_ID in interface I_AD_UserPreference
        Overrides:
        setAD_User_ID in class X_AD_UserPreference
        Parameters:
        AD_User_ID - User within the system - Internal or Business Partner Contact Overridden to allow saving System record (zero ID)
      • getUserPreference

        public static MUserPreference getUserPreference​(int AD_User_ID,
                                                        int AD_Client_ID)
      • getUserPreference

        public static MUserPreference getUserPreference​(int AD_User_ID,
                                                        int AD_Client_ID,
                                                        String trxName)
      • getPreference

        public String getPreference​(String key)
      • fillPreferences

        public void fillPreferences()
      • 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
      • afterSave

        protected boolean afterSave​(boolean newRecord,
                                    boolean success)
        Description copied from class: PO
        Called after Save for Post-Save Operation
        Overrides:
        afterSave in class PO
        Parameters:
        newRecord - new record
        success - true if save operation was success
        Returns:
        if save was a success