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, role, organization or tenant overrides of 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.
      Parameters:
      ctx - Context
      AD_UserDef_Info_ID - Primary Key ID
      trxName - Transaction name
    • MUserDefInfo

      public MUserDefInfo(Properties ctx, ResultSet rs, String trxName)
      Load Constructor.
      Parameters:
      ctx - Context
      rs - Result set
      trxName - Transaction name
  • Method Details

    • getBestMatch

      public static MUserDefInfo getBestMatch(Properties ctx, int infowindow_ID)
      Get best matching MUserDefInfo for an info window, the best match is cached.
      Parameters:
      ctx -
      infowindow_ID -
      Returns:
      best matching MUserDefInfo or null
    • beforeSave

      protected boolean beforeSave(boolean newRecord)
      Description copied from class: PO
      Called before Save for Pre-Save Operation.
      Default implementation is nop, to be implemented in sub-classes that needed it.
      Overrides:
      beforeSave in class PO
      Parameters:
      newRecord - true if it is a new record
      Returns:
      true if record can be saved
    • beforeDelete

      protected boolean beforeDelete()
      Description copied from class: PO
      Execute before Delete operations.
      Default implementation is nop, to be implemented in sub-classes that needed it.
      Overrides:
      beforeDelete in class PO
      Returns:
      true if record can be deleted