Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.publisher.jbpm
Class PublishUnrestricted

java.lang.Object
  extended by org.nuxeo.ecm.core.api.UnrestrictedSessionRunner
      extended by org.nuxeo.ecm.platform.publisher.jbpm.PublishUnrestricted

public class PublishUnrestricted
extends UnrestrictedSessionRunner

Author:
arussel

Field Summary
 
Fields inherited from class org.nuxeo.ecm.core.api.UnrestrictedSessionRunner
isUnrestricted
 
Constructor Summary
PublishUnrestricted(CoreSession session, DocumentModel docToPublish, DocumentModel sectionToPublishTo)
           
PublishUnrestricted(CoreSession session, DocumentModel docToPublish, DocumentModel sectionToPublishTo, boolean overwriteProxy)
           
 
Method Summary
 DocumentModel getModel()
           
 void run()
          This method will be called by UnrestrictedSessionRunner.runUnrestricted() with UnrestrictedSessionRunner.session available as an unrestricted session.
 
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

PublishUnrestricted

public PublishUnrestricted(CoreSession session,
                           DocumentModel docToPublish,
                           DocumentModel sectionToPublishTo)

PublishUnrestricted

public PublishUnrestricted(CoreSession session,
                           DocumentModel docToPublish,
                           DocumentModel sectionToPublishTo,
                           boolean overwriteProxy)
Method Detail

run

public void run()
         throws ClientException
Description copied from class: UnrestrictedSessionRunner
This method will be called by UnrestrictedSessionRunner.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).

Specified by:
run in class UnrestrictedSessionRunner
Throws:
ClientException

getModel

public DocumentModel getModel()

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.