|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.portal.service.mail.MailItem
public class MailItem
MailIem
Field Summary | |
---|---|
static int |
FORMAT_CALENDAR
|
static int |
FORMAT_HTML
|
static int |
FORMAT_MULTIPART_HTML
|
static int |
FORMAT_MULTIPART_TEXT
|
static int |
FORMAT_TEXT
|
Constructor Summary | |
---|---|
MailItem()
|
Method Summary | |
---|---|
String |
getCalendarMessage()
Returns the calendar message |
boolean |
getCreateEvent()
Check if the calendar event of this mail item should be created or removed |
List<FileAttachment> |
getFilesAttachement()
Returns a collection of files attachement |
int |
getFormat()
Returns the Format |
String |
getMessage()
Returns the Message |
String |
getRecipientsBcc()
Returns the Recipient |
String |
getRecipientsCc()
Returns the Recipient |
String |
getRecipientsTo()
Returns the Recipient |
String |
getSenderEmail()
Returns the SenderEmail |
String |
getSenderName()
Returns the SenderName |
String |
getSubject()
Returns the Subject |
List<UrlAttachment> |
getUrlsAttachement()
return the list of urls attachement |
boolean |
isUniqueRecipientTo()
|
void |
setCalendarMessage(String strCalendarMessage)
Sets the calendar message |
void |
setCreateEvent(boolean bCreateEvent)
Create or remove the event of this mail item |
void |
setFilesAttachement(List<FileAttachment> fileAttachements)
Set a collection of files attachement |
void |
setFormat(int nFormat)
Sets the Format |
void |
setMessage(String strMessage)
Sets the Message |
void |
setRecipientsBcc(String strRecipient)
Sets the Recipient |
void |
setRecipientsCc(String strRecipient)
Sets the Recipient |
void |
setRecipientsTo(String strRecipient)
Sets the Recipient |
void |
setSenderEmail(String strSenderEmail)
Sets the SenderEmail |
void |
setSenderName(String strSenderName)
Sets the SenderName |
void |
setSubject(String strSubject)
Sets the Subject |
void |
setUniqueRecipientTo(boolean bUniqueRecipient)
set true if the mail must be send unitarily for each recipient |
void |
setUrlsAttachement(List<UrlAttachment> urlsAttachement)
set the list of urls attachement |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int FORMAT_HTML
public static final int FORMAT_TEXT
public static final int FORMAT_MULTIPART_HTML
public static final int FORMAT_MULTIPART_TEXT
public static final int FORMAT_CALENDAR
Constructor Detail |
---|
public MailItem()
Method Detail |
---|
public String getRecipientsTo()
public void setRecipientsTo(String strRecipient)
strRecipient
- The Recipientpublic String getRecipientsCc()
public void setRecipientsCc(String strRecipient)
strRecipient
- The Recipientpublic String getRecipientsBcc()
public void setRecipientsBcc(String strRecipient)
strRecipient
- The Recipientpublic String getSenderName()
public void setSenderName(String strSenderName)
strSenderName
- The SenderNamepublic String getSenderEmail()
public void setSenderEmail(String strSenderEmail)
strSenderEmail
- The SenderEmailpublic String getSubject()
public void setSubject(String strSubject)
strSubject
- The Subjectpublic String getMessage()
public void setMessage(String strMessage)
strMessage
- The Messagepublic String getCalendarMessage()
public void setCalendarMessage(String strCalendarMessage)
strCalendarMessage
- The calendar messagepublic boolean getCreateEvent()
public void setCreateEvent(boolean bCreateEvent)
bCreateEvent
- True to create the event, false otherwisepublic int getFormat()
public void setFormat(int nFormat)
nFormat
- The Formatpublic List<FileAttachment> getFilesAttachement()
public void setFilesAttachement(List<FileAttachment> fileAttachements)
fileAttachements
- The collection of files attachementpublic List<UrlAttachment> getUrlsAttachement()
public void setUrlsAttachement(List<UrlAttachment> urlsAttachement)
urlsAttachement
- the list of urls attachementpublic void setUniqueRecipientTo(boolean bUniqueRecipient)
bUniqueRecipient
- true if the mail must be send unitarily for each recipientpublic boolean isUniqueRecipientTo()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |