public class CaseLinkRequestImpl extends Object implements CaseLink
CaseLink.CaseLinkState, CaseLink.CaseLinkTransistion| Constructor and Description |
|---|
CaseLinkRequestImpl(String sender,
Calendar date,
String subject,
String comment,
Case envelope,
Map<String,List<String>> internalRecipients,
Map<String,List<String>> externalRecipients) |
CaseLinkRequestImpl(String sender,
Date date,
String subject,
String comment,
Case envelope,
Map<String,List<String>> internalRecipients,
Map<String,List<String>> externalRecipients) |
| Modifier and Type | Method and Description |
|---|---|
void |
addInitialExternalParticipants(Map<String,List<String>> recipients)
Adds to the list of initial external recipients.
|
void |
addInitialInternalParticipants(Map<String,List<String>> recipients)
Adds to the list of initial internal recipients.
|
void |
addParticipants(Map<String,List<String>> recipients)
Adds to the list of recipients.
|
Map<String,List<String>> |
getAllParticipants()
Gets the list of all recipients keyed by type.
|
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.
|
Map<String,List<String>> |
getInitialExternalParticipants()
Gets the list of initial external recipients keyed by type.
|
Map<String,List<String>> |
getInitialInternalParticipants()
Gets the list of initial internal recipients keyed by type.
|
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 |
getSubjet() |
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) |
public CaseLinkRequestImpl(String sender, Calendar date, String subject, String comment, Case envelope, Map<String,List<String>> internalRecipients, Map<String,List<String>> externalRecipients)
public Map<String,List<String>> getAllParticipants()
HasParticipantsgetAllParticipants in interface HasParticipantspublic String getComment()
CaseLinkgetComment in interface CaseLinkpublic Case getCase(CoreSession session)
CaseLinkpublic String getCaseId()
CaseLinkpublic Map<String,List<String>> getInitialInternalParticipants()
HasParticipantsgetInitialInternalParticipants in interface HasParticipantspublic Map<String,List<String>> getInitialExternalParticipants()
HasParticipantsgetInitialExternalParticipants in interface HasParticipantspublic String getSubject()
CaseLinkgetSubject in interface CaseLinkpublic String getSenderMailboxId()
CaseLinkgetSenderMailboxId in interface CaseLinkpublic Date getSentDate()
CaseLinkgetSentDate in interface CaseLinkpublic String getSubjet()
public String getType()
CaseLinkpublic boolean isRead()
CaseLinkpublic void save(CoreSession session)
CaseLinkpublic DocumentModel getDocument()
CaseLinkgetDocument in interface CaseLinkpublic boolean isDraft()
CaseLinkpublic void addInitialExternalParticipants(Map<String,List<String>> recipients)
HasParticipantsaddInitialExternalParticipants in interface HasParticipantsrecipients - A map keyed with the message type and valued with a
list of Mailboxpublic void addInitialInternalParticipants(Map<String,List<String>> recipients)
HasParticipantsaddInitialInternalParticipants in interface HasParticipantsrecipients - A map keyed with the message type and valued with a
list of Mailboxpublic void addParticipants(Map<String,List<String>> recipients)
HasParticipantsaddParticipants in interface HasParticipantsrecipients - A map keyed with the message type and valued with a
list of Mailboxpublic void setActionnable(boolean actionnable)
setActionnable in interface CaseLinkpublic boolean isActionnable()
isActionnable in interface CaseLinkCopyright © 2012 Nuxeo SA. All Rights Reserved.