Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.platform.publisher.web
Class PublishActionsBean.ApproverWithoutRestriction

java.lang.Object
  extended by org.nuxeo.ecm.core.api.UnrestrictedSessionRunner
      extended by org.nuxeo.ecm.platform.publisher.web.PublishActionsBean.ApproverWithoutRestriction
Enclosing class:
PublishActionsBean

public class PublishActionsBean.ApproverWithoutRestriction
extends UnrestrictedSessionRunner


Field Summary
 String comment
           
 PublishedDocument doc
           
 DocumentModel liveDocument
           
 DocumentModel sourceDocument
           
 
Fields inherited from class org.nuxeo.ecm.core.api.UnrestrictedSessionRunner
isUnrestricted
 
Constructor Summary
PublishActionsBean.ApproverWithoutRestriction(PublishedDocument doc, String comment, CoreSession session)
           
 
Method Summary
 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
 

Field Detail

sourceDocument

public DocumentModel sourceDocument

liveDocument

public DocumentModel liveDocument

comment

public String comment

doc

public PublishedDocument doc
Constructor Detail

PublishActionsBean.ApproverWithoutRestriction

public PublishActionsBean.ApproverWithoutRestriction(PublishedDocument doc,
                                                     String comment,
                                                     CoreSession session)
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

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.