public class UpdateCaseLinkUnrestricted extends UnrestrictedSessionRunner
CaseLink.isUnrestricted| Constructor and Description |
|---|
UpdateCaseLinkUnrestricted(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,
CaseLink post) |
| Modifier and Type | Method and Description |
|---|---|
CaseLink |
getUpdatedPost() |
void |
run()
This method will be called by
UnrestrictedSessionRunner.runUnrestricted() with
UnrestrictedSessionRunner.session available as an unrestricted session. |
getOriginatingUsername, runUnrestricted, setOriginatingUsernamepublic UpdateCaseLinkUnrestricted(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, CaseLink post)
repositoryName - 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?public CaseLink getUpdatedPost()
public void run()
throws ClientException
UnrestrictedSessionRunnerUnrestrictedSessionRunner.runUnrestricted() with
UnrestrictedSessionRunner.session available as an unrestricted session.
It can also be called directly in which case the UnrestrictedSessionRunner.session
available will be the one passed to
#UnrestrictedSessionRunner(CoreSession).
run in class UnrestrictedSessionRunnerClientExceptionCopyright © 2011 Nuxeo SA. All Rights Reserved.