Class IsParentOfManagement

    • Constructor Detail

      • IsParentOfManagement

        public IsParentOfManagement()
      • IsParentOfManagement

        public IsParentOfManagement​(com.orientechnologies.orient.core.db.document.ODatabaseDocument oDatabaseDocument)
                             throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
        Throws:
        org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
    • Method Detail

      • getAffectedInstances

        public Map<UUID,​org.gcube.com.fasterxml.jackson.databind.JsonNode> getAffectedInstances()
        Overrides:
        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>>
      • getWorkingContext

        protected SecurityContext getWorkingContext()
                                             throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
        Overrides:
        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>>
        Throws:
        org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
      • getSpecificNotFoundException

        protected org.gcube.informationsystem.resourceregistry.api.exceptions.relations.isparentof.IsParentOfNotFoundException getSpecificNotFoundException​(org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundException e)
        Specified by:
        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>>
      • getSpecificAlreadyPresentException

        protected org.gcube.informationsystem.resourceregistry.api.exceptions.relations.isparentof.IsParentOfAlreadyPresentException getSpecificAlreadyPresentException​(String message)
        Specified by:
        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>>
      • createCompleteJsonNode

        public org.gcube.com.fasterxml.jackson.databind.JsonNode createCompleteJsonNode()
                                                                                 throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
        Overrides:
        createCompleteJsonNode in class RelationElementManagement<ContextManagement,​ContextManagement,​org.gcube.informationsystem.types.reference.entities.EntityType,​org.gcube.informationsystem.types.reference.entities.EntityType>
        Throws:
        org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
      • newSourceEntityManagement

        protected ContextManagement newSourceEntityManagement()
                                                       throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
        Specified by:
        newSourceEntityManagement in class RelationElementManagement<ContextManagement,​ContextManagement,​org.gcube.informationsystem.types.reference.entities.EntityType,​org.gcube.informationsystem.types.reference.entities.EntityType>
        Throws:
        org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
      • newTargetEntityManagement

        protected ContextManagement newTargetEntityManagement()
                                                       throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
        Specified by:
        newTargetEntityManagement in class RelationElementManagement<ContextManagement,​ContextManagement,​org.gcube.informationsystem.types.reference.entities.EntityType,​org.gcube.informationsystem.types.reference.entities.EntityType>
        Throws:
        org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
      • reallyGetAll

        public String reallyGetAll​(boolean polymorphic)
                            throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
        Specified by:
        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>>
        Throws:
        org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
      • sanityCheck

        public void sanityCheck()
                         throws org.gcube.informationsystem.resourceregistry.api.exceptions.types.SchemaViolationException,
                                org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
        Overrides:
        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>>
        Throws:
        org.gcube.informationsystem.resourceregistry.api.exceptions.types.SchemaViolationException
        org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
      • checksourceAndTargetEntityCompliancy

        protected 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
        Specified by:
        checksourceAndTargetEntityCompliancy in class RelationElementManagement<ContextManagement,​ContextManagement,​org.gcube.informationsystem.types.reference.entities.EntityType,​org.gcube.informationsystem.types.reference.entities.EntityType>
        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