|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nhindirect.xd.common.DirectMessage
public class DirectMessage
Abstract representation of a message sent via Direct.
| Constructor Summary | |
|---|---|
DirectMessage(String sender,
Collection<String> receivers)
Create a new DirectMessage object. |
|
| Method Summary | |
|---|---|
void |
addDocument(DirectDocument2 document)
|
void |
addDocument(File file)
Deprecated. |
String |
getBody()
Get the value of body. |
DirectDocuments |
getDirectDocuments()
|
Collection<String> |
getReceivers()
Get the value of receivers. |
String |
getSender()
Get the value of sender. |
String |
getSubject()
Get the value of subject. |
void |
setBody(String body)
Set the value of body. |
void |
setDirectDocuments(DirectDocuments directDocuments)
|
void |
setReceivers(Collection<String> receivers)
Set the value of receivers. |
void |
setSender(String sender)
Set the value of sender. |
void |
setSubject(String subject)
Set the value of subject. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DirectMessage(String sender,
Collection<String> receivers)
sender - The value of sender.receivers - The value of receivers.| Method Detail |
|---|
@Deprecated
public void addDocument(File file)
throws Exception
document - The document to add.
Exceptionpublic void addDocument(DirectDocument2 document)
public String getSender()
public void setSender(String sender)
sender - The value of sender.public Collection<String> getReceivers()
public void setReceivers(Collection<String> receivers)
receivers - The value of receivers.public String getBody()
public void setBody(String body)
body - The body to set.public void setSubject(String subject)
subject - The subject to set.public String getSubject()
public DirectDocuments getDirectDocuments()
public void setDirectDocuments(DirectDocuments directDocuments)
directDocuments - the directDocuments to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||