org.nuxeo.ecm.platform.publisher.impl.core
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
public class RootSectionsPublicationTree
- extends SectionPublicationTree
- Author:
- Thomas Roger
- See Also:
- Serialized Form
Methods inherited from class org.nuxeo.ecm.platform.publisher.impl.core.SectionPublicationTree |
canPublishTo, canUnpublish, 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, getSessionId, getTitle, getTreeConfigName, getTreeTitle, getTreeType, getType, hasValidationTask, validatorPublishDocument, validatorRejectPublication |
RootSectionsPublicationTree
public RootSectionsPublicationTree()
initTree
public void initTree(String sid,
CoreSession coreSession,
Map<String,String> parameters,
PublishedDocumentFactory factory,
String configName,
String title)
throws ClientException
- Specified by:
initTree
in interface PublicationTree
- Overrides:
initTree
in class SectionPublicationTree
- Throws:
ClientException
getChildrenNodes
public List<PublicationNode> getChildrenNodes()
throws ClientException
- Specified by:
getChildrenNodes
in interface PublicationNode
- Overrides:
getChildrenNodes
in class AbstractBasePublicationTree
- Throws:
ClientException
setCurrentDocument
public void setCurrentDocument(DocumentModel currentDocument)
- 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 interface PublicationTree
- Overrides:
setCurrentDocument
in class AbstractBasePublicationTree
- Parameters:
currentDocument
- the current document
getNodeByPath
public PublicationNode getNodeByPath(String path)
throws ClientException
- Specified by:
getNodeByPath
in interface PublicationTree
- Overrides:
getNodeByPath
in class SectionPublicationTree
- Throws:
ClientException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.