public class IsParentOfManagement extends RelationElementManagement<ContextManagement,ContextManagement>
sourceEntityClass, sourceEntityManagement, targetEntityClass, targetEntityManagementaccessType, AT, DELETED, element, elementClass, elementType, ignoreKeys, ignoreStartWithKeys, jsonNode, logger, oClass, oDatabaseDocument, reload, UNDERSCORE, uuid, workingContext| Constructor and Description |
|---|
IsParentOfManagement() |
IsParentOfManagement(com.orientechnologies.orient.core.db.document.ODatabaseDocument oDatabaseDocument) |
| Modifier and Type | Method and Description |
|---|---|
protected org.gcube.informationsystem.resourceregistry.api.exceptions.relation.isparentof.IsParentOfNotFoundException |
getSpecificElementNotFoundException(org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundException e) |
protected org.gcube.informationsystem.resourceregistry.api.exceptions.relation.isparentof.IsParentOfAlreadyPresentException |
getSpecificERAlreadyPresentException(String message) |
protected org.gcube.informationsystem.resourceregistry.api.exceptions.AvailableInAnotherContextException |
getSpecificERAvailableInAnotherContextException(String message) |
protected SecurityContext |
getWorkingContext() |
protected ContextManagement |
newSourceEntityManagement() |
protected ContextManagement |
newTargetEntityManagement() |
protected boolean |
reallyAddToContext(SecurityContext targetSecurityContext) |
String |
reallyGetAll(boolean polymorphic) |
protected boolean |
reallyRemoveFromContext(SecurityContext targetSecurityContext) |
com.fasterxml.jackson.databind.JsonNode |
serializeAsJson() |
com.fasterxml.jackson.databind.JsonNode |
serializeAsJson(boolean includeSource,
boolean includeTarget) |
getSourceEntityManagement, getTargetEntityManagement, reallyCreate, reallyDelete, reallyUpdate, serialize, setSourceEntityManagement, setTargetEntityManagementaddToContext, all, checkERMatch, checkJsonNode, checkUUIDMatch, create, createOrUpdate, delete, exists, getAccessType, getClassProperty, getElement, getElementFromOptional, getElementType, getObjectFromElement, getOClass, getOClass, getPropertyForJson, getPropertyMap, getSuperclasses, getUUID, internalAddToContext, internalCreate, internalCreateOrUdate, internalDelete, internalRemoveFromContext, internalUpdate, isReload, read, removeFromContext, retrieveElement, retrieveElementFromAnyContext, serializeSelfOnly, setElement, setElementType, setJson, setJsonNode, setOClass, setReload, setUUID, setWorkingContext, toJsonNode, 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.ResourceRegistryExceptionprotected SecurityContext getWorkingContext() throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
getWorkingContext in class ElementManagement<com.orientechnologies.orient.core.record.OEdge>org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionprotected org.gcube.informationsystem.resourceregistry.api.exceptions.relation.isparentof.IsParentOfNotFoundException getSpecificElementNotFoundException(org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundException e)
getSpecificElementNotFoundException in class ElementManagement<com.orientechnologies.orient.core.record.OEdge>protected org.gcube.informationsystem.resourceregistry.api.exceptions.relation.isparentof.IsParentOfAlreadyPresentException getSpecificERAlreadyPresentException(String message)
getSpecificERAlreadyPresentException in class ElementManagement<com.orientechnologies.orient.core.record.OEdge>public com.fasterxml.jackson.databind.JsonNode serializeAsJson()
throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
serializeAsJson in class RelationElementManagement<ContextManagement,ContextManagement>org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic com.fasterxml.jackson.databind.JsonNode serializeAsJson(boolean includeSource,
boolean includeTarget)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
serializeAsJson in class RelationElementManagement<ContextManagement,ContextManagement>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.resourceregistry.api.exceptions.ResourceRegistryExceptionprotected ContextManagement newTargetEntityManagement() throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
newTargetEntityManagement in class RelationElementManagement<ContextManagement,ContextManagement>org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionprotected boolean reallyAddToContext(SecurityContext targetSecurityContext) throws org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
reallyAddToContext in class ElementManagement<com.orientechnologies.orient.core.record.OEdge>org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionprotected boolean reallyRemoveFromContext(SecurityContext targetSecurityContext) throws org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
reallyRemoveFromContext in class ElementManagement<com.orientechnologies.orient.core.record.OEdge>org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionprotected org.gcube.informationsystem.resourceregistry.api.exceptions.AvailableInAnotherContextException getSpecificERAvailableInAnotherContextException(String message)
getSpecificERAvailableInAnotherContextException in class ElementManagement<com.orientechnologies.orient.core.record.OEdge>public 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.resourceregistry.api.exceptions.ResourceRegistryExceptionCopyright © 2020. All Rights Reserved.