public abstract class EntityElementManagement<E extends org.gcube.informationsystem.base.reference.entities.EntityElement> extends ElementManagement<com.orientechnologies.orient.core.record.OVertex>
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,RelationElementManagement> |
relationManagements
Provide a cache edge-internal-id -> RelationManagement
this avoid to recreate the relationManagement of already visited edges
|
accessType, AT, DELETED, element, elementClass, elementType, ignoreKeys, ignoreStartWithKeys, jsonNode, logger, oClass, oDatabaseDocument, reload, UNDERSCORE, uuid, workingContext| Modifier | Constructor and Description |
|---|---|
protected |
EntityElementManagement(org.gcube.informationsystem.base.reference.AccessType accessType) |
protected |
EntityElementManagement(org.gcube.informationsystem.base.reference.AccessType accessType,
SecurityContext workingContext,
com.orientechnologies.orient.core.db.document.ODatabaseDocument oDatabaseDocument) |
| Modifier and Type | Method and Description |
|---|---|
protected static com.fasterxml.jackson.databind.JsonNode |
addRelation(com.fasterxml.jackson.databind.JsonNode sourceResource,
com.fasterxml.jackson.databind.JsonNode relation,
String arrayKey) |
protected void |
addToRelationManagement(RelationElementManagement baseRelationManagement) |
protected com.orientechnologies.orient.core.record.OVertex |
createVertex() |
protected RelationElementManagement |
getBaseRelationManagement(com.orientechnologies.orient.core.record.OEdge edge) |
addToContext, all, checkERMatch, checkJsonNode, checkUUIDMatch, create, createOrUpdate, delete, exists, getAccessType, getClassProperty, getElement, getElementFromOptional, getElementType, getObjectFromElement, getOClass, getOClass, getPropertyForJson, getPropertyMap, getSpecificElementNotFoundException, getSpecificERAlreadyPresentException, getSpecificERAvailableInAnotherContextException, getSuperclasses, getUUID, getWorkingContext, internalAddToContext, internalCreate, internalCreateOrUdate, internalDelete, internalRemoveFromContext, internalUpdate, isReload, read, reallyAddToContext, reallyCreate, reallyDelete, reallyGetAll, reallyRemoveFromContext, reallyUpdate, removeFromContext, retrieveElement, retrieveElementFromAnyContext, serialize, serializeAsJson, serializeSelfOnly, setElement, setElementType, setJson, setJsonNode, setOClass, setReload, setUUID, setWorkingContext, toJsonNode, update, updatePropertiesprotected Map<String,RelationElementManagement> relationManagements
protected EntityElementManagement(org.gcube.informationsystem.base.reference.AccessType accessType)
protected EntityElementManagement(org.gcube.informationsystem.base.reference.AccessType accessType,
SecurityContext workingContext,
com.orientechnologies.orient.core.db.document.ODatabaseDocument oDatabaseDocument)
protected RelationElementManagement getBaseRelationManagement(com.orientechnologies.orient.core.record.OEdge edge) throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionprotected void addToRelationManagement(RelationElementManagement baseRelationManagement) throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionprotected static com.fasterxml.jackson.databind.JsonNode addRelation(com.fasterxml.jackson.databind.JsonNode sourceResource,
com.fasterxml.jackson.databind.JsonNode relation,
String arrayKey)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionprotected com.orientechnologies.orient.core.record.OVertex createVertex()
throws org.gcube.informationsystem.resourceregistry.api.exceptions.entity.EntityAlreadyPresentException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.entity.EntityAlreadyPresentExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionCopyright © 2020. All Rights Reserved.