Package org.gcube.informationsystem.resourceregistry.persistence.orientdb.base


package org.gcube.informationsystem.resourceregistry.persistence.orientdb.base
  • Classes
    Class
    Description
    ElementManagement<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 vs ElementManagement.preservePassedMetadata, privacy masking).
    Static helpers shared by the OrientDB *Management classes: UUID-based element lookup (vertex or edge, admin or session-scoped), binding a raw OVertex/OEdge to the appropriate EntityManagement/RelationManagement subclass based on its schema type, and low-level OElement/JsonNode conversion 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.