Package org.nuxeo.ecm.webengine.ui.json
Class DocumentTreeBuilder
- java.lang.Object
-
- org.nuxeo.ecm.webengine.ui.json.JQueryTreeBuilder<DocumentModel>
-
- org.nuxeo.ecm.webengine.ui.json.DocumentTreeBuilder
-
public class DocumentTreeBuilder extends JQueryTreeBuilder<DocumentModel>
- Author:
- Bogdan Stefanescu
-
-
Field Summary
Fields Modifier and Type Field Description protected CoreSession
session
-
Fields inherited from class org.nuxeo.ecm.webengine.ui.json.JQueryTreeBuilder
CHILDREN
-
-
Constructor Summary
Constructors Constructor Description DocumentTreeBuilder(CoreSession session)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Collection<DocumentModel>
getChildren(DocumentModel obj)
protected String
getName(DocumentModel obj)
protected DocumentModel
getObject(String name)
protected Map<String,Object>
toJson(DocumentModel obj)
-
Methods inherited from class org.nuxeo.ecm.webengine.ui.json.JQueryTreeBuilder
buildChildren, buildChildren, buildTree
-
-
-
-
Field Detail
-
session
protected final CoreSession session
-
-
Constructor Detail
-
DocumentTreeBuilder
public DocumentTreeBuilder(CoreSession session)
-
-
Method Detail
-
getName
protected String getName(DocumentModel obj)
- Specified by:
getName
in classJQueryTreeBuilder<DocumentModel>
-
getChildren
protected Collection<DocumentModel> getChildren(DocumentModel obj)
- Specified by:
getChildren
in classJQueryTreeBuilder<DocumentModel>
-
toJson
protected Map<String,Object> toJson(DocumentModel obj)
- Specified by:
toJson
in classJQueryTreeBuilder<DocumentModel>
-
getObject
protected DocumentModel getObject(String name)
- Specified by:
getObject
in classJQueryTreeBuilder<DocumentModel>
-
-