org.nuxeo.cm.core.caselink
Class CreateCaseLink
java.lang.Object
org.nuxeo.cm.core.caselink.CreateCaseLink
public class CreateCaseLink
- extends Object
A creator of CaseLink
.
- Author:
- Alexandre Russel
Constructor Summary |
CreateCaseLink(CaseLink draft,
org.nuxeo.ecm.core.api.CoreSession session,
String subject,
String comment,
Case envelope,
Mailbox sender,
String recipientId,
Map<String,List<String>> internalRecipients,
Map<String,List<String>> externalRecipients,
boolean isSent,
boolean isInitial)
|
CreateCaseLink
public CreateCaseLink(CaseLink draft,
org.nuxeo.ecm.core.api.CoreSession session,
String subject,
String comment,
Case envelope,
Mailbox sender,
String recipientId,
Map<String,List<String>> internalRecipients,
Map<String,List<String>> externalRecipients,
boolean isSent,
boolean isInitial)
- Parameters:
draft
- The draft used to sent this enveloperepositoryName
- The name of the repository in which the
CaseLink
will be created.subject
- The subject of the post.comment
- The comment of the post.envelope
- The envelope sent.mailboxes
- The mailbox of the sender.internalRecipients
- A map of recipients keyed by type of Message
and keyed with a list of mailboxes.isSent
- The post can be Sent or ReceivedisInitial
- Is it an initial sent?
getCreatedPost
public CaseLink getCreatedPost()
create
public void create()
throws org.nuxeo.ecm.core.api.ClientException
- Throws:
org.nuxeo.ecm.core.api.ClientException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.