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, role, organization or tenant overrides of 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.
      Parameters:
      ctx - context
      ID - the primary key ID
      trxName - transaction
    • MUserDefWin

      public MUserDefWin(Properties ctx, ResultSet rs, String trxName)
      Load Constructor.
      Parameters:
      ctx - context
      rs - result set
      trxName - transaction
    • MUserDefWin

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

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

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

    • getBestMatch

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

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