Class MUserDefProc

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

public class MUserDefProc extends X_AD_UserDef_Proc implements ImmutablePOSupport
Model class for Process Customizations
Author:
raphael.gildo (devCoffee, www.devcoffee.com.br)
See Also:
  • Constructor Details

    • MUserDefProc

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

      public MUserDefProc(Properties ctx, int AD_UserDef_Proc_ID, String trxName)
      Parameters:
      ctx -
      AD_UserDef_Proc_ID -
      trxName -
    • MUserDefProc

      public MUserDefProc(Properties ctx, ResultSet rs, String trxName)
      Parameters:
      ctx -
      rs -
      trxName -
    • MUserDefProc

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

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

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

    • getBestMatch

      public static MUserDefProc getBestMatch(Properties ctx, int AD_Process_ID)
    • 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 MUserDefProc markImmutable()
      Description copied from interface: ImmutablePOSupport
      mark PO as immutable
      Specified by:
      markImmutable in interface ImmutablePOSupport
      Returns:
      PO