|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.bea.domingo.map.BaseInstance de.bea.domingo.groupware.Email
public final class Email
Represents a Notes mail document.
Nested Class Summary | |
---|---|
static class |
Email.Importance
Represents all possible values for the importance. |
static class |
Email.Priority
Represents all possible values for the priority. |
Constructor Summary | |
---|---|
Email()
Constructor. |
|
Email(Email memo)
Constructor. |
Method Summary | |
---|---|
void |
addBcc(java.util.List bcc)
Adds list of names to the list of the blind copy recipients. |
void |
addBcc(java.lang.String bcc)
Adds a name to the list of the blind copy recipients. |
void |
addCategories(java.util.Collection categories)
Adds a collection of categories. |
void |
addCategories(java.lang.String category)
Adds a single category. |
void |
addCc(java.util.List sendTo)
|
void |
addCc(java.lang.String sendTo)
|
void |
addHeader(java.lang.String name,
java.lang.String value)
Adds a new header attribute. |
void |
addHeaders(java.util.Map map)
Adds all given attributes to the set of headers. |
void |
addRecipient(java.lang.String recipient)
|
void |
clearHeaders()
Clears all other header information. |
boolean |
containsHeader(java.lang.Object name)
Checks if a header attribute exists. |
java.util.Set |
getAllHeaderNames()
Returns the set of all header names. |
java.util.List |
getBcc()
Returns the list of blind copy recipients. |
java.lang.String |
getBody()
Returns the body of the email as an unformatted string. |
java.util.Set |
getCategories()
Returns an iterator over all categories. |
java.util.List |
getCc()
|
java.util.Calendar |
getDeliveredDate()
Get the Delivery Date/Time. |
java.lang.String |
getFrom()
|
void |
getHeader(java.lang.String name)
Returns the value of a given named header attribute. |
java.util.Map |
getHeaders()
Returns the map of all header attribute. |
Email.Importance |
getImportance()
Returns the importance. |
java.lang.String |
getPrincipal()
|
Email.Priority |
getPriority()
Returns the priority. |
java.util.List |
getRecipients()
|
java.lang.String |
getReplyTo()
|
boolean |
getSaveOnSend()
Returns if the mail should be saved after send or not. |
java.lang.String |
getSubject()
|
java.util.Set |
headerNames()
Returns a set of the names of all available header attributes.. |
void |
removeHeader(java.lang.String name)
Removes a header attribute. |
void |
setBcc(java.util.Collection bcc)
Sets the list of blind copy recipients to a list of names. |
void |
setBcc(java.util.List bcc)
Sets the list of blind copy recipients to a list of names. |
void |
setBcc(java.lang.String bcc)
Sets the list of blind copy recipients to a single name. |
void |
setBody(java.lang.String body)
Sets the body of the email as an unformatted string. |
void |
setCategories(java.util.Set categories)
Sets the set of categories. |
void |
setCc(java.util.Collection copyTo)
|
void |
setCc(java.util.List copyTo)
|
void |
setDeliveredDate(java.util.Calendar deliveredDate)
Set the Delivery Date/Time. |
void |
setFrom(java.lang.String from)
|
void |
setImportance(Email.Importance importance)
Sets the importance. |
void |
setPrincipal(java.lang.String principal)
|
void |
setPriority(Email.Priority priority)
Sets the priority. |
void |
setRecipient(java.lang.String recipients)
Sets the list of recipients to a single name. |
void |
setRecipients(java.util.Collection recipients)
|
void |
setRecipients(java.util.List recipients)
|
void |
setReplyTo(java.lang.String replyTo)
|
void |
setSaveOnSend(boolean saveOnSend)
Sets if the mail should be saved after send or not. |
void |
setSubject(java.lang.String subject)
|
Methods inherited from class de.bea.domingo.map.BaseInstance |
---|
getUnid, setUnid |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Email()
public Email(Email memo)
memo
- another memo for copying data from.Method Detail |
---|
public java.lang.String getSubject()
public void setSubject(java.lang.String subject)
subject
- The subject to setpublic java.util.List getBcc()
public void setBcc(java.util.Collection bcc)
bcc
- list of namespublic void setBcc(java.util.List bcc)
bcc
- list of namespublic void setBcc(java.lang.String bcc)
bcc
- The sendTo to set.public void addBcc(java.lang.String bcc)
bcc
- The sendTo to set.public void addBcc(java.util.List bcc)
bcc
- The sendTo to set.public java.util.List getRecipients()
public void setRecipients(java.util.Collection recipients)
recipients
- The recipients to set.public void setRecipients(java.util.List recipients)
recipients
- The recipients to set.public void setRecipient(java.lang.String recipients)
recipients
- The recipients to set.public void addRecipient(java.lang.String recipient)
recipient
- The recipient to set.public java.util.List getCc()
public void setCc(java.util.Collection copyTo)
copyTo
- The copyTo to set.public void setCc(java.util.List copyTo)
copyTo
- The copyTo to set.public void addCc(java.lang.String sendTo)
sendTo
- The sendTo to set.public void addCc(java.util.List sendTo)
sendTo
- The sendTo to set.public java.lang.String getFrom()
public void setFrom(java.lang.String from)
from
- The from to set.public java.lang.String getPrincipal()
public void setPrincipal(java.lang.String principal)
principal
- The principal to set.public java.lang.String getReplyTo()
public void setReplyTo(java.lang.String replyTo)
replyTo
- The replyTo to set.public java.lang.String getBody()
public void setBody(java.lang.String body)
body
- unformatted bodypublic void addHeader(java.lang.String name, java.lang.String value)
name
- the name of the attributevalue
- the value of the attributepublic void removeHeader(java.lang.String name)
name
- the name of the attributepublic java.util.Set getAllHeaderNames()
public void getHeader(java.lang.String name)
name
- the name of the attributepublic java.util.Map getHeaders()
public void clearHeaders()
public boolean containsHeader(java.lang.Object name)
name
- name of the attribute to check
true
if the attribute exists, else
false
public java.util.Set headerNames()
public void addHeaders(java.util.Map map)
map
- of attributes to addpublic void addCategories(java.util.Collection categories)
categories
- the categories to addpublic void addCategories(java.lang.String category)
category
- the category to addpublic void setCategories(java.util.Set categories)
categories
- the categories to setpublic java.util.Set getCategories()
public Email.Importance getImportance()
public void setImportance(Email.Importance importance)
importance
- importancepublic Email.Priority getPriority()
public void setPriority(Email.Priority priority)
priority
- prioritypublic java.util.Calendar getDeliveredDate()
public void setDeliveredDate(java.util.Calendar deliveredDate)
deliveredDate
- date email was delivered.public boolean getSaveOnSend()
true
if the mail should be saved after send, else false
public void setSaveOnSend(boolean saveOnSend)
The default value is true
.
saveOnSend
- true
if the mail should be saved after send, else false
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |