Class MUserDefInfo

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

public class MUserDefInfo extends X_AD_UserDef_Info
User overrides for Info Window Model
Version:
$Id$
Author:
Igor Pojzl, Cloudempiere
See Also:
  • Constructor Details

    • MUserDefInfo

      public MUserDefInfo(Properties ctx, String AD_UserDef_Info_UU, String trxName)
      UUID based Constructor
      Parameters:
      ctx - Context
      AD_UserDef_Info_UU - UUID key
      trxName - Transaction
    • 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 Details

    • 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