public class ResourceManagement extends EntityManagement<org.gcube.informationsystem.model.reference.entities.Resource>
relationManagementsaccessType, AT, DELETED, element, elementClass, elementType, ignoreKeys, ignoreStartWithKeys, jsonNode, logger, oClass, orientGraph, reload, UNDERSCORE, uuid, workingContext| Constructor and Description |
|---|
ResourceManagement() |
ResourceManagement(SecurityContext workingContext,
com.tinkerpop.blueprints.impls.orient.OrientGraph orientGraph) |
| Modifier and Type | Method and Description |
|---|---|
static com.fasterxml.jackson.databind.JsonNode |
addConsistsOf(com.fasterxml.jackson.databind.JsonNode sourceResource,
com.fasterxml.jackson.databind.JsonNode consistsOf) |
static com.fasterxml.jackson.databind.JsonNode |
addIsRelatedTo(com.fasterxml.jackson.databind.JsonNode sourceResource,
com.fasterxml.jackson.databind.JsonNode isRelatedTo) |
String |
all(boolean polymorphic) |
protected org.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceNotFoundException |
getSpecificElementNotFoundException(org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundException e) |
protected org.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceAlreadyPresentException |
getSpecificERAlreadyPresentException(String message) |
protected org.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceAvailableInAnotherContextException |
getSpecificERAvailableInAnotherContextException(String message) |
protected com.tinkerpop.blueprints.Vertex |
reallyCreate() |
protected boolean |
reallyDelete() |
protected com.tinkerpop.blueprints.Vertex |
reallyUpdate() |
String |
serialize() |
com.fasterxml.jackson.databind.JsonNode |
serializeAsJson() |
addRelation, addToRelationManagement, createVertex, getRelationManagement, query, reallyAddToContext, reallyGetAll, reallyQuery, reallyQueryTraversal, reallyRemoveFromContextaddToContext, checkERMatch, checkJsonNode, checkUUIDMatch, create, createOrUpdate, delete, exists, getAccessType, getClassProperty, getElement, getElementType, getObjectFromElement, getOClass, getPropertyForJson, getPropertyMap, getSuperclasses, getUUID, getWorkingContext, internalAddToContext, internalCreate, internalCreateOrUdate, internalDelete, internalRemoveFromContext, internalUpdate, isReload, read, removeFromContext, retrieveElement, retrieveElementFromAnyContext, serializeSelfOnly, setElement, setElementType, setJson, setJsonNode, setReload, setUUID, setWorkingContext, toJsonNode, update, updatePropertiespublic ResourceManagement()
public ResourceManagement(SecurityContext workingContext, com.tinkerpop.blueprints.impls.orient.OrientGraph orientGraph)
protected org.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceNotFoundException getSpecificElementNotFoundException(org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundException e)
getSpecificElementNotFoundException in class ERManagement<org.gcube.informationsystem.model.reference.entities.Resource,com.tinkerpop.blueprints.Vertex>protected org.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceAvailableInAnotherContextException getSpecificERAvailableInAnotherContextException(String message)
getSpecificERAvailableInAnotherContextException in class ERManagement<org.gcube.informationsystem.model.reference.entities.Resource,com.tinkerpop.blueprints.Vertex>protected org.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceAlreadyPresentException getSpecificERAlreadyPresentException(String message)
getSpecificERAlreadyPresentException in class ERManagement<org.gcube.informationsystem.model.reference.entities.Resource,com.tinkerpop.blueprints.Vertex>public String serialize() throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
serialize in class ERManagement<org.gcube.informationsystem.model.reference.entities.Resource,com.tinkerpop.blueprints.Vertex>org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic com.fasterxml.jackson.databind.JsonNode serializeAsJson()
throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
serializeAsJson in class ERManagement<org.gcube.informationsystem.model.reference.entities.Resource,com.tinkerpop.blueprints.Vertex>org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic static com.fasterxml.jackson.databind.JsonNode addConsistsOf(com.fasterxml.jackson.databind.JsonNode sourceResource,
com.fasterxml.jackson.databind.JsonNode consistsOf)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic static com.fasterxml.jackson.databind.JsonNode addIsRelatedTo(com.fasterxml.jackson.databind.JsonNode sourceResource,
com.fasterxml.jackson.databind.JsonNode isRelatedTo)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionprotected 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 ERManagement<org.gcube.informationsystem.model.reference.entities.Resource,com.tinkerpop.blueprints.Vertex>org.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceAlreadyPresentExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionprotected 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.reference.entities.Resource,com.tinkerpop.blueprints.Vertex>org.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionprotected 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.reference.entities.Resource,com.tinkerpop.blueprints.Vertex>org.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic String all(boolean polymorphic) throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
all in class ERManagement<org.gcube.informationsystem.model.reference.entities.Resource,com.tinkerpop.blueprints.Vertex>org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionCopyright © 2019. All Rights Reserved.