public class CoreFolderPublicationNode extends AbstractPublicationNode implements PublicationNode
PublicationNode for Simple Core Folders.| Modifier and Type | Field and Description |
|---|---|
protected PublishedDocumentFactory |
factory |
protected DocumentModel |
folder |
protected PublicationNode |
parent |
protected String |
sid |
protected String |
treeConfigName |
treeName| Constructor and Description |
|---|
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) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
buildChildrenWhereClause(boolean queryDocuments) |
protected Filter |
computeGetChildrenFilter() |
List<PublishedDocument> |
getChildrenDocuments() |
List<PublicationNode> |
getChildrenNodes() |
protected CoreSession |
getCoreSession() |
String |
getName() |
protected DocumentModelList |
getOrderedChildren() |
PublicationNode |
getParent() |
String |
getPath() |
String |
getSessionId() |
protected DocumentModelList |
getSortedChildren(boolean queryDocuments) |
DocumentModel |
getTargetDocumentModel() |
DocumentRef |
getTargetDocumentRef() |
String |
getTitle() |
String |
getTreeConfigName() |
getNodeType, getTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNodeType, getTypeprotected DocumentModel folder
protected PublicationNode parent
protected String treeConfigName
protected PublishedDocumentFactory factory
public CoreFolderPublicationNode(DocumentModel doc, PublicationTree tree, PublishedDocumentFactory factory)
public CoreFolderPublicationNode(DocumentModel doc, PublicationTree tree, PublicationNode parent, PublishedDocumentFactory factory)
public CoreFolderPublicationNode(DocumentModel doc, String treeConfigName, String sid, PublicationNode parent, PublishedDocumentFactory factory)
public CoreFolderPublicationNode(DocumentModel doc, String treeConfigName, String sid, PublishedDocumentFactory factory)
protected CoreSession getCoreSession()
protected String buildChildrenWhereClause(boolean queryDocuments)
public List<PublishedDocument> getChildrenDocuments()
getChildrenDocuments in interface PublicationNodepublic List<PublicationNode> getChildrenNodes()
getChildrenNodes in interface PublicationNodeprotected DocumentModelList getOrderedChildren()
protected Filter computeGetChildrenFilter()
protected DocumentModelList getSortedChildren(boolean queryDocuments)
public String getTitle()
getTitle in interface PublicationNodepublic String getName()
getName in interface PublicationNodepublic PublicationNode getParent()
getParent in interface PublicationNodepublic String getPath()
getPath in interface PublicationNodepublic String getTreeConfigName()
getTreeConfigName in interface PublicationNodegetTreeConfigName in class AbstractPublicationNodepublic DocumentRef getTargetDocumentRef()
public DocumentModel getTargetDocumentModel()
public String getSessionId()
getSessionId in interface PublicationNodeCopyright © 2016 Nuxeo SA. All rights reserved.