Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.publisher.impl.core
Class RootSectionsPublicationTree

java.lang.Object
  extended by org.nuxeo.ecm.platform.publisher.api.AbstractBasePublicationTree
      extended by org.nuxeo.ecm.platform.publisher.impl.core.SectionPublicationTree
          extended by 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

Field Summary
 
Fields inherited from class org.nuxeo.ecm.platform.publisher.api.AbstractBasePublicationTree
ICON_COLLAPSED_KEY, ICON_EXPANDED_KEY, ROOT_PATH_KEY, TITLE_KEY
 
Constructor Summary
RootSectionsPublicationTree()
           
 
Method Summary
 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.
 
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.nuxeo.ecm.platform.publisher.api.PublicationTree
canManagePublishing, getConfigName, getIconCollapsed, getIconExpanded, getPublishedDocumentInNode, getTreeTitle, getTreeType, hasValidationTask, validatorPublishDocument, validatorRejectPublication
 
Methods inherited from interface org.nuxeo.ecm.platform.publisher.api.PublicationNode
getChildrenDocuments, getName, getNodeType, getParent, getPath, getSessionId, getTitle, getTreeConfigName, getType
 

Constructor Detail

RootSectionsPublicationTree

public RootSectionsPublicationTree()
Method Detail

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

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.