public class ElementManagementUtility extends Object
| Constructor and Description |
|---|
ElementManagementUtility() |
| Modifier and Type | Method and Description |
|---|---|
static com.orientechnologies.orient.core.record.OElement |
getAnyElementByUUID(com.orientechnologies.orient.core.db.document.ODatabaseDocument oDatabaseDocument,
UUID uuid) |
static com.orientechnologies.orient.core.record.OElement |
getAnyElementByUUID(UUID uuid) |
static <E extends com.orientechnologies.orient.core.record.OElement> |
getElementFromOptional(Optional<E> optional) |
static EntityManagement<?,?> |
getEntityManagement(SecurityContext workingContext,
com.orientechnologies.orient.core.db.document.ODatabaseDocument oDatabaseDocument,
com.orientechnologies.orient.core.record.OVertex vertex) |
static ElementManagement<?,?> |
getERManagement(SecurityContext workingContext,
com.orientechnologies.orient.core.db.document.ODatabaseDocument orientGraph,
com.orientechnologies.orient.core.record.OElement element) |
static ElementManagement<?,?> |
getERManagement(String type) |
static ElementManagement<?,?> |
getERManagementFromUUID(SecurityContext workingContext,
com.orientechnologies.orient.core.db.document.ODatabaseDocument orientGraph,
UUID uuid) |
static com.orientechnologies.orient.core.metadata.schema.OClass |
getOClass(com.orientechnologies.orient.core.record.OElement oElement) |
static RelationManagement<?,?> |
getRelationManagement(SecurityContext workingContext,
com.orientechnologies.orient.core.db.document.ODatabaseDocument oDatabaseDocument,
com.orientechnologies.orient.core.record.OEdge edge) |
public static ElementManagement<?,?> getERManagement(String type) throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic static ElementManagement<?,?> getERManagement(SecurityContext workingContext, com.orientechnologies.orient.core.db.document.ODatabaseDocument orientGraph, com.orientechnologies.orient.core.record.OElement element) throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic static com.orientechnologies.orient.core.record.OElement getAnyElementByUUID(UUID uuid) throws org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic static com.orientechnologies.orient.core.record.OElement getAnyElementByUUID(com.orientechnologies.orient.core.db.document.ODatabaseDocument oDatabaseDocument,
UUID uuid)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic static ElementManagement<?,?> getERManagementFromUUID(SecurityContext workingContext, com.orientechnologies.orient.core.db.document.ODatabaseDocument orientGraph, UUID uuid) throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic static EntityManagement<?,?> getEntityManagement(SecurityContext workingContext, com.orientechnologies.orient.core.db.document.ODatabaseDocument oDatabaseDocument, com.orientechnologies.orient.core.record.OVertex vertex) throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic static RelationManagement<?,?> getRelationManagement(SecurityContext workingContext, com.orientechnologies.orient.core.db.document.ODatabaseDocument oDatabaseDocument, com.orientechnologies.orient.core.record.OEdge edge) throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic static <E extends com.orientechnologies.orient.core.record.OElement> E getElementFromOptional(Optional<E> optional) throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic static com.orientechnologies.orient.core.metadata.schema.OClass getOClass(com.orientechnologies.orient.core.record.OElement oElement)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionCopyright © 2022. All Rights Reserved.