public abstract class EntityTypeDefinitionManagement<E extends org.gcube.informationsystem.types.reference.entities.EntityType> extends EntityElementManagement<E,E>
| Modifier and Type | Field and Description |
|---|---|
protected String |
name |
IN_PREFIX, OUT_PREFIX, relationManagementsaccessType, affectedInstances, AT, cachedType, complete, DELETED, dryRun, element, elementClass, entryPoint, ignoreKeys, ignoreStartWithKeys, jsonNode, oClass, oDatabaseDocument, operation, reload, self, typeName, UNDERSCORE, uuid, workingContext| Modifier | Constructor and Description |
|---|---|
protected |
EntityTypeDefinitionManagement(Class<E> clz) |
| Modifier and Type | Method and Description |
|---|---|
protected org.gcube.com.fasterxml.jackson.databind.JsonNode |
createCompleteJsonNode() |
protected com.orientechnologies.orient.core.record.OVertex |
createVertex() |
Map<UUID,org.gcube.com.fasterxml.jackson.databind.JsonNode> |
getAffectedInstances() |
com.orientechnologies.orient.core.record.OVertex |
getElement() |
String |
getName() |
protected org.gcube.informationsystem.resourceregistry.api.exceptions.AlreadyPresentException |
getSpecificAlreadyPresentException(String message) |
protected org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundException |
getSpecificNotFoundException(org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundException e) |
protected SecurityContext |
getWorkingContext() |
protected com.orientechnologies.orient.core.record.OVertex |
reallyCreate() |
protected void |
reallyDelete() |
String |
reallyGetAll(boolean polymorphic) |
protected com.orientechnologies.orient.core.record.OVertex |
reallyUpdate() |
com.orientechnologies.orient.core.record.OVertex |
retrieveElement() |
void |
sanityCheck() |
void |
setName(String name) |
addRelation, addToRelationManagement, getBaseRelationManagementall, checkERMatch, checkJsonNode, checkUUIDMatch, cleanCachedSerialization, create, createOrUpdate, delete, exists, getAccessType, getAllProperties, getCachedType, getClassProperty, getContexts, getContextsAsObjectNode, getContextsSet, getMandatoryErrorMessage, getNotNullErrorMessage, getObjectFromJsonNode, getOClass, getPropertyForJson, getPropertyMap, getTypeName, getUUID, internalCreate, internalCreateOrUdate, internalDelete, internalUpdate, isDryRun, isReload, read, retrieveElementFromAnyContext, serializeAsAffectedInstance, serializeAsJsonNode, serializeSelfAsJsonNode, setAsEntryPoint, setDryRun, setElement, setElementType, setJson, setJsonNode, setOClass, setODatabaseDocument, setOperation, setProperty, setReload, setUUID, setWorkingContext, typeSatified, update, updatePropertiesprotected String name
public Map<UUID,org.gcube.com.fasterxml.jackson.databind.JsonNode> getAffectedInstances()
getAffectedInstances in class ElementManagement<com.orientechnologies.orient.core.record.OVertex,E extends org.gcube.informationsystem.types.reference.entities.EntityType>protected SecurityContext getWorkingContext() throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
getWorkingContext in class ElementManagement<com.orientechnologies.orient.core.record.OVertex,E extends org.gcube.informationsystem.types.reference.entities.EntityType>org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic void setName(String name)
public String getName()
protected org.gcube.com.fasterxml.jackson.databind.JsonNode createCompleteJsonNode()
throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
createCompleteJsonNode in class ElementManagement<com.orientechnologies.orient.core.record.OVertex,E extends org.gcube.informationsystem.types.reference.entities.EntityType>org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionprotected com.orientechnologies.orient.core.record.OVertex reallyCreate()
throws org.gcube.informationsystem.resourceregistry.api.exceptions.AlreadyPresentException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
reallyCreate in class ElementManagement<com.orientechnologies.orient.core.record.OVertex,E extends org.gcube.informationsystem.types.reference.entities.EntityType>org.gcube.informationsystem.resourceregistry.api.exceptions.AlreadyPresentExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionprotected com.orientechnologies.orient.core.record.OVertex reallyUpdate()
throws org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
reallyUpdate in class ElementManagement<com.orientechnologies.orient.core.record.OVertex,E extends org.gcube.informationsystem.types.reference.entities.EntityType>org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionprotected void reallyDelete()
throws org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
reallyDelete in class ElementManagement<com.orientechnologies.orient.core.record.OVertex,E extends org.gcube.informationsystem.types.reference.entities.EntityType>org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic com.orientechnologies.orient.core.record.OVertex getElement()
throws org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
getElement in class ElementManagement<com.orientechnologies.orient.core.record.OVertex,E extends org.gcube.informationsystem.types.reference.entities.EntityType>org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic com.orientechnologies.orient.core.record.OVertex retrieveElement()
throws org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
retrieveElement in class ElementManagement<com.orientechnologies.orient.core.record.OVertex,E extends org.gcube.informationsystem.types.reference.entities.EntityType>org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionprotected com.orientechnologies.orient.core.record.OVertex createVertex()
throws org.gcube.informationsystem.resourceregistry.api.exceptions.entities.EntityAlreadyPresentException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
createVertex in class EntityElementManagement<E extends org.gcube.informationsystem.types.reference.entities.EntityType,E extends org.gcube.informationsystem.types.reference.entities.EntityType>org.gcube.informationsystem.resourceregistry.api.exceptions.entities.EntityAlreadyPresentExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic String reallyGetAll(boolean polymorphic) throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
reallyGetAll in class ElementManagement<com.orientechnologies.orient.core.record.OVertex,E extends org.gcube.informationsystem.types.reference.entities.EntityType>org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionprotected org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundException getSpecificNotFoundException(org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundException e)
getSpecificNotFoundException in class ElementManagement<com.orientechnologies.orient.core.record.OVertex,E extends org.gcube.informationsystem.types.reference.entities.EntityType>protected org.gcube.informationsystem.resourceregistry.api.exceptions.AlreadyPresentException getSpecificAlreadyPresentException(String message)
getSpecificAlreadyPresentException in class ElementManagement<com.orientechnologies.orient.core.record.OVertex,E extends org.gcube.informationsystem.types.reference.entities.EntityType>public void sanityCheck()
throws org.gcube.informationsystem.resourceregistry.api.exceptions.types.SchemaViolationException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
sanityCheck in class ElementManagement<com.orientechnologies.orient.core.record.OVertex,E extends org.gcube.informationsystem.types.reference.entities.EntityType>org.gcube.informationsystem.resourceregistry.api.exceptions.types.SchemaViolationExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionCopyright © 2022. All Rights Reserved.