public abstract class EntityManagement<E extends org.gcube.informationsystem.model.entity.Entity> extends ERManagement<E,com.tinkerpop.blueprints.Vertex>
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,RelationManagement> |
relationManagements
Provide a cache edge-internal-id -> RelationManagement
this avoid to recreate the relationManagement of already visited edges
|
accessType, AT, element, elementClass, erType, ignoreKeys, ignoreStartWithKeys, jsonNode, logger, oClass, orientGraph, reload, UNDERSCORE, uuid, workingContext| Modifier | Constructor and Description |
|---|---|
protected |
EntityManagement(org.gcube.informationsystem.model.AccessType accessType) |
protected |
EntityManagement(org.gcube.informationsystem.model.AccessType accessType,
SecurityContext workingContext,
com.tinkerpop.blueprints.impls.orient.OrientGraph orientGraph) |
| Modifier and Type | Method and Description |
|---|---|
protected static org.codehaus.jettison.json.JSONObject |
addRelation(org.codehaus.jettison.json.JSONObject sourceResource,
org.codehaus.jettison.json.JSONObject relation,
String arrayKey) |
protected void |
addToRelationManagement(RelationManagement relationManagement) |
protected com.tinkerpop.blueprints.Vertex |
createVertex() |
protected RelationManagement |
getRelationManagement(com.tinkerpop.blueprints.Edge edge) |
protected boolean |
reallyAddToContext() |
String |
reallyGetAll(boolean polymorphic) |
protected boolean |
reallyRemoveFromContext() |
addToContext, all, checkERMatch, checkJSON, checkUUIDMatch, create, delete, exists, getAccessType, getClassProperty, getElement, getObjectFromElement, getOClass, getPropertyForJson, getPropertyMap, getSpecificElementNotFoundException, getSpecificERAlreadyPresentException, getSpecificERAvailableInAnotherContextException, getSuperclasses, getWorkingContext, internalAddToContext, internalCreate, internalCreateOrUdate, internalDelete, internalRemoveFromContext, internalUpdate, isReload, read, reallyCreate, reallyDelete, reallyUpdate, removeFromContext, retrieveElement, retrieveElementFromAnyContext, serialize, serializeAsJson, serializeSelfOnly, setElement, setElementType, setJSON, setJSON, setReload, setUUID, setWorkingContext, toJSONObject, update, updatePropertiesprotected Map<String,RelationManagement> relationManagements
protected EntityManagement(org.gcube.informationsystem.model.AccessType accessType)
protected EntityManagement(org.gcube.informationsystem.model.AccessType accessType,
SecurityContext workingContext,
com.tinkerpop.blueprints.impls.orient.OrientGraph orientGraph)
protected RelationManagement getRelationManagement(com.tinkerpop.blueprints.Edge edge) throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionprotected void addToRelationManagement(RelationManagement relationManagement) throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionprotected static org.codehaus.jettison.json.JSONObject addRelation(org.codehaus.jettison.json.JSONObject sourceResource,
org.codehaus.jettison.json.JSONObject relation,
String arrayKey)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionprotected com.tinkerpop.blueprints.Vertex 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.ResourceRegistryExceptionprotected boolean reallyAddToContext()
throws org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
reallyAddToContext in class ERManagement<E extends org.gcube.informationsystem.model.entity.Entity,com.tinkerpop.blueprints.Vertex>org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionprotected boolean reallyRemoveFromContext()
throws org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
reallyRemoveFromContext in class ERManagement<E extends org.gcube.informationsystem.model.entity.Entity,com.tinkerpop.blueprints.Vertex>org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic String reallyGetAll(boolean polymorphic) throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
reallyGetAll in class ERManagement<E extends org.gcube.informationsystem.model.entity.Entity,com.tinkerpop.blueprints.Vertex>org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionCopyright © 2017. All Rights Reserved.