public class Utility extends Object
| Constructor and Description |
|---|
Utility() |
| Modifier and Type | Method and Description |
|---|---|
static com.tinkerpop.blueprints.Vertex |
getEntityByUUID(com.tinkerpop.blueprints.impls.orient.OrientGraph orientGraph,
String entityType,
String uuid) |
static com.tinkerpop.blueprints.Edge |
getRelationByUUID(com.tinkerpop.blueprints.impls.orient.OrientGraph orientGraph,
String relationType,
String uuid) |
static org.codehaus.jettison.json.JSONObject |
toJsonObject(com.tinkerpop.blueprints.Element element,
boolean raw) |
static org.codehaus.jettison.json.JSONObject |
toJsonObject(com.tinkerpop.blueprints.impls.orient.OrientElement element,
boolean raw) |
static String |
toJsonString(com.tinkerpop.blueprints.Element element,
boolean raw) |
static String |
toJsonString(com.orientechnologies.orient.core.record.ORecord oRecord,
boolean raw) |
static String |
toJsonString(com.tinkerpop.blueprints.impls.orient.OrientElement element,
boolean raw) |
public static org.codehaus.jettison.json.JSONObject toJsonObject(com.tinkerpop.blueprints.impls.orient.OrientElement element,
boolean raw)
throws org.codehaus.jettison.json.JSONException
org.codehaus.jettison.json.JSONExceptionpublic static String toJsonString(com.tinkerpop.blueprints.impls.orient.OrientElement element, boolean raw)
public static String toJsonString(com.orientechnologies.orient.core.record.ORecord oRecord, boolean raw)
public static org.codehaus.jettison.json.JSONObject toJsonObject(com.tinkerpop.blueprints.Element element,
boolean raw)
throws org.codehaus.jettison.json.JSONException
org.codehaus.jettison.json.JSONExceptionpublic static String toJsonString(com.tinkerpop.blueprints.Element element, boolean raw)
public static com.tinkerpop.blueprints.Vertex getEntityByUUID(com.tinkerpop.blueprints.impls.orient.OrientGraph orientGraph,
String entityType,
String uuid)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic static com.tinkerpop.blueprints.Edge getRelationByUUID(com.tinkerpop.blueprints.impls.orient.OrientGraph orientGraph,
String relationType,
String uuid)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionCopyright © 2016. All Rights Reserved.