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, getType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getNodeType, getType
protected 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 PublicationNode
public List<PublicationNode> getChildrenNodes()
getChildrenNodes
in interface PublicationNode
protected DocumentModelList getOrderedChildren()
protected Filter computeGetChildrenFilter()
protected DocumentModelList getSortedChildren(boolean queryDocuments)
public String getTitle()
getTitle
in interface PublicationNode
public String getName()
getName
in interface PublicationNode
public PublicationNode getParent()
getParent
in interface PublicationNode
public String getPath()
getPath
in interface PublicationNode
public String getTreeConfigName()
getTreeConfigName
in interface PublicationNode
getTreeConfigName
in class AbstractPublicationNode
public DocumentRef getTargetDocumentRef()
public DocumentModel getTargetDocumentModel()
public String getSessionId()
getSessionId
in interface PublicationNode
Copyright © 2015 Nuxeo SA. All rights reserved.