public class PropertyTypeDefinitionManagement extends ElementManagement<com.orientechnologies.orient.core.record.OElement,org.gcube.informationsystem.types.reference.properties.PropertyType<?>>
| Modifier and Type | Field and Description |
|---|---|
protected String |
name |
accessType, affectedInstances, AT, cachedType, complete, DELETED, dryRun, element, elementClass, entryPoint, ignoreKeys, ignoreStartWithKeys, jsonNode, oClass, oDatabaseDocument, operation, reload, self, typeName, UNDERSCORE, uuid, workingContext| Constructor and Description |
|---|
PropertyTypeDefinitionManagement() |
PropertyTypeDefinitionManagement(SecurityContext securityContext,
com.orientechnologies.orient.core.db.document.ODatabaseDocument oDatabaseDocument) |
| Modifier and Type | Method and Description |
|---|---|
protected org.gcube.com.fasterxml.jackson.databind.JsonNode |
createCompleteJsonNode() |
protected com.orientechnologies.orient.core.record.OElement |
createElement() |
Map<UUID,org.gcube.com.fasterxml.jackson.databind.JsonNode> |
getAffectedInstances() |
com.orientechnologies.orient.core.record.OElement |
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.OElement |
reallyCreate() |
protected void |
reallyDelete() |
String |
reallyGetAll(boolean polymorphic) |
protected com.orientechnologies.orient.core.record.OElement |
reallyUpdate() |
com.orientechnologies.orient.core.record.OElement |
retrieveElement() |
void |
sanityCheck() |
void |
setName(String name) |
all, 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 PropertyTypeDefinitionManagement()
public PropertyTypeDefinitionManagement(SecurityContext securityContext, com.orientechnologies.orient.core.db.document.ODatabaseDocument oDatabaseDocument) throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic Map<UUID,org.gcube.com.fasterxml.jackson.databind.JsonNode> getAffectedInstances()
getAffectedInstances in class ElementManagement<com.orientechnologies.orient.core.record.OElement,org.gcube.informationsystem.types.reference.properties.PropertyType<?>>protected SecurityContext getWorkingContext() throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
getWorkingContext in class ElementManagement<com.orientechnologies.orient.core.record.OElement,org.gcube.informationsystem.types.reference.properties.PropertyType<?>>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.OElement,org.gcube.informationsystem.types.reference.properties.PropertyType<?>>org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionprotected com.orientechnologies.orient.core.record.OElement 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.OElement,org.gcube.informationsystem.types.reference.properties.PropertyType<?>>org.gcube.informationsystem.resourceregistry.api.exceptions.AlreadyPresentExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionprotected com.orientechnologies.orient.core.record.OElement 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.OElement,org.gcube.informationsystem.types.reference.properties.PropertyType<?>>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.OElement,org.gcube.informationsystem.types.reference.properties.PropertyType<?>>org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic com.orientechnologies.orient.core.record.OElement 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.OElement,org.gcube.informationsystem.types.reference.properties.PropertyType<?>>org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic com.orientechnologies.orient.core.record.OElement 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.OElement,org.gcube.informationsystem.types.reference.properties.PropertyType<?>>org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionprotected com.orientechnologies.orient.core.record.OElement createElement()
throws org.gcube.informationsystem.resourceregistry.api.exceptions.AlreadyPresentException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.AlreadyPresentExceptionorg.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.OElement,org.gcube.informationsystem.types.reference.properties.PropertyType<?>>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.OElement,org.gcube.informationsystem.types.reference.properties.PropertyType<?>>protected org.gcube.informationsystem.resourceregistry.api.exceptions.AlreadyPresentException getSpecificAlreadyPresentException(String message)
getSpecificAlreadyPresentException in class ElementManagement<com.orientechnologies.orient.core.record.OElement,org.gcube.informationsystem.types.reference.properties.PropertyType<?>>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.OElement,org.gcube.informationsystem.types.reference.properties.PropertyType<?>>org.gcube.informationsystem.resourceregistry.api.exceptions.types.SchemaViolationExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionCopyright © 2022. All Rights Reserved.