Class RenditionPublicationCoreTree
- java.lang.Object
-
- org.nuxeo.ecm.platform.publisher.api.AbstractBasePublicationTree
-
- org.nuxeo.ecm.platform.publisher.impl.core.SectionPublicationTree
-
- org.nuxeo.ecm.platform.publisher.impl.core.RootSectionsPublicationTree
-
- org.nuxeo.ecm.platform.rendition.publisher.RenditionPublicationCoreTree
-
- All Implemented Interfaces:
Serializable
,PublicationNode
,PublicationTree
public class RenditionPublicationCoreTree extends RootSectionsPublicationTree
Implementation ofPublicationTree
that retrieve also any published Rendition documents for the given document.- Since:
- 5.4.1
- Author:
- Thomas Roger, Tiry
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
RENDITION_PUBLISHED_DOCUMENTS_FROM_LIVE_DOCUMENT
static String
RENDITION_PUBLISHED_DOCUMENTS_FROM_PROXY_DOCUMENT
-
Fields inherited from class org.nuxeo.ecm.platform.publisher.impl.core.RootSectionsPublicationTree
currentDocument, rootFinder, useRootSections
-
Fields inherited from class org.nuxeo.ecm.platform.publisher.impl.core.SectionPublicationTree
CAN_ASK_FOR_PUBLISHING, DEFAULT_ROOT_PATH, treeRoot
-
Fields inherited from class org.nuxeo.ecm.platform.publisher.api.AbstractBasePublicationTree
configName, coreSession, factory, ICON_COLLAPSED_KEY, ICON_EXPANDED_KEY, iconCollapsed, iconExpanded, ROOT_PATH_KEY, rootNode, rootPath, TITLE_KEY, treeTitle
-
-
Constructor Summary
Constructors Constructor Description RenditionPublicationCoreTree()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<PublishedDocument>
getExistingPublishedDocument(DocumentLocation docLoc)
protected List<PublishedDocument>
getPublishedDocumentsFromLiveDocument(DocumentRef docRef)
protected List<PublishedDocument>
getPublishedDocumentsFromProxyDocument(DocumentRef docRef, DocumentModel sourceDocument)
-
Methods inherited from class org.nuxeo.ecm.platform.publisher.impl.core.RootSectionsPublicationTree
getChildrenNodes, getNodeByPath, initTree, setCurrentDocument
-
Methods inherited from class org.nuxeo.ecm.platform.publisher.impl.core.SectionPublicationTree
accept, canPublishTo, canUnpublish, getDefaultFactory, getDefaultRootPath, isPublicationNode, publish, publish, release, unpublish, unpublish, wrapToPublicationNode, wrapToPublishedDocument
-
Methods inherited from class org.nuxeo.ecm.platform.publisher.api.AbstractBasePublicationTree
canManagePublishing, getChildrenDocuments, getConfigName, getIconCollapsed, getIconExpanded, getName, getNodeType, getParent, getPath, getPublishedDocumentInNode, getPublishedDocumentsFor, getTitle, getTree, getTreeTitle, getTreeType, getType, hasValidationTask, validatorPublishDocument, validatorRejectPublication
-
-
-
-
Field Detail
-
RENDITION_PUBLISHED_DOCUMENTS_FROM_PROXY_DOCUMENT
public static final String RENDITION_PUBLISHED_DOCUMENTS_FROM_PROXY_DOCUMENT
- See Also:
- Constant Field Values
-
RENDITION_PUBLISHED_DOCUMENTS_FROM_LIVE_DOCUMENT
public static final String RENDITION_PUBLISHED_DOCUMENTS_FROM_LIVE_DOCUMENT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getExistingPublishedDocument
public List<PublishedDocument> getExistingPublishedDocument(DocumentLocation docLoc)
- Specified by:
getExistingPublishedDocument
in interfacePublicationTree
- Overrides:
getExistingPublishedDocument
in classSectionPublicationTree
-
getPublishedDocumentsFromProxyDocument
protected List<PublishedDocument> getPublishedDocumentsFromProxyDocument(DocumentRef docRef, DocumentModel sourceDocument)
-
getPublishedDocumentsFromLiveDocument
protected List<PublishedDocument> getPublishedDocumentsFromLiveDocument(DocumentRef docRef)
-
-