public class ResourceManagement extends EntityManagement<org.gcube.informationsystem.model.entity.Resource>
AT, baseType, element, elementClass, erType, erTypeClass, ignoreKeys, ignoreStartWithKeys, jsonNode, orientGraph, UNDERSCORE, uuid| Constructor and Description |
|---|
ResourceManagement() |
ResourceManagement(com.tinkerpop.blueprints.impls.orient.OrientGraph orientGraph) |
| Modifier and Type | Method and Description |
|---|---|
static org.codehaus.jettison.json.JSONObject |
addConsistsOf(org.codehaus.jettison.json.JSONObject sourceResource,
org.codehaus.jettison.json.JSONObject consistsOf) |
static org.codehaus.jettison.json.JSONObject |
addIsRelatedTo(org.codehaus.jettison.json.JSONObject sourceResource,
org.codehaus.jettison.json.JSONObject isRelatedTo) |
protected static org.codehaus.jettison.json.JSONObject |
addRelation(org.codehaus.jettison.json.JSONObject sourceResource,
org.codehaus.jettison.json.JSONObject relation,
org.gcube.informationsystem.model.AccessType accessType) |
com.tinkerpop.blueprints.Vertex |
reallyCreate() |
boolean |
reallyDelete() |
com.tinkerpop.blueprints.Vertex |
reallyUpdate() |
String |
serialize() |
org.codehaus.jettison.json.JSONObject |
serializeAsJson() |
create, createVertex, getEntityManagement, reallyAddToContext, reallyGetAll, reallyRemoveFromContextaddToContext, all, checkERMatch, checkJSON, checkUUIDMatch, delete, getClassProperty, getElement, getERManagement, getERManagement, getERManagement, getERManagementFromUUID, getObjectFromElement, getPropertyMap, read, removeFromContext, serializeSelfOnly, setElement, setElementType, setJSON, setJSON, setUUID, throwElementNotFoundException, toJSONObject, update, updatePropertiespublic ResourceManagement()
public ResourceManagement(com.tinkerpop.blueprints.impls.orient.OrientGraph orientGraph)
public String serialize() throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
serialize in class ERManagement<org.gcube.informationsystem.model.entity.Resource,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.Resource,com.tinkerpop.blueprints.Vertex>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,
org.gcube.informationsystem.model.AccessType accessType)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic static org.codehaus.jettison.json.JSONObject addConsistsOf(org.codehaus.jettison.json.JSONObject sourceResource,
org.codehaus.jettison.json.JSONObject consistsOf)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic static org.codehaus.jettison.json.JSONObject addIsRelatedTo(org.codehaus.jettison.json.JSONObject sourceResource,
org.codehaus.jettison.json.JSONObject isRelatedTo)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic com.tinkerpop.blueprints.Vertex reallyCreate()
throws org.gcube.informationsystem.resourceregistry.api.exceptions.entity.EntityAlreadyPresentException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
reallyCreate in class EntityManagement<org.gcube.informationsystem.model.entity.Resource>org.gcube.informationsystem.resourceregistry.api.exceptions.entity.EntityAlreadyPresentExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic com.tinkerpop.blueprints.Vertex reallyUpdate()
throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
reallyUpdate in class ERManagement<org.gcube.informationsystem.model.entity.Resource,com.tinkerpop.blueprints.Vertex>org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic boolean reallyDelete()
throws org.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceNotFoundException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
reallyDelete in class ERManagement<org.gcube.informationsystem.model.entity.Resource,com.tinkerpop.blueprints.Vertex>org.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionCopyright © 2017. All Rights Reserved.