public class ContextManagement extends EntityManagement<org.gcube.informationsystem.model.entity.Context>
| Modifier and Type | Field and Description |
|---|---|
protected String |
name |
relationManagementsaccessType, AT, element, elementClass, erType, ignoreKeys, ignoreStartWithKeys, jsonNode, oClass, orientGraph, reload, UNDERSCORE, uuid, workingContext| Constructor and Description |
|---|
ContextManagement() |
ContextManagement(com.tinkerpop.blueprints.impls.orient.OrientGraph orientGraph) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkContext(ContextManagement parentContext) |
String |
getName() |
protected org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundException |
getSpecificElementNotFoundException(org.gcube.informationsystem.resourceregistry.api.exceptions.er.ERNotFoundException e) |
protected org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextAlreadyPresentException |
getSpecificERAlreadyPresentException(String message) |
protected org.gcube.informationsystem.resourceregistry.api.exceptions.entity.EntityAvailableInAnotherContextException |
getSpecificERAvailableInAnotherContextException(String message) |
protected SecurityContext |
getWorkingContext() |
protected com.tinkerpop.blueprints.Vertex |
reallyCreate() |
protected boolean |
reallyDelete() |
String |
reallyGetAll(boolean polymorphic) |
protected com.tinkerpop.blueprints.Vertex |
reallyUpdate() |
String |
serialize() |
org.codehaus.jettison.json.JSONObject |
serializeAsJson() |
addRelation, addToRelationManagement, createVertex, getRelationManagement, reallyAddToContext, reallyRemoveFromContextaddToContext, all, checkERMatch, checkJSON, checkUUIDMatch, create, delete, exists, getAccessType, getClassProperty, getElement, getObjectFromElement, getOClass, getPropertyForJson, getPropertyMap, getSuperclasses, internalAddToContext, internalCreate, internalCreateOrUdate, internalDelete, internalRemoveFromContext, internalUpdate, isReload, read, removeFromContext, retrieveElement, retrieveElementFromAnyContext, serializeSelfOnly, setElement, setElementType, setJSON, setJSON, setReload, setUUID, setWorkingContext, toJSONObject, update, updatePropertiesprotected String name
public ContextManagement()
public ContextManagement(com.tinkerpop.blueprints.impls.orient.OrientGraph orientGraph)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic String getName()
protected SecurityContext getWorkingContext() throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
getWorkingContext in class ERManagement<org.gcube.informationsystem.model.entity.Context,com.tinkerpop.blueprints.Vertex>org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionprotected org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundException getSpecificElementNotFoundException(org.gcube.informationsystem.resourceregistry.api.exceptions.er.ERNotFoundException e)
getSpecificElementNotFoundException in class ERManagement<org.gcube.informationsystem.model.entity.Context,com.tinkerpop.blueprints.Vertex>protected org.gcube.informationsystem.resourceregistry.api.exceptions.entity.EntityAvailableInAnotherContextException getSpecificERAvailableInAnotherContextException(String message)
getSpecificERAvailableInAnotherContextException in class ERManagement<org.gcube.informationsystem.model.entity.Context,com.tinkerpop.blueprints.Vertex>protected org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextAlreadyPresentException getSpecificERAlreadyPresentException(String message)
getSpecificERAlreadyPresentException in class ERManagement<org.gcube.informationsystem.model.entity.Context,com.tinkerpop.blueprints.Vertex>protected void checkContext(ContextManagement parentContext) throws org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextAlreadyPresentException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextAlreadyPresentExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic String serialize() throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
serialize in class ERManagement<org.gcube.informationsystem.model.entity.Context,com.tinkerpop.blueprints.Vertex>org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic org.codehaus.jettison.json.JSONObject serializeAsJson()
throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
serializeAsJson in class ERManagement<org.gcube.informationsystem.model.entity.Context,com.tinkerpop.blueprints.Vertex>org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionprotected com.tinkerpop.blueprints.Vertex reallyCreate()
throws org.gcube.informationsystem.resourceregistry.api.exceptions.er.ERAlreadyPresentException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
reallyCreate in class ERManagement<org.gcube.informationsystem.model.entity.Context,com.tinkerpop.blueprints.Vertex>org.gcube.informationsystem.resourceregistry.api.exceptions.er.ERAlreadyPresentExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionprotected com.tinkerpop.blueprints.Vertex reallyUpdate()
throws org.gcube.informationsystem.resourceregistry.api.exceptions.er.ERNotFoundException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
reallyUpdate in class ERManagement<org.gcube.informationsystem.model.entity.Context,com.tinkerpop.blueprints.Vertex>org.gcube.informationsystem.resourceregistry.api.exceptions.er.ERNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionprotected boolean reallyDelete()
throws org.gcube.informationsystem.resourceregistry.api.exceptions.er.ERNotFoundException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
reallyDelete in class ERManagement<org.gcube.informationsystem.model.entity.Context,com.tinkerpop.blueprints.Vertex>org.gcube.informationsystem.resourceregistry.api.exceptions.er.ERNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic String reallyGetAll(boolean polymorphic) throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
reallyGetAll in class EntityManagement<org.gcube.informationsystem.model.entity.Context>org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionCopyright © 2017. All Rights Reserved.