Class MUserMail

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

public class MUserMail extends X_AD_UserMail
User Mail Model
Version:
$Id: MUserMail.java,v 1.2 2006/07/30 00:51:02 jjanke Exp $
Author:
Jorg Janke
See Also:
  • Constructor Details

    • MUserMail

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

      public MUserMail(Properties ctx, int AD_UserMail_ID, String trxName)
      Standard Constructor
      Parameters:
      ctx - context
      AD_UserMail_ID - id
      trxName - trx
    • MUserMail

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

      public MUserMail(MMailText parent, int AD_User_ID, EMail mail)
      User Mail
      Parameters:
      parent - Request Mail Text
      AD_User_ID - recipient user
      mail - email
    • MUserMail

      public MUserMail(PO po, int AD_User_ID, EMail mail)
      New User Mail record (not using trx from po)
      Parameters:
      po - persistent object
      AD_User_ID - recipient user
      mail - email
    • MUserMail

      public MUserMail(Properties ctx, EMail mail)
      New user mail record
      Parameters:
      ctx -
      mail -
  • Method Details

    • isDelivered

      public boolean isDelivered()
      Is it Delivered
      Returns:
      true if yes
    • isDeliveredNo

      public boolean isDeliveredNo()
      Is it not Delivered
      Returns:
      true if deliver status is null or no
    • isDeliveredUnknown

      public boolean isDeliveredUnknown()
      Is Delivered unknown
      Returns:
      true if deliver status is null
    • setSenderAndRecipient

      public void setSenderAndRecipient(EMail mail)
      Fill sender and recipients fields
      Parameters:
      mail -
    • getRecipientWithCommaSeparator

      public static String getRecipientWithCommaSeparator(javax.mail.internet.InternetAddress[] recipients)
      Get comma separated list of recipients
      Parameters:
      recipients -
      Returns:
      comma separated list of recipients