Class MUserPreference

All Implemented Interfaces:
Serializable, Cloneable, Comparator<Object>, I_AD_UserPreference, I_Persistent, Evaluatee

public class MUserPreference extends X_AD_UserPreference
See Also:
  • Constructor Details

    • MUserPreference

      public MUserPreference(Properties ctx, String AD_UserPreference_UU, String trxName)
      UUID based Constructor
      Parameters:
      ctx - Context
      AD_UserPreference_UU - UUID key
      trxName - Transaction
    • MUserPreference

      public MUserPreference(Properties ctx, int AD_UserPreference_ID, String trxName)
    • MUserPreference

      public MUserPreference(Properties ctx, ResultSet rs, String trxName)
  • Method Details

    • 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