|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface InteractionMail
An e-mail exchanged between a customer and the Call Center. This is
a base class for all e-mail interactions. An InteractionMailIn is an e-mail received by the Call
Center, and an InteractionMailOut is an e-mail sent by the Call
Center.
| Nested Class Summary | |
|---|---|
static class |
InteractionMail.Action
Interaction mail actions. |
| Nested classes/interfaces inherited from interface com.genesyslab.ail.InteractionMultimedia |
|---|
InteractionMultimedia.StopProcessingReason |
| Nested classes/interfaces inherited from interface com.genesyslab.ail.Interaction |
|---|
Interaction.Status, Interaction.Type |
| Nested classes/interfaces inherited from interface com.genesyslab.ail.AbstractInteraction |
|---|
AbstractInteraction.AbstractCallType |
| Field Summary | |
|---|---|
static java.lang.String |
QUOTE_HEADER_CONTACT
The field code for the contact name in the quote phrase. |
static java.lang.String |
QUOTE_HEADER_DATE
The field code for the date in the quote phrase. |
| Method Summary | |
|---|---|
Attachment |
getAttachment(java.lang.String id)
Returns the attached file as an Attachment. |
java.util.List |
getAttachments()
Returns the attached files as a List of
Attachment. |
EmailAddress[] |
getCcAddresses()
Returns the addresses that have received a copy of this e-mail. |
java.util.Date |
getDateSent()
Returns the date when the message was sent. |
EmailAddress |
getFromAddress()
Returns the address from which this e-mail was sent. |
java.lang.String |
getMessageText()
Returns the body of this e-mail. |
javax.mail.internet.MimeMessage |
getMimeMessage()
Returns the whole content of this e-mail as a MIME message. |
EmailAddress[] |
getToAddresses()
Returns the addresses to which this e-mail was sent. |
boolean |
hasAttachments()
Returns true if this e-mail has attached files. |
| Methods inherited from interface com.genesyslab.ail.Interaction |
|---|
answerCall, countOtherPendingInteractions, getContactId, getContentBinary, getContentBinaryMimeType, getContentBinarySize, getDateCreated, getDn, getEndDate, getMedia, getNotepad, getParentInteraction, getPlace, getStatus, getStructTextMimeType, getStructuredText, getSubject, getText, getType, getUserName, isDone, markDone, merge, releaseCall, save, setContactId, setContentBinary, setContentBinaryMimeType, setContentBinarySize, setNotepad, setStructTextMimeType, setStructuredText, setSubject, setText |
| Methods inherited from interface com.genesyslab.ail.AbstractInteraction |
|---|
addInteractionListener, getAttachedData, getAttachedData, getAttachedDataEx, getTConnectionId, queryStatus, removeAttachedData, removeInteractionListener, saveAttachedData, setAttachedData |
| Methods inherited from interface com.genesyslab.ail.Possible |
|---|
arePossible, isPossible |
| Methods inherited from interface com.genesyslab.ail.Savable |
|---|
getContactServerId, isDirty |
| Field Detail |
|---|
static final java.lang.String QUOTE_HEADER_DATE
static final java.lang.String QUOTE_HEADER_CONTACT
| Method Detail |
|---|
java.lang.String getMessageText()
throws RequestFailedException
null.
RequestFailedException
javax.mail.internet.MimeMessage getMimeMessage()
throws RequestFailedException
RequestFailedException
EmailAddress[] getToAddresses()
throws RequestFailedException
RequestFailedException
EmailAddress getFromAddress()
throws RequestFailedException
RequestFailedException
EmailAddress[] getCcAddresses()
throws RequestFailedException
RequestFailedException
java.util.Date getDateSent()
throws RequestFailedException
Interaction.getDateCreated().
RequestFailedException
boolean hasAttachments()
throws RequestFailedException
true if this e-mail has attached files.
RequestFailedException
java.util.List getAttachments()
throws RequestFailedException
List of
Attachment.
RequestFailedException
Attachment getAttachment(java.lang.String id)
throws RequestFailedException
Attachment.
id - identifier of the attachment.
RequestFailedException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||