public class RootSectionsPublicationTree extends SectionPublicationTree
| Modifier and Type | Field and Description |
|---|---|
protected DocumentModel |
currentDocument |
protected RootSectionFinder |
rootFinder |
protected boolean |
useRootSections |
CAN_ASK_FOR_PUBLISHING, DEFAULT_ROOT_PATH, sessionId, treeRootconfigName, coreSession, factory, ICON_COLLAPSED_KEY, ICON_EXPANDED_KEY, iconCollapsed, iconExpanded, ROOT_PATH_KEY, rootNode, rootPath, sid, TITLE_KEY, treeTitle| Constructor and Description |
|---|
RootSectionsPublicationTree() |
| Modifier and Type | Method and Description |
|---|---|
List<PublicationNode> |
getChildrenNodes() |
PublicationNode |
getNodeByPath(String path) |
void |
initTree(String sid,
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.
|
accept, canPublishTo, canUnpublish, getCoreSession, getDefaultFactory, getDefaultRootPath, getExistingPublishedDocument, isPublicationNode, publish, publish, release, unpublish, unpublish, wrapToPublicationNode, wrapToPublishedDocumentcanManagePublishing, getChildrenDocuments, getConfigName, getIconCollapsed, getIconExpanded, getName, getNodeType, getParent, getPath, getPublishedDocumentInNode, getSessionId, getTitle, getTreeConfigName, getTreeTitle, getTreeType, getType, hasValidationTask, validatorPublishDocument, validatorRejectPublicationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanManagePublishing, getConfigName, getIconCollapsed, getIconExpanded, getPublishedDocumentInNode, getTreeTitle, getTreeType, hasValidationTask, validatorPublishDocument, validatorRejectPublicationgetChildrenDocuments, getName, getNodeType, getParent, getPath, getSessionId, getTitle, getTreeConfigName, getTypeprotected DocumentModel currentDocument
protected RootSectionFinder rootFinder
protected boolean useRootSections
public RootSectionsPublicationTree()
public void initTree(String sid, CoreSession coreSession, Map<String,String> parameters, PublishedDocumentFactory factory, String configName, String title)
initTree in interface PublicationTreeinitTree in class SectionPublicationTreepublic List<PublicationNode> getChildrenNodes()
getChildrenNodes in interface PublicationNodegetChildrenNodes in class AbstractBasePublicationTreepublic void setCurrentDocument(DocumentModel currentDocument)
PublicationTreeCan be useful for some implementations that need to know on which document the user is.
setCurrentDocument in interface PublicationTreesetCurrentDocument in class AbstractBasePublicationTreecurrentDocument - the current documentpublic PublicationNode getNodeByPath(String path)
getNodeByPath in interface PublicationTreegetNodeByPath in class SectionPublicationTreeCopyright © 2016 Nuxeo SA. All rights reserved.