Nuxeo Enterprise Platform 5.4

org.nuxeo.cm.core.service
Class CreateCaseItemUnrestricted

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

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

Creates a new caseItem document from a given document model

Author:
arussel

Field Summary
 
Fields inherited from class org.nuxeo.ecm.core.api.UnrestrictedSessionRunner
isUnrestricted
 
Constructor Summary
CreateCaseItemUnrestricted(org.nuxeo.ecm.core.api.CoreSession session, org.nuxeo.ecm.core.api.DocumentModel doc, Case kase)
           
CreateCaseItemUnrestricted(org.nuxeo.ecm.core.api.CoreSession session, org.nuxeo.ecm.core.api.DocumentModel doc, List<Mailbox> mailboxes)
           
 
Method Summary
 org.nuxeo.ecm.core.api.DocumentRef getDocRef()
           
 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

CreateCaseItemUnrestricted

public CreateCaseItemUnrestricted(org.nuxeo.ecm.core.api.CoreSession session,
                                  org.nuxeo.ecm.core.api.DocumentModel doc,
                                  List<Mailbox> mailboxes)

CreateCaseItemUnrestricted

public CreateCaseItemUnrestricted(org.nuxeo.ecm.core.api.CoreSession session,
                                  org.nuxeo.ecm.core.api.DocumentModel doc,
                                  Case kase)
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

getDocRef

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

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.