public interface CaseLink extends HasParticipants, Serializable
Case
in a Mailbox
.
When a Mailbox send a MailEnvelope, a CorrespondencePost is created in its
Mailbox and a CorrespondenceMessage
is created in each of the
recipients Mailbox.
Modifier and Type | Interface and Description |
---|---|
static class |
CaseLink.CaseLinkState |
static class |
CaseLink.CaseLinkTransistion |
Modifier and Type | Method and Description |
---|---|
Case |
getCase(CoreSession session)
The mail envelope sent.
|
String |
getCaseId()
Gets the Id of the associated Case;
|
String |
getComment()
Gets the comment.
|
Date |
getDate()
Gets the date.
|
DocumentModel |
getDocument()
Gets the document model.
|
String |
getId()
Gets the id of the post.
|
String |
getSender()
Gets the sender.
|
String |
getSenderMailboxId()
Gets the sender mailbox id.
|
Date |
getSentDate()
Gets the send date of the post.
|
String |
getSubject()
Gets the subject.
|
String |
getType()
Gets the type of the message.
|
boolean |
isActionnable() |
boolean |
isDraft()
Is it a draft?
|
boolean |
isRead()
Returns true if this message has been read.
|
void |
save(CoreSession session)
Persists the post.
|
void |
setActionnable(boolean actionnable) |
addInitialExternalParticipants, addInitialInternalParticipants, addParticipants, getAllParticipants, getInitialExternalParticipants, getInitialInternalParticipants
DocumentModel getDocument()
String getId()
String getSubject()
String getComment()
Date getDate()
String getSender()
String getSenderMailboxId()
Case getCase(CoreSession session)
String getCaseId()
Date getSentDate()
String getType()
boolean isRead()
void save(CoreSession session)
boolean isDraft()
void setActionnable(boolean actionnable)
boolean isActionnable()
Copyright © 2013 Nuxeo SA. All Rights Reserved.