psdi.common.emailstner

Class MailData

  • java.lang.Object
    • psdi.common.emailstner.MailData


  • public class MailData
    extends java.lang.Object
    A class to represent the Mail Data received from mail server
    • Field Detail

      • handleCidImages

        protected boolean handleCidImages
        Flag to determine whether Content ID images will be handled.
      • msgBodyContainsHtml

        protected boolean msgBodyContainsHtml
        msgBody contains HTML content.
      • msgBodyContainsCidUris

        protected boolean msgBodyContainsCidUris
        msgBody HTML content contains Content-ID URIs.
    • Constructor Detail

      • MailData

        public MailData()
    • Method Detail

      • getConvertCidUris

        public boolean getConvertCidUris()
      • setConvertCidUris

        public void setConvertCidUris()
      • getFrom

        public java.lang.String getFrom()
        Returns from
        Returns:
        the email from
      • setFrom

        public void setFrom(java.lang.String string)
        Sets the from
        Parameters:
        string - from
      • getTo

        public java.lang.String getTo()
        Returns the TO
        Returns:
        the TO
      • setTo

        public void setTo(java.lang.String str)
        sets the TO
        Parameters:
        string - TO
      • getCC

        public java.lang.String getCC()
        Returns the CC
        Returns:
        the CC
      • setCC

        public void setCC(java.lang.String str)
        sets the CC
        Parameters:
        string - CC
      • getBCC

        public java.lang.String getBCC()
        Returns the BCC
        Returns:
        the BCC
      • setBCC

        public void setBCC(java.lang.String str)
        sets the BCC
        Parameters:
        string - BCC
      • getSubject

        public java.lang.String getSubject()
        Returns the Subject
        Returns:
        the Subject
      • setSubject

        public void setSubject(java.lang.String str)
        sets the Subject
        Parameters:
        string - Subject
      • getPriority

        public java.lang.String getPriority()
        Returns the priority
        Returns:
        the priority
      • setPriority

        public void setPriority(java.lang.String mailPriority)
        sets the priority
        Parameters:
        int - priority
      • getMailer

        public java.lang.String getMailer()
        Returns the mailer
        Returns:
        the mailer
      • setMailer

        public void setMailer(java.lang.String name)
        sets the priority
        Parameters:
        int - priority
      • getReceiveDate

        public java.util.Date getReceiveDate()
        Returns the receive date
        Returns:
        the receive date
      • setReceiveDate

        public void setReceiveDate(java.util.Date d)
        sets the receiveDate
        Parameters:
        Date - receiveDate
      • getSentDate

        public java.util.Date getSentDate()
        Returns the sent date
        Returns:
        the sent date
      • setSentDate

        public void setSentDate(java.util.Date d)
        sets the sent Date
        Parameters:
        Date - sent Date
      • getMessageBody

        public java.lang.String getMessageBody()
        Returns the message body
        Returns:
        the message body
      • setMessageBody

        public void setMessageBody(java.lang.String str)
        sets the message body
        Parameters:
        byte[] - message body
      • getBodyParts

        public java.util.Vector getBodyParts()
        Returns the message body parts
        Returns:
        the message body parts
      • setBodyParts

        public void setBodyParts(java.util.Vector v)
        sets the message body parts
        Parameters:
        message - body parts
      • getReplyTo

        public java.lang.String getReplyTo()
        Returns the reply to
        Returns:
        the reply to
      • setReplyTo

        public void setReplyTo(java.lang.String str)
        sets the ReplyTo
        Parameters:
        string - replyTo
      • getMailId

        public java.lang.String getMailId()
        Returns the mail id
        Returns:
        the mail id
      • setMailId

        public void setMailId(java.lang.String str)
        sets the mailID
        Parameters:
        string - mailID
      • getPersonId

        public java.lang.String getPersonId()
        Returns the person id for sender
        Returns:
        the person id
      • setPersonId

        public void setPersonId(java.lang.String str)
        sets the person id for sender
        Parameters:
        string - person id
      • getObjectName

        public java.lang.String getObjectName()
        Returns the the person id for sender
        Returns:
        the object Name
      • setObjectName

        public void setObjectName(java.lang.String str)
        sets the object Name
        Parameters:
        string - object Name
      • getAction

        public java.lang.String getAction()
        Returns the action specified in email
        Returns:
        the action
      • setAction

        public void setAction(java.lang.String str)
        sets the object Name
        Parameters:
        string - object Name
      • getStatus

        public int getStatus()
        Returns the status of email
        Returns:
        the status
      • setStatus

        public void setStatus(int id)
        sets the email status
        Parameters:
        int - status id
      • setInbCommUserInfo

        public void setInbCommUserInfo(UserInfo ui)
        Sets the userinfo for the sender
        Parameters:
        ui -
      • getInbCommUserInfo

        public UserInfo getInbCommUserInfo()
        gets the userinfo for the sender
        Parameters:
        ui -
      • setMsgBodyContainsHtml

        public void setMsgBodyContainsHtml()
        Set msgBodyContainsHtml true
      • setHandleCidImages

        public void setHandleCidImages()
                                throws java.rmi.RemoteException
        Set handleCidImages based on mxe.listener.process.ciimages
        Throws:
        java.rmi.RemoteException
      • setMsgBodyContainsCidUris

        public void setMsgBodyContainsCidUris()
        Set msgBodyContainsCidUris true
      • getImgSrcCidUris

        public java.util.List getImgSrcCidUris()
        Get imgSrcCidUris
        Returns:
        imgSrcCidUris A list of image source Content-ID URIs.
      • setImgSrcCidUris

        public void setImgSrcCidUris(java.util.List imgSrcUris)
        Set imgSrcUris
        Parameters:
        imgSrcUris - Incoming image source URIs from the msgBody
      • getMimeBodyPartImageCids

        public java.util.List getMimeBodyPartImageCids()
        Get mimeBodyPartImageCids
        Returns:
        mimeBodyPartImageCids A list of MIME body part image Content-IDs.
      • setMimeBodyPartImageCids

        public void setMimeBodyPartImageCids(java.util.List bodyPartCids)
        Get mimeBodyPartImageCids
        Parameters:
        bodyPartCids - Incoming list of MIME body part image Content-IDs.