public class GraphVariablesUtil extends Object
Modifier and Type | Method and Description |
---|---|
static Map<String,Serializable> |
getVariables(DocumentModel doc,
String facetProp) |
static Map<String,Serializable> |
getVariables(DocumentModel doc,
String facetProp,
boolean mapToJSON) |
static void |
setJSONVariables(DocumentModel doc,
String facetProp,
Map<String,String> map)
Sets the variables of the workflow based on their JSON representation (especially for scalar lists).
|
static void |
setJSONVariables(DocumentModel doc,
String facetProp,
Map<String,String> map,
boolean save) |
static void |
setVariables(DocumentModel doc,
String facetProp,
Map<String,Serializable> map) |
static void |
setVariables(DocumentModel doc,
String facetProp,
Map<String,Serializable> map,
boolean save) |
public static Map<String,Serializable> getVariables(DocumentModel doc, String facetProp, boolean mapToJSON)
public static Map<String,Serializable> getVariables(DocumentModel doc, String facetProp)
public static void setVariables(DocumentModel doc, String facetProp, Map<String,Serializable> map)
public static void setVariables(DocumentModel doc, String facetProp, Map<String,Serializable> map, boolean save)
public static void setJSONVariables(DocumentModel doc, String facetProp, Map<String,String> map)
doc
- facetProp
- map
- save
- public static void setJSONVariables(DocumentModel doc, String facetProp, Map<String,String> map, boolean save)
Copyright © 2015 Nuxeo SA. All rights reserved.