Class EntityElementManagement<E extends org.gcube.informationsystem.base.reference.entities.EntityElement,​ET extends org.gcube.informationsystem.types.reference.entities.EntityType>

    • Constructor Detail

      • EntityElementManagement

        protected EntityElementManagement​(org.gcube.informationsystem.base.reference.AccessType accessType)
      • EntityElementManagement

        protected EntityElementManagement​(org.gcube.informationsystem.base.reference.AccessType accessType,
                                          SecurityContext workingContext,
                                          com.orientechnologies.orient.core.db.document.ODatabaseDocument oDatabaseDocument)
    • Method Detail

      • getBaseRelationManagement

        protected RelationElementManagement<?,​?,​?,​?> getBaseRelationManagement​(com.orientechnologies.orient.core.record.OEdge edge)
                                                                                          throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
        Throws:
        org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
      • addToRelationManagement

        protected void addToRelationManagement​(RelationElementManagement<?,​?,​?,​?> baseRelationManagement)
                                        throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
        Throws:
        org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
      • addRelation

        protected static org.gcube.com.fasterxml.jackson.databind.JsonNode addRelation​(org.gcube.com.fasterxml.jackson.databind.JsonNode sourceResource,
                                                                                       org.gcube.com.fasterxml.jackson.databind.JsonNode relation,
                                                                                       String arrayKey)
                                                                                throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
        Throws:
        org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
      • createVertex

        protected com.orientechnologies.orient.core.record.OVertex createVertex()
                                                                         throws org.gcube.informationsystem.resourceregistry.api.exceptions.entities.EntityAlreadyPresentException,
                                                                                org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
        Throws:
        org.gcube.informationsystem.resourceregistry.api.exceptions.entities.EntityAlreadyPresentException
        org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException