public class IsParentOfManagement extends RelationElementManagement<ContextManagement,ContextManagement,org.gcube.informationsystem.types.reference.entities.EntityType,org.gcube.informationsystem.types.reference.entities.EntityType>
IN, includeSource, includeTarget, OUT, sourceEntityClass, sourceEntityManagement, targetEntityClass, targetEntityManagementaccessType, affectedInstances, AT, cachedType, complete, DELETED, dryRun, element, elementClass, entryPoint, ignoreKeys, ignoreStartWithKeys, jsonNode, logger, oClass, oDatabaseDocument, operation, reload, self, typeName, UNDERSCORE, uuid, workingContext| Constructor and Description |
|---|
IsParentOfManagement() |
IsParentOfManagement(com.orientechnologies.orient.core.db.document.ODatabaseDocument oDatabaseDocument) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checksourceAndTargetEntityCompliancy() |
org.gcube.com.fasterxml.jackson.databind.JsonNode |
createCompleteJsonNode() |
Map<UUID,org.gcube.com.fasterxml.jackson.databind.JsonNode> |
getAffectedInstances() |
protected org.gcube.informationsystem.resourceregistry.api.exceptions.relations.isparentof.IsParentOfAlreadyPresentException |
getSpecificAlreadyPresentException(String message) |
protected org.gcube.informationsystem.resourceregistry.api.exceptions.relations.isparentof.IsParentOfNotFoundException |
getSpecificNotFoundException(org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundException e) |
protected SecurityContext |
getWorkingContext() |
protected ContextManagement |
newSourceEntityManagement() |
protected ContextManagement |
newTargetEntityManagement() |
String |
reallyGetAll(boolean polymorphic) |
void |
sanityCheck() |
getSourceEntityManagement, getTargetEntityManagement, includeSource, includeTarget, reallyCreate, reallyDelete, reallyUpdate, setSourceEntityManagement, setTargetEntityManagementall, checkERMatch, checkJsonNode, checkUUIDMatch, cleanCachedSerialization, create, createOrUpdate, delete, exists, getAccessType, getAllProperties, getCachedType, getClassProperty, getContexts, getContextsAsObjectNode, getContextsSet, getElement, getMandatoryErrorMessage, getNotNullErrorMessage, getObjectFromJsonNode, getOClass, getPropertyForJson, getPropertyMap, getTypeName, getUUID, internalCreate, internalCreateOrUdate, internalDelete, internalUpdate, isDryRun, isReload, read, retrieveElement, retrieveElementFromAnyContext, serializeAsAffectedInstance, serializeAsJsonNode, serializeSelfAsJsonNode, setAsEntryPoint, setDryRun, setElement, setElementType, setJson, setJsonNode, setOClass, setODatabaseDocument, setOperation, setProperty, setReload, setUUID, setWorkingContext, typeSatified, update, updatePropertiespublic IsParentOfManagement()
public IsParentOfManagement(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.OEdge,org.gcube.informationsystem.types.reference.relations.RelationType<org.gcube.informationsystem.types.reference.entities.EntityType,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.OEdge,org.gcube.informationsystem.types.reference.relations.RelationType<org.gcube.informationsystem.types.reference.entities.EntityType,org.gcube.informationsystem.types.reference.entities.EntityType>>org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionprotected org.gcube.informationsystem.resourceregistry.api.exceptions.relations.isparentof.IsParentOfNotFoundException getSpecificNotFoundException(org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundException e)
getSpecificNotFoundException in class ElementManagement<com.orientechnologies.orient.core.record.OEdge,org.gcube.informationsystem.types.reference.relations.RelationType<org.gcube.informationsystem.types.reference.entities.EntityType,org.gcube.informationsystem.types.reference.entities.EntityType>>protected org.gcube.informationsystem.resourceregistry.api.exceptions.relations.isparentof.IsParentOfAlreadyPresentException getSpecificAlreadyPresentException(String message)
getSpecificAlreadyPresentException in class ElementManagement<com.orientechnologies.orient.core.record.OEdge,org.gcube.informationsystem.types.reference.relations.RelationType<org.gcube.informationsystem.types.reference.entities.EntityType,org.gcube.informationsystem.types.reference.entities.EntityType>>public org.gcube.com.fasterxml.jackson.databind.JsonNode createCompleteJsonNode()
throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
createCompleteJsonNode in class RelationElementManagement<ContextManagement,ContextManagement,org.gcube.informationsystem.types.reference.entities.EntityType,org.gcube.informationsystem.types.reference.entities.EntityType>org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionprotected ContextManagement newSourceEntityManagement() throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
newSourceEntityManagement in class RelationElementManagement<ContextManagement,ContextManagement,org.gcube.informationsystem.types.reference.entities.EntityType,org.gcube.informationsystem.types.reference.entities.EntityType>org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionprotected ContextManagement newTargetEntityManagement() throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
newTargetEntityManagement in class RelationElementManagement<ContextManagement,ContextManagement,org.gcube.informationsystem.types.reference.entities.EntityType,org.gcube.informationsystem.types.reference.entities.EntityType>org.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.OEdge,org.gcube.informationsystem.types.reference.relations.RelationType<org.gcube.informationsystem.types.reference.entities.EntityType,org.gcube.informationsystem.types.reference.entities.EntityType>>org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic 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.OEdge,org.gcube.informationsystem.types.reference.relations.RelationType<org.gcube.informationsystem.types.reference.entities.EntityType,org.gcube.informationsystem.types.reference.entities.EntityType>>org.gcube.informationsystem.resourceregistry.api.exceptions.types.SchemaViolationExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionprotected void checksourceAndTargetEntityCompliancy()
throws org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundException,
org.gcube.informationsystem.resourceregistry.api.exceptions.AvailableInAnotherContextException,
org.gcube.informationsystem.resourceregistry.api.exceptions.types.SchemaViolationException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
checksourceAndTargetEntityCompliancy in class RelationElementManagement<ContextManagement,ContextManagement,org.gcube.informationsystem.types.reference.entities.EntityType,org.gcube.informationsystem.types.reference.entities.EntityType>org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.AvailableInAnotherContextExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.types.SchemaViolationExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionCopyright © 2022. All Rights Reserved.