Class MUserDefWin

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

public class MUserDefWin extends X_AD_UserDef_Win implements ImmutablePOSupport
User overrides for window model
Version:
$Id$
Author:
Dirk Niemeyer, action42 GmbH
See Also:
  • Constructor Details

    • MUserDefWin

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

      public MUserDefWin(Properties ctx, int ID, String trxName)
      Standard constructor. You must implement this constructor for Adempiere Persistency
      Parameters:
      ctx - context
      ID - the primary key ID
      trxName - transaction
    • MUserDefWin

      public MUserDefWin(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
    • MUserDefWin

      public MUserDefWin(MUserDefWin copy)
      Parameters:
      copy -
    • MUserDefWin

      public MUserDefWin(Properties ctx, MUserDefWin copy)
      Parameters:
      ctx -
      copy -
    • MUserDefWin

      public MUserDefWin(Properties ctx, MUserDefWin copy, String trxName)
      Parameters:
      ctx -
      copy -
      trxName -
  • Method Details

    • getBestMatch

      public static MUserDefWin getBestMatch(Properties ctx, int window_ID)
      Get best matching MUserDefWin for current window the best match is cached
      Parameters:
      ctx -
      window_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
    • markImmutable

      public MUserDefWin markImmutable()
      Description copied from interface: ImmutablePOSupport
      mark PO as immutable
      Specified by:
      markImmutable in interface ImmutablePOSupport
      Returns:
      PO