Nuxeo ECM Projects 5.4.3-SNAPSHOT

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

java.lang.Object
  extended by org.nuxeo.ecm.platform.publisher.api.AbstractPublicationNode
      extended by org.nuxeo.ecm.platform.publisher.impl.core.CoreFolderPublicationNode
All Implemented Interfaces:
Serializable, PublicationNode

public class CoreFolderPublicationNode
extends AbstractPublicationNode
implements PublicationNode

Implementation of the PublicationNode for Simple Core Folders.

Author:
tiry
See Also:
Serialized Form

Constructor Summary
CoreFolderPublicationNode(DocumentModel doc, PublicationTree tree, PublicationNode parent, PublishedDocumentFactory factory)
           
CoreFolderPublicationNode(DocumentModel doc, PublicationTree tree, PublishedDocumentFactory factory)
           
CoreFolderPublicationNode(DocumentModel doc, String treeConfigName, String sid, PublicationNode parent, PublishedDocumentFactory factory)
           
CoreFolderPublicationNode(DocumentModel doc, String treeConfigName, String sid, PublishedDocumentFactory factory)
           
 
Method Summary
 List<PublishedDocument> getChildrenDocuments()
           
 List<PublicationNode> getChildrenNodes()
           
 String getName()
           
 PublicationNode getParent()
           
 String getPath()
           
 String getSessionId()
           
 DocumentModel getTargetDocumentModel()
           
 DocumentRef getTargetDocumentRef()
           
 String getTitle()
           
 String getTreeConfigName()
           
 
Methods inherited from class org.nuxeo.ecm.platform.publisher.api.AbstractPublicationNode
getNodeType, getType
 
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.PublicationNode
getNodeType, getType
 

Constructor Detail

CoreFolderPublicationNode

public CoreFolderPublicationNode(DocumentModel doc,
                                 PublicationTree tree,
                                 PublishedDocumentFactory factory)
                          throws ClientException
Throws:
ClientException

CoreFolderPublicationNode

public CoreFolderPublicationNode(DocumentModel doc,
                                 PublicationTree tree,
                                 PublicationNode parent,
                                 PublishedDocumentFactory factory)
                          throws ClientException
Throws:
ClientException

CoreFolderPublicationNode

public CoreFolderPublicationNode(DocumentModel doc,
                                 String treeConfigName,
                                 String sid,
                                 PublicationNode parent,
                                 PublishedDocumentFactory factory)
                          throws ClientException
Throws:
ClientException

CoreFolderPublicationNode

public CoreFolderPublicationNode(DocumentModel doc,
                                 String treeConfigName,
                                 String sid,
                                 PublishedDocumentFactory factory)
                          throws ClientException
Throws:
ClientException
Method Detail

getChildrenDocuments

public List<PublishedDocument> getChildrenDocuments()
                                             throws ClientException
Specified by:
getChildrenDocuments in interface PublicationNode
Throws:
ClientException

getChildrenNodes

public List<PublicationNode> getChildrenNodes()
                                       throws ClientException
Specified by:
getChildrenNodes in interface PublicationNode
Throws:
ClientException

getTitle

public String getTitle()
                throws ClientException
Specified by:
getTitle in interface PublicationNode
Throws:
ClientException

getName

public String getName()
               throws ClientException
Specified by:
getName in interface PublicationNode
Throws:
ClientException

getParent

public PublicationNode getParent()
Specified by:
getParent in interface PublicationNode

getPath

public String getPath()
Specified by:
getPath in interface PublicationNode

getTreeConfigName

public String getTreeConfigName()
Specified by:
getTreeConfigName in interface PublicationNode
Overrides:
getTreeConfigName in class AbstractPublicationNode

getTargetDocumentRef

public DocumentRef getTargetDocumentRef()

getTargetDocumentModel

public DocumentModel getTargetDocumentModel()

getSessionId

public String getSessionId()
Specified by:
getSessionId in interface PublicationNode

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.