Nuxeo Enterprise Platform 5.4

org.nuxeo.cm.core.service
Class CreateEmptyCaseUnrestricted

java.lang.Object
  extended by org.nuxeo.ecm.core.api.UnrestrictedSessionRunner
      extended by org.nuxeo.cm.core.service.CreateEmptyCaseUnrestricted

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

Creates an empty case from a given detached documentModel


Field Summary
 
Fields inherited from class org.nuxeo.ecm.core.api.UnrestrictedSessionRunner
isUnrestricted
 
Constructor Summary
CreateEmptyCaseUnrestricted(org.nuxeo.ecm.core.api.CoreSession session, org.nuxeo.ecm.core.api.DocumentModel caseDoc, String parentPath, List<Mailbox> mailbox)
           
 
Method Summary
 org.nuxeo.ecm.core.api.DocumentRef getEmptyCaseDocumentRef()
           
 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

CreateEmptyCaseUnrestricted

public CreateEmptyCaseUnrestricted(org.nuxeo.ecm.core.api.CoreSession session,
                                   org.nuxeo.ecm.core.api.DocumentModel caseDoc,
                                   String parentPath,
                                   List<Mailbox> mailbox)
Method Detail

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

getEmptyCaseDocumentRef

public org.nuxeo.ecm.core.api.DocumentRef getEmptyCaseDocumentRef()

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.