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.ICON_COLLAPSED_KEY, ICON_EXPANDED_KEY, ROOT_PATH_KEY, TITLE_KEY
Constructor and Description |
---|
CoreTreeWithExternalDocs() |
Modifier and Type | Method and Description |
---|---|
List<PublishedDocument> |
getExistingPublishedDocument(DocumentLocation docLoc) |
PublishedDocument |
publish(DocumentModel doc,
PublicationNode targetNode) |
PublishedDocument |
publish(DocumentModel doc,
PublicationNode targetNode,
Map<String,String> params) |
void |
unpublish(DocumentModel doc,
PublicationNode targetNode) |
void |
unpublish(PublishedDocument publishedDocument) |
PublishedDocument |
wrapToPublishedDocument(DocumentModel documentModel) |
canPublishTo, canUnpublish, getNodeByPath, initTree, isPublicationNode, release, wrapToPublicationNode
canManagePublishing, getChildrenDocuments, getChildrenNodes, getConfigName, getIconCollapsed, getIconExpanded, getName, getNodeType, getParent, getPath, getPublishedDocumentInNode, getSessionId, getTitle, getTreeConfigName, getTreeTitle, getTreeType, getType, hasValidationTask, setCurrentDocument, validatorPublishDocument, validatorRejectPublication
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canManagePublishing, canPublishTo, canUnpublish, getConfigName, getIconCollapsed, getIconExpanded, getNodeByPath, getPublishedDocumentInNode, getTreeTitle, getTreeType, hasValidationTask, initTree, isPublicationNode, release, setCurrentDocument, validatorPublishDocument, validatorRejectPublication, wrapToPublicationNode
getChildrenDocuments, getChildrenNodes, getName, getNodeType, getParent, getPath, getSessionId, getTitle, getTreeConfigName, getType
public List<PublishedDocument> getExistingPublishedDocument(DocumentLocation docLoc) throws ClientException
getExistingPublishedDocument
in interface PublicationTree
getExistingPublishedDocument
in class SectionPublicationTree
ClientException
public PublishedDocument publish(DocumentModel doc, PublicationNode targetNode) throws ClientException
publish
in interface PublicationTree
publish
in class SectionPublicationTree
ClientException
public PublishedDocument publish(DocumentModel doc, PublicationNode targetNode, Map<String,String> params) throws ClientException
publish
in interface PublicationTree
publish
in class SectionPublicationTree
ClientException
public void unpublish(PublishedDocument publishedDocument) throws ClientException
unpublish
in interface PublicationTree
unpublish
in class SectionPublicationTree
ClientException
public void unpublish(DocumentModel doc, PublicationNode targetNode) throws ClientException
unpublish
in interface PublicationTree
unpublish
in class SectionPublicationTree
ClientException
public PublishedDocument wrapToPublishedDocument(DocumentModel documentModel) throws ClientException
wrapToPublishedDocument
in interface PublicationTree
wrapToPublishedDocument
in class SectionPublicationTree
ClientException
Copyright © 2013 Nuxeo SA. All Rights Reserved.