public class ResourceManagement extends EntityManagement<org.gcube.informationsystem.model.entity.Resource>
accessType, AT, element, elementClass, erType, ignoreKeys, ignoreStartWithKeys, jsonNode, oClass, 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() |
createVertex, getEntityManagement, reallyAddToContext, reallyGetAll, reallyRemoveFromContextaddToContext, all, checkERMatch, checkJSON, checkUUIDMatch, create, delete, exists, getAnyElementByUUID, getClassProperty, getElement, getERManagement, getERManagement, getERManagement, getERManagementFromUUID, getObjectFromElement, getOClass, getPropertyForJson, getPropertyMap, getSpecificElementNotFoundException, getSpecificERAlreadyPresentException, getSpecificERAvailableInAnotherContextException, getSuperclasses, read, removeFromContext, retrieveElement, retrieveElementFromAnyContext, serializeSelfOnly, setElement, setElementType, setJSON, setJSON, setUUID, 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.resource.ResourceAlreadyPresentException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
reallyCreate in class EntityManagement<org.gcube.informationsystem.model.entity.Resource>org.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceAlreadyPresentExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic com.tinkerpop.blueprints.Vertex reallyUpdate()
throws org.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceNotFoundException,
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.entity.resource.ResourceNotFoundExceptionorg.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.