Class MCtxHelpMsg

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

public class MCtxHelpMsg extends X_AD_CtxHelpMsg implements ImmutablePOSupport
Context Help Message Model
Author:
Carlos Ruiz
See Also:
  • Constructor Details

    • MCtxHelpMsg

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

      public MCtxHelpMsg(Properties ctx, int AD_CtxHelpMsg_ID, String trxName)
      Standard Constructor
      Parameters:
      ctx - context
      AD_CtxHelpMsg_ID -
      trxName - transaction
    • MCtxHelpMsg

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

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

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

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

    • get

      public static MCtxHelpMsg get(String ctxType, int recordId)
      Get the context help message defined for the type, recordid, client, org (immutable)
      Parameters:
      ctxType -
      recordId -
      Returns:
      the context message record
    • get

      public static MCtxHelpMsg get(Properties ctx, String ctxType, int recordId)
      Get the context help message defined for the type, recordid, client, org (immutable)
      Parameters:
      ctx -
      ctxType -
      recordId -
      Returns:
      an immutable instance of context message record (if any)
    • setClientOrg

      public void setClientOrg(int AD_Client_ID, int AD_Org_ID)
      Description copied from class: PO
      Overwrite Client Org if different
      Overrides:
      setClientOrg in class PO
      Parameters:
      AD_Client_ID - client
      AD_Org_ID - org
    • markImmutable

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