org.nuxeo.ecm.platform.publisher.jbpm
Class PublishUnrestricted
java.lang.Object
org.nuxeo.ecm.core.api.UnrestrictedSessionRunner
org.nuxeo.ecm.platform.publisher.jbpm.PublishUnrestricted
public class PublishUnrestricted
- extends UnrestrictedSessionRunner
- Author:
- arussel
PublishUnrestricted
public PublishUnrestricted(CoreSession session,
DocumentModel docToPublish,
DocumentModel sectionToPublishTo)
PublishUnrestricted
public PublishUnrestricted(CoreSession session,
DocumentModel docToPublish,
DocumentModel sectionToPublishTo,
boolean overwriteProxy)
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()
Copyright © 2011 Nuxeo SAS. All Rights Reserved.