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, treeRoot
configName, 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, wrapToPublishedDocument
canManagePublishing, getChildrenDocuments, getConfigName, getIconCollapsed, getIconExpanded, getName, getNodeType, getParent, getPath, getPublishedDocumentInNode, getSessionId, getTitle, getTreeConfigName, getTreeTitle, getTreeType, getType, hasValidationTask, validatorPublishDocument, validatorRejectPublication
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canManagePublishing, getConfigName, getIconCollapsed, getIconExpanded, getPublishedDocumentInNode, getTreeTitle, getTreeType, hasValidationTask, validatorPublishDocument, validatorRejectPublication
getChildrenDocuments, getName, getNodeType, getParent, getPath, getSessionId, getTitle, getTreeConfigName, getType
protected 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 PublicationTree
initTree
in class SectionPublicationTree
public List<PublicationNode> getChildrenNodes()
getChildrenNodes
in interface PublicationNode
getChildrenNodes
in class AbstractBasePublicationTree
public void setCurrentDocument(DocumentModel currentDocument)
PublicationTree
Can be useful for some implementations that need to know on which document the user is.
setCurrentDocument
in interface PublicationTree
setCurrentDocument
in class AbstractBasePublicationTree
currentDocument
- the current documentpublic PublicationNode getNodeByPath(String path)
getNodeByPath
in interface PublicationTree
getNodeByPath
in class SectionPublicationTree
Copyright © 2015 Nuxeo SA. All rights reserved.