public class ElementManagementUtility extends Object
| Constructor and Description |
|---|
ElementManagementUtility() |
| Modifier and Type | Method and Description |
|---|---|
static com.orientechnologies.orient.core.record.OElement |
getAnyElementByUUID(UUID uuid) |
static org.gcube.informationsystem.base.reference.AccessType |
getBaseAccessType(String type) |
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 RelationManagement |
getRelationManagement(SecurityContext workingContext,
com.orientechnologies.orient.core.db.document.ODatabaseDocument oDatabaseDocument,
com.orientechnologies.orient.core.record.OEdge edge) |
static com.orientechnologies.orient.core.metadata.schema.OClass |
getTypeSchema(com.orientechnologies.orient.core.db.document.ODatabaseDocument oDatabaseDocument,
String type,
org.gcube.informationsystem.base.reference.AccessType accessType) |
static com.orientechnologies.orient.core.metadata.schema.OClass |
getTypeSchema(com.orientechnologies.orient.core.metadata.schema.OSchema oSchema,
String type,
org.gcube.informationsystem.base.reference.AccessType accessType) |
static com.orientechnologies.orient.core.metadata.schema.OClass |
getTypeSchema(String type,
org.gcube.informationsystem.base.reference.AccessType accessType) |
public static org.gcube.informationsystem.base.reference.AccessType getBaseAccessType(String type) throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic 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 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 com.orientechnologies.orient.core.metadata.schema.OClass getTypeSchema(com.orientechnologies.orient.core.db.document.ODatabaseDocument oDatabaseDocument,
String type,
org.gcube.informationsystem.base.reference.AccessType accessType)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.schema.SchemaException,
org.gcube.informationsystem.resourceregistry.api.exceptions.schema.SchemaNotFoundException
org.gcube.informationsystem.resourceregistry.api.exceptions.schema.SchemaExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.schema.SchemaNotFoundExceptionpublic static com.orientechnologies.orient.core.metadata.schema.OClass getTypeSchema(com.orientechnologies.orient.core.metadata.schema.OSchema oSchema,
String type,
org.gcube.informationsystem.base.reference.AccessType accessType)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.schema.SchemaException,
org.gcube.informationsystem.resourceregistry.api.exceptions.schema.SchemaNotFoundException
org.gcube.informationsystem.resourceregistry.api.exceptions.schema.SchemaExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.schema.SchemaNotFoundExceptionpublic static com.orientechnologies.orient.core.metadata.schema.OClass getTypeSchema(String type, org.gcube.informationsystem.base.reference.AccessType accessType) throws org.gcube.informationsystem.resourceregistry.api.exceptions.schema.SchemaException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.schema.SchemaExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionCopyright © 2020. All Rights Reserved.