public class MailData
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
COMPLETE
email status is COMPLETE
|
static int |
ERROR
email status is Error
|
static int |
INPROCESS
email status is Inprocess
|
static int |
INVALID
email status is Invalid
|
static int |
NEW
email status is New
|
static int |
WORKFLOW
email status is Workflow
|
Constructor and Description |
---|
MailData() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAction()
Returns the action specified in email
|
java.lang.String |
getBCC()
Returns the BCC
|
java.util.Vector |
getBodyParts()
Returns the message body parts
|
java.lang.String |
getCC()
Returns the CC
|
java.lang.String |
getFrom()
Returns from
|
UserInfo |
getInbCommUserInfo()
gets the userinfo for the sender
|
java.lang.String |
getMailer()
Returns the mailer
|
java.lang.String |
getMailId()
Returns the mail id
|
java.lang.String |
getMessageBody()
Returns the message body
|
java.lang.String |
getObjectName()
Returns the the person id for sender
|
java.lang.String |
getPersonId()
Returns the person id for sender
|
java.lang.String |
getPriority()
Returns the priority
|
java.util.Date |
getReceiveDate()
Returns the receive date
|
java.lang.String |
getReplyTo()
Returns the reply to
|
java.util.Date |
getSentDate()
Returns the sent date
|
int |
getStatus()
Returns the status of email
|
java.lang.String |
getSubject()
Returns the Subject
|
java.lang.String |
getTo()
Returns the TO
|
void |
setAction(java.lang.String str)
sets the object Name
|
void |
setBCC(java.lang.String str)
sets the BCC
|
void |
setBodyParts(java.util.Vector v)
sets the message body parts
|
void |
setCC(java.lang.String str)
sets the CC
|
void |
setFrom(java.lang.String string)
Sets the from
|
void |
setInbCommUserInfo(UserInfo ui)
Sets the userinfo for the sender
|
void |
setMailer(java.lang.String name)
sets the priority
|
void |
setMailId(java.lang.String str)
sets the mailID
|
void |
setMessageBody(java.lang.String str)
sets the message body
|
void |
setObjectName(java.lang.String str)
sets the object Name
|
void |
setPersonId(java.lang.String str)
sets the person id for sender
|
void |
setPriority(java.lang.String mailPriority)
sets the priority
|
void |
setReceiveDate(java.util.Date d)
sets the receiveDate
|
void |
setReplyTo(java.lang.String str)
sets the ReplyTo
|
void |
setSentDate(java.util.Date d)
sets the sent Date
|
void |
setStatus(int id)
sets the email status
|
void |
setSubject(java.lang.String str)
sets the Subject
|
void |
setTo(java.lang.String str)
sets the TO
|
public static final int NEW
public static final int ERROR
public static final int INVALID
public static final int INPROCESS
public static final int WORKFLOW
public static final int COMPLETE
public java.lang.String getFrom()
public void setFrom(java.lang.String string)
string
- frompublic java.lang.String getTo()
public void setTo(java.lang.String str)
string
- TOpublic java.lang.String getCC()
public void setCC(java.lang.String str)
string
- CCpublic java.lang.String getBCC()
public void setBCC(java.lang.String str)
string
- BCCpublic java.lang.String getSubject()
public void setSubject(java.lang.String str)
string
- Subjectpublic java.lang.String getPriority()
public void setPriority(java.lang.String mailPriority)
int
- prioritypublic java.lang.String getMailer()
public void setMailer(java.lang.String name)
int
- prioritypublic java.util.Date getReceiveDate()
public void setReceiveDate(java.util.Date d)
Date
- receiveDatepublic java.util.Date getSentDate()
public void setSentDate(java.util.Date d)
Date
- sent Datepublic java.lang.String getMessageBody()
public void setMessageBody(java.lang.String str)
byte[]
- message bodypublic java.util.Vector getBodyParts()
public void setBodyParts(java.util.Vector v)
message
- body partspublic java.lang.String getReplyTo()
public void setReplyTo(java.lang.String str)
string
- replyTopublic java.lang.String getMailId()
public void setMailId(java.lang.String str)
string
- mailIDpublic java.lang.String getPersonId()
public void setPersonId(java.lang.String str)
string
- person idpublic java.lang.String getObjectName()
public void setObjectName(java.lang.String str)
string
- object Namepublic java.lang.String getAction()
public void setAction(java.lang.String str)
string
- object Namepublic int getStatus()
public void setStatus(int id)
int
- status idpublic void setInbCommUserInfo(UserInfo ui)
ui
- public UserInfo getInbCommUserInfo()
ui
-