public abstract class RelationTypeDefinitionManagement<T extends EntityTypeDefinitionManagement<TT>,TT extends org.gcube.informationsystem.types.reference.entities.EntityType> extends RelationElementManagement<ResourceTypeDefinitionManagement,T>
| Modifier and Type | Field and Description |
|---|---|
protected String |
name |
sourceEntityClass, sourceEntityManagement, targetEntityClass, targetEntityManagementaccessType, AT, DELETED, element, elementClass, elementType, ignoreKeys, ignoreStartWithKeys, jsonNode, logger, oClass, oDatabaseDocument, reload, UNDERSCORE, uuid, workingContext| Constructor and Description |
|---|
RelationTypeDefinitionManagement(Class<TT> clz) |
RelationTypeDefinitionManagement(SecurityContext securityContext,
com.orientechnologies.orient.core.db.document.ODatabaseDocument oDatabaseDocument,
Class<TT> clz) |
| Modifier and Type | Method and Description |
|---|---|
com.orientechnologies.orient.core.record.OEdge |
getElement() |
String |
getName() |
protected org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundException |
getSpecificElementNotFoundException(org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundException e) |
protected org.gcube.informationsystem.resourceregistry.api.exceptions.AlreadyPresentException |
getSpecificERAlreadyPresentException(String message) |
protected org.gcube.informationsystem.resourceregistry.api.exceptions.AvailableInAnotherContextException |
getSpecificERAvailableInAnotherContextException(String message) |
protected SecurityContext |
getWorkingContext() |
protected ResourceTypeDefinitionManagement |
newSourceEntityManagement() |
protected boolean |
reallyAddToContext(SecurityContext targetSecurityContext) |
protected com.orientechnologies.orient.core.record.OEdge |
reallyCreate() |
protected boolean |
reallyDelete() |
String |
reallyGetAll(boolean polymorphic) |
protected boolean |
reallyRemoveFromContext(SecurityContext targetSecurityContext) |
protected com.orientechnologies.orient.core.record.OEdge |
reallyUpdate() |
com.orientechnologies.orient.core.record.OEdge |
retrieveElement() |
void |
setName(String name) |
getSourceEntityManagement, getTargetEntityManagement, newTargetEntityManagement, serialize, serializeAsJson, serializeAsJson, setSourceEntityManagement, setTargetEntityManagementaddToContext, all, checkERMatch, checkJsonNode, checkUUIDMatch, create, createOrUpdate, delete, exists, getAccessType, getClassProperty, getElementFromOptional, getElementType, getObjectFromElement, getOClass, getOClass, getPropertyForJson, getPropertyMap, getSuperclasses, getUUID, internalAddToContext, internalCreate, internalCreateOrUdate, internalDelete, internalRemoveFromContext, internalUpdate, isReload, read, removeFromContext, retrieveElementFromAnyContext, serializeSelfOnly, setElement, setElementType, setJson, setJsonNode, setOClass, setReload, setUUID, setWorkingContext, toJsonNode, update, updatePropertiesprotected String name
public RelationTypeDefinitionManagement(SecurityContext securityContext, com.orientechnologies.orient.core.db.document.ODatabaseDocument oDatabaseDocument, Class<TT> clz) 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.ResourceRegistryExceptionpublic void setName(String name)
public String getName()
protected com.orientechnologies.orient.core.record.OEdge reallyCreate()
throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
reallyCreate in class RelationElementManagement<ResourceTypeDefinitionManagement,T extends EntityTypeDefinitionManagement<TT>>org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionprotected com.orientechnologies.orient.core.record.OEdge reallyUpdate()
throws org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
reallyUpdate in class RelationElementManagement<ResourceTypeDefinitionManagement,T extends EntityTypeDefinitionManagement<TT>>org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionprotected boolean reallyDelete()
throws org.gcube.informationsystem.resourceregistry.api.exceptions.relation.RelationNotFoundException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
reallyDelete in class RelationElementManagement<ResourceTypeDefinitionManagement,T extends EntityTypeDefinitionManagement<TT>>org.gcube.informationsystem.resourceregistry.api.exceptions.relation.RelationNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic com.orientechnologies.orient.core.record.OEdge 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.OEdge>org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic com.orientechnologies.orient.core.record.OEdge 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.OEdge>org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundExceptionorg.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.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.NotFoundException 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.AlreadyPresentException getSpecificERAlreadyPresentException(String message)
getSpecificERAlreadyPresentException in class ElementManagement<com.orientechnologies.orient.core.record.OEdge>protected org.gcube.informationsystem.resourceregistry.api.exceptions.AvailableInAnotherContextException getSpecificERAvailableInAnotherContextException(String message)
getSpecificERAvailableInAnotherContextException in class ElementManagement<com.orientechnologies.orient.core.record.OEdge>protected ResourceTypeDefinitionManagement newSourceEntityManagement() throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
newSourceEntityManagement in class RelationElementManagement<ResourceTypeDefinitionManagement,T extends EntityTypeDefinitionManagement<TT>>org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionCopyright © 2020. All Rights Reserved.