org.nuxeo.ecm.platform.publisher.remoting.server
Class CoreTreeWithExternalDocs
java.lang.Object
org.nuxeo.ecm.platform.publisher.api.AbstractBasePublicationTree
org.nuxeo.ecm.platform.publisher.impl.core.SectionPublicationTree
org.nuxeo.ecm.platform.publisher.remoting.server.CoreTreeWithExternalDocs
- All Implemented Interfaces:
- Serializable, PublicationNode, PublicationTree
public class CoreTreeWithExternalDocs
- extends SectionPublicationTree
- implements PublicationTree
PublicationTree
implementation that supports having plain Documents
directly inside the sections. This is typically used for Remote
PublicationTree
implementation that will store proxies for locally
published documents and complete DocumentModel
for remote published
Documents.
- Author:
- tiry
- See Also:
- Serialized Form
Methods inherited from class org.nuxeo.ecm.platform.publisher.api.AbstractBasePublicationTree |
canManagePublishing, getChildrenDocuments, getChildrenNodes, getConfigName, getIconCollapsed, getIconExpanded, getName, getNodeType, getParent, getPath, getPublishedDocumentInNode, getSessionId, getTitle, getTreeConfigName, getTreeTitle, getTreeType, getType, hasValidationTask, setCurrentDocument, validatorPublishDocument, validatorRejectPublication |
Methods inherited from interface org.nuxeo.ecm.platform.publisher.api.PublicationTree |
canManagePublishing, canPublishTo, canUnpublish, getConfigName, getIconCollapsed, getIconExpanded, getNodeByPath, getPublishedDocumentInNode, getTreeTitle, getTreeType, hasValidationTask, initTree, isPublicationNode, release, setCurrentDocument, validatorPublishDocument, validatorRejectPublication, wrapToPublicationNode |
CoreTreeWithExternalDocs
public CoreTreeWithExternalDocs()
getExistingPublishedDocument
public List<PublishedDocument> getExistingPublishedDocument(DocumentLocation docLoc)
throws ClientException
- Specified by:
getExistingPublishedDocument
in interface PublicationTree
- Overrides:
getExistingPublishedDocument
in class SectionPublicationTree
- Throws:
ClientException
publish
public PublishedDocument publish(DocumentModel doc,
PublicationNode targetNode)
throws ClientException
- Specified by:
publish
in interface PublicationTree
- Overrides:
publish
in class SectionPublicationTree
- Throws:
ClientException
publish
public PublishedDocument publish(DocumentModel doc,
PublicationNode targetNode,
Map<String,String> params)
throws ClientException
- Specified by:
publish
in interface PublicationTree
- Overrides:
publish
in class SectionPublicationTree
- Throws:
ClientException
unpublish
public void unpublish(PublishedDocument publishedDocument)
throws ClientException
- Specified by:
unpublish
in interface PublicationTree
- Overrides:
unpublish
in class SectionPublicationTree
- Throws:
ClientException
unpublish
public void unpublish(DocumentModel doc,
PublicationNode targetNode)
throws ClientException
- Specified by:
unpublish
in interface PublicationTree
- Overrides:
unpublish
in class SectionPublicationTree
- Throws:
ClientException
wrapToPublishedDocument
public PublishedDocument wrapToPublishedDocument(DocumentModel documentModel)
throws ClientException
- Specified by:
wrapToPublishedDocument
in interface PublicationTree
- Overrides:
wrapToPublishedDocument
in class SectionPublicationTree
- Throws:
ClientException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.