Class RootSectionsPublicationTree
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
- All Implemented Interfaces:
Serializable
,PublicationNode
,PublicationTree
- Direct Known Subclasses:
RenditionPublicationCoreTree
- Author:
- Thomas Roger
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected DocumentModel
protected RootSectionFinder
protected boolean
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
-
Method Summary
Modifier and TypeMethodDescriptiongetNodeByPath
(String path) void
initTree
(CoreSession coreSession, Map<String, String> parameters, PublishedDocumentFactory factory, String configName, String title) void
setCurrentDocument
(DocumentModel currentDocument) Sets the current document on which the tree will be based, if needed.Methods inherited from class org.nuxeo.ecm.platform.publisher.impl.core.SectionPublicationTree
accept, canPublishTo, canUnpublish, getDefaultFactory, getDefaultRootPath, getExistingPublishedDocument, 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 Details
-
currentDocument
-
rootFinder
-
useRootSections
protected boolean useRootSections
-
-
Constructor Details
-
RootSectionsPublicationTree
public RootSectionsPublicationTree()
-
-
Method Details
-
initTree
public void initTree(CoreSession coreSession, Map<String, String> parameters, PublishedDocumentFactory factory, String configName, String title) - Specified by:
initTree
in interfacePublicationTree
- Overrides:
initTree
in classSectionPublicationTree
-
getChildrenNodes
- Specified by:
getChildrenNodes
in interfacePublicationNode
- Overrides:
getChildrenNodes
in classAbstractBasePublicationTree
-
setCurrentDocument
Description copied from interface:PublicationTree
Sets the current document on which the tree will be based, if needed.Can be useful for some implementations that need to know on which document the user is.
- Specified by:
setCurrentDocument
in interfacePublicationTree
- Overrides:
setCurrentDocument
in classAbstractBasePublicationTree
- Parameters:
currentDocument
- the current document
-
getNodeByPath
- Specified by:
getNodeByPath
in interfacePublicationTree
- Overrides:
getNodeByPath
in classSectionPublicationTree
-