public class RootSectionsPublicationTree extends SectionPublicationTree
CAN_ASK_FOR_PUBLISHING
ICON_COLLAPSED_KEY, ICON_EXPANDED_KEY, ROOT_PATH_KEY, TITLE_KEY
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.
|
canPublishTo, canUnpublish, 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
equals, 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
public void initTree(String sid, CoreSession coreSession, Map<String,String> parameters, PublishedDocumentFactory factory, String configName, String title) throws ClientException
initTree
in interface PublicationTree
initTree
in class SectionPublicationTree
ClientException
public List<PublicationNode> getChildrenNodes() throws ClientException
getChildrenNodes
in interface PublicationNode
getChildrenNodes
in class AbstractBasePublicationTree
ClientException
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) throws ClientException
getNodeByPath
in interface PublicationTree
getNodeByPath
in class SectionPublicationTree
ClientException
Copyright © 2015 Nuxeo SA. All rights reserved.