Class CoreFolderPublicationNode
- java.lang.Object
-
- org.nuxeo.ecm.platform.publisher.api.AbstractPublicationNode
-
- org.nuxeo.ecm.platform.publisher.impl.core.CoreFolderPublicationNode
-
- All Implemented Interfaces:
Serializable
,PublicationNode
public class CoreFolderPublicationNode extends AbstractPublicationNode
Implementation of thePublicationNode
for Simple Core Folders.- Author:
- tiry
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected List<PublicationNode>
childrenNodes
protected PublishedDocumentFactory
factory
protected DocumentModel
folder
protected PublicationNode
parent
-
Fields inherited from class org.nuxeo.ecm.platform.publisher.api.AbstractPublicationNode
tree
-
-
Constructor Summary
Constructors Constructor Description CoreFolderPublicationNode(DocumentModel doc, PublicationTree tree, PublicationNode parent, PublishedDocumentFactory factory)
CoreFolderPublicationNode(DocumentModel doc, PublicationTree tree, PublishedDocumentFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
protected DocumentModelList
getSortedChildren(boolean queryDocuments)
DocumentModel
getTargetDocumentModel()
DocumentRef
getTargetDocumentRef()
String
getTitle()
-
Methods inherited from class org.nuxeo.ecm.platform.publisher.api.AbstractPublicationNode
getNodeType, getTree, getType
-
-
-
-
Field Detail
-
folder
protected DocumentModel folder
-
parent
protected PublicationNode parent
-
childrenNodes
protected List<PublicationNode> childrenNodes
-
factory
protected PublishedDocumentFactory factory
-
-
Constructor Detail
-
CoreFolderPublicationNode
public CoreFolderPublicationNode(DocumentModel doc, PublicationTree tree, PublicationNode parent, PublishedDocumentFactory factory)
-
CoreFolderPublicationNode
public CoreFolderPublicationNode(DocumentModel doc, PublicationTree tree, PublishedDocumentFactory factory)
-
-
Method Detail
-
getCoreSession
protected CoreSession getCoreSession()
-
buildChildrenWhereClause
protected String buildChildrenWhereClause(boolean queryDocuments)
-
getChildrenDocuments
public List<PublishedDocument> getChildrenDocuments()
-
getChildrenNodes
public List<PublicationNode> getChildrenNodes()
-
getOrderedChildren
protected DocumentModelList getOrderedChildren()
-
computeGetChildrenFilter
protected Filter computeGetChildrenFilter()
-
getSortedChildren
protected DocumentModelList getSortedChildren(boolean queryDocuments)
-
getParent
public PublicationNode getParent()
-
getTargetDocumentRef
public DocumentRef getTargetDocumentRef()
-
getTargetDocumentModel
public DocumentModel getTargetDocumentModel()
-
-