Class IsRelatedToManagement

    • Field Detail

      • DEFAULT_IS_RELATED_TO_PC

        public static final org.gcube.informationsystem.model.reference.properties.PropagationConstraint DEFAULT_IS_RELATED_TO_PC
    • Constructor Detail

      • IsRelatedToManagement

        public IsRelatedToManagement()
    • Method Detail

      • getSpecificNotFoundException

        protected org.gcube.informationsystem.resourceregistry.api.exceptions.relations.isrelatedto.IsRelatedToNotFoundException 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.ResourceType,​org.gcube.informationsystem.types.reference.entities.ResourceType>>
      • getSpecificAvailableInAnotherContextException

        public org.gcube.informationsystem.resourceregistry.api.exceptions.relations.isrelatedto.IsRelatedToAvailableInAnotherContextException getSpecificAvailableInAnotherContextException​(String message)
      • getSpecificAlreadyPresentException

        protected org.gcube.informationsystem.resourceregistry.api.exceptions.relations.isrelatedto.IsRelatedToAlreadyPresentException 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.ResourceType,​org.gcube.informationsystem.types.reference.entities.ResourceType>>
      • newTargetEntityManagement

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

        protected org.gcube.com.fasterxml.jackson.databind.JsonNode createCompleteJsonNode()
                                                                                    throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
        Overrides:
        createCompleteJsonNode in class RelationElementManagement<ResourceManagement,​ResourceManagement,​org.gcube.informationsystem.types.reference.entities.ResourceType,​org.gcube.informationsystem.types.reference.entities.ResourceType>
        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.ResourceType,​org.gcube.informationsystem.types.reference.entities.ResourceType>>
        Throws:
        org.gcube.informationsystem.resourceregistry.api.exceptions.types.SchemaViolationException
        org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException