public class NuxeoArtifactSerializer extends JSonTreeSerializer
| Modifier and Type | Field and Description |
|---|---|
protected WebContext |
ctx |
protected DistributionSnapshot |
ds |
| Constructor and Description |
|---|
NuxeoArtifactSerializer(WebContext ctx,
DistributionSnapshot ds) |
| Modifier and Type | Method and Description |
|---|---|
String |
getUrl(TreeItem item) |
protected net.sf.json.JSONObject |
item2JSON(TreeItem item,
net.sf.json.JSONArray children) |
protected static boolean |
useEmbeddedMode(WebContext ctx) |
toJSON, toJSON, toJSON, visitprotected final WebContext ctx
protected final DistributionSnapshot ds
public NuxeoArtifactSerializer(WebContext ctx, DistributionSnapshot ds)
protected static boolean useEmbeddedMode(WebContext ctx)
public String getUrl(TreeItem item)
getUrl in class JSonTreeSerializerprotected net.sf.json.JSONObject item2JSON(TreeItem item, net.sf.json.JSONArray children)
item2JSON in class JSonTreeSerializerCopyright © 2020 Nuxeo SA. All rights reserved.