public class SimpleExternalDocumentModelFactory extends AbstractBasePublishedDocumentFactory implements PublishedDocumentFactory
PublishedDocumentFactory
implementation that creates DocumentModel
instead of simple proxies.coreSession, ENABLE_SNAPSHOT, eventProducer, parameters, publicationTree, TARGET_PUBLISHED_DOCUMENT_STATE, validatorsRule
Constructor and Description |
---|
SimpleExternalDocumentModelFactory() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
needToVersionDocument(DocumentModel doc) |
PublishedDocument |
publishDocument(DocumentModel doc,
PublicationNode targetNode,
Map<String,String> params) |
PublishedDocument |
wrapDocumentModel(DocumentModel doc) |
canManagePublishing, getEventProducer, getName, getParameter, getTargetPublishedDocumentState, getValidatorsFor, getValidatorsRule, hasValidationTask, init, init, isSnapshotingEnabled, notifyEvent, notifyEvent, publishDocument, snapshotDocumentBeforePublish, validatorPublishDocument, validatorRejectPublication
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canManagePublishing, getName, getValidatorsFor, getValidatorsRule, hasValidationTask, init, init, publishDocument, snapshotDocumentBeforePublish, validatorPublishDocument, validatorRejectPublication
public SimpleExternalDocumentModelFactory()
public PublishedDocument publishDocument(DocumentModel doc, PublicationNode targetNode, Map<String,String> params)
publishDocument
in interface PublishedDocumentFactory
protected boolean needToVersionDocument(DocumentModel doc)
needToVersionDocument
in class AbstractBasePublishedDocumentFactory
public PublishedDocument wrapDocumentModel(DocumentModel doc)
wrapDocumentModel
in interface PublishedDocumentFactory
Copyright © 2015 Nuxeo SA. All rights reserved.