Package org.gcube.informationsystem.resourceregistry.persistence.orientdb.base
package org.gcube.informationsystem.resourceregistry.persistence.orientdb.base
-
ClassesClassDescriptionElementManagement<El extends com.orientechnologies.orient.core.record.OElement,
T extends org.gcube.informationsystem.types.reference.Type> Common OrientDB persistence base class for every managed element category (Context, Type, and Instance — Entity/Relation alike): CRUD orchestration (create/read/update/delete, paginated list, existence check), JSON <-> OrientDB property mapping, schema/UUID consistency checks, and metadata handling (autofill vsElementManagement.preservePassedMetadata, privacy masking).Static helpers shared by the OrientDB*Managementclasses: UUID-based element lookup (vertex or edge, admin or session-scoped), binding a rawOVertex/OEdgeto the appropriateEntityManagement/RelationManagementsubclass based on its schema type, and low-levelOElement/JsonNodeconversion utilities.EntityElementManagement<E extends org.gcube.informationsystem.base.reference.entities.EntityElement,ET extends org.gcube.informationsystem.types.reference.entities.EntitySchema> RelationElementManagement<SEM extends EntityElementManagement<? extends org.gcube.informationsystem.base.reference.entities.EntityElement,SET>, TEM extends EntityElementManagement<? extends org.gcube.informationsystem.base.reference.entities.EntityElement, TET>, SET extends org.gcube.informationsystem.types.reference.entities.EntitySchema, TET extends org.gcube.informationsystem.types.reference.entities.EntitySchema> Creates the indexes the service's lookups rely on, idempotently: bootstrap creates them on a new database, the migration on an existing one.