public class ResourceManagement extends EntityManagement<org.gcube.informationsystem.model.reference.entities.Resource>
relationManagementsaccessType, AT, DELETED, element, elementClass, elementType, ignoreKeys, ignoreStartWithKeys, jsonNode, logger, oClass, oDatabaseDocument, reload, UNDERSCORE, uuid, workingContext| Constructor and Description |
|---|
ResourceManagement() |
ResourceManagement(SecurityContext workingContext,
com.orientechnologies.orient.core.db.document.ODatabaseDocument oDatabaseDocument) |
| 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.orientechnologies.orient.core.record.OVertex |
reallyCreate() |
protected boolean |
reallyDelete() |
protected com.orientechnologies.orient.core.record.OVertex |
reallyUpdate() |
String |
serialize() |
com.fasterxml.jackson.databind.JsonNode |
serializeAsJson() |
addRelation, addToRelationManagement, createVertex, getRelationManagement, query, reallyAddToContext, reallyGetAll, reallyQuery, reallyQueryTraversal, reallyRemoveFromContextaddToRelationManagement, getBaseRelationManagementaddToContext, checkERMatch, checkJsonNode, checkUUIDMatch, create, createOrUpdate, delete, exists, getAccessType, getClassProperty, getElement, getElementFromOptional, getElementType, getObjectFromElement, getOClass, getOClass, getPropertyForJson, getPropertyMap, getSuperclasses, getUUID, getWorkingContext, internalAddToContext, internalCreate, internalCreateOrUdate, internalDelete, internalRemoveFromContext, internalUpdate, isReload, read, removeFromContext, retrieveElement, retrieveElementFromAnyContext, serializeSelfOnly, setElement, setElementType, setJson, setJsonNode, setOClass, setReload, setUUID, setWorkingContext, toJsonNode, update, updatePropertiespublic ResourceManagement()
public ResourceManagement(SecurityContext workingContext, com.orientechnologies.orient.core.db.document.ODatabaseDocument oDatabaseDocument)
protected org.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceNotFoundException getSpecificElementNotFoundException(org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundException e)
getSpecificElementNotFoundException in class ElementManagement<com.orientechnologies.orient.core.record.OVertex>protected org.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceAvailableInAnotherContextException getSpecificERAvailableInAnotherContextException(String message)
getSpecificERAvailableInAnotherContextException in class ElementManagement<com.orientechnologies.orient.core.record.OVertex>protected org.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceAlreadyPresentException getSpecificERAlreadyPresentException(String message)
getSpecificERAlreadyPresentException in class ElementManagement<com.orientechnologies.orient.core.record.OVertex>public String serialize() throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
serialize in class ElementManagement<com.orientechnologies.orient.core.record.OVertex>org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic com.fasterxml.jackson.databind.JsonNode serializeAsJson()
throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
serializeAsJson in class ElementManagement<com.orientechnologies.orient.core.record.OVertex>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.orientechnologies.orient.core.record.OVertex reallyCreate()
throws org.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceAlreadyPresentException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
reallyCreate in class ElementManagement<com.orientechnologies.orient.core.record.OVertex>org.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceAlreadyPresentExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionprotected com.orientechnologies.orient.core.record.OVertex reallyUpdate()
throws org.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceNotFoundException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
reallyUpdate in class ElementManagement<com.orientechnologies.orient.core.record.OVertex>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 ElementManagement<com.orientechnologies.orient.core.record.OVertex>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 ElementManagement<com.orientechnologies.orient.core.record.OVertex>org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionCopyright © 2020. All Rights Reserved.