Nuxeo Enterprise Platform 5.4

org.nuxeo.cm.core.caselink
Class UpdateCaseLinkUnrestricted

java.lang.Object
  extended by org.nuxeo.ecm.core.api.UnrestrictedSessionRunner
      extended by org.nuxeo.cm.core.caselink.UpdateCaseLinkUnrestricted

public class UpdateCaseLinkUnrestricted
extends org.nuxeo.ecm.core.api.UnrestrictedSessionRunner

A creator of CaseLink.

Author:
Alexandre Russel

Field Summary
 
Fields inherited from class org.nuxeo.ecm.core.api.UnrestrictedSessionRunner
isUnrestricted
 
Constructor Summary
UpdateCaseLinkUnrestricted(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, CaseLink post)
           
 
Method Summary
 CaseLink getUpdatedPost()
           
 void run()
           
 
Methods inherited from class org.nuxeo.ecm.core.api.UnrestrictedSessionRunner
getOriginatingUsername, runUnrestricted, setOriginatingUsername
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateCaseLinkUnrestricted

public UpdateCaseLinkUnrestricted(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,
                                  CaseLink post)
Parameters:
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 Received
isInitial - Is it an initial sent?
Method Detail

getUpdatedPost

public CaseLink getUpdatedPost()

run

public void run()
         throws org.nuxeo.ecm.core.api.ClientException
Specified by:
run in class org.nuxeo.ecm.core.api.UnrestrictedSessionRunner
Throws:
org.nuxeo.ecm.core.api.ClientException

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.