Class PropertyTypeDefinitionManagement


  • public class PropertyTypeDefinitionManagement
    extends ElementManagement<com.orientechnologies.orient.core.record.OElement,​org.gcube.informationsystem.types.reference.properties.PropertyType<?>>
    Author:
    Luca Frosini (ISTI - CNR)
    • Field Detail

    • Constructor Detail

      • PropertyTypeDefinitionManagement

        public PropertyTypeDefinitionManagement()
      • PropertyTypeDefinitionManagement

        public PropertyTypeDefinitionManagement​(SecurityContext securityContext,
                                                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.OElement,​org.gcube.informationsystem.types.reference.properties.PropertyType<?>>
      • getWorkingContext

        protected SecurityContext getWorkingContext()
                                             throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
        Overrides:
        getWorkingContext in class ElementManagement<com.orientechnologies.orient.core.record.OElement,​org.gcube.informationsystem.types.reference.properties.PropertyType<?>>
        Throws:
        org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
      • setName

        public void setName​(String name)
      • getName

        public String getName()
      • createCompleteJsonNode

        protected org.gcube.com.fasterxml.jackson.databind.JsonNode createCompleteJsonNode()
                                                                                    throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
        Specified by:
        createCompleteJsonNode in class ElementManagement<com.orientechnologies.orient.core.record.OElement,​org.gcube.informationsystem.types.reference.properties.PropertyType<?>>
        Throws:
        org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
      • reallyCreate

        protected com.orientechnologies.orient.core.record.OElement reallyCreate()
                                                                          throws org.gcube.informationsystem.resourceregistry.api.exceptions.AlreadyPresentException,
                                                                                 org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
        Specified by:
        reallyCreate in class ElementManagement<com.orientechnologies.orient.core.record.OElement,​org.gcube.informationsystem.types.reference.properties.PropertyType<?>>
        Throws:
        org.gcube.informationsystem.resourceregistry.api.exceptions.AlreadyPresentException
        org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
      • reallyUpdate

        protected com.orientechnologies.orient.core.record.OElement reallyUpdate()
                                                                          throws org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundException,
                                                                                 org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
        Specified by:
        reallyUpdate in class ElementManagement<com.orientechnologies.orient.core.record.OElement,​org.gcube.informationsystem.types.reference.properties.PropertyType<?>>
        Throws:
        org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundException
        org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
      • reallyDelete

        protected void reallyDelete()
                             throws org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundException,
                                    org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
        Specified by:
        reallyDelete in class ElementManagement<com.orientechnologies.orient.core.record.OElement,​org.gcube.informationsystem.types.reference.properties.PropertyType<?>>
        Throws:
        org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundException
        org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
      • getElement

        public com.orientechnologies.orient.core.record.OElement getElement()
                                                                     throws org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundException,
                                                                            org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
        Overrides:
        getElement in class ElementManagement<com.orientechnologies.orient.core.record.OElement,​org.gcube.informationsystem.types.reference.properties.PropertyType<?>>
        Throws:
        org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundException
        org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
      • retrieveElement

        public com.orientechnologies.orient.core.record.OElement retrieveElement()
                                                                          throws org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundException,
                                                                                 org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
        Overrides:
        retrieveElement in class ElementManagement<com.orientechnologies.orient.core.record.OElement,​org.gcube.informationsystem.types.reference.properties.PropertyType<?>>
        Throws:
        org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundException
        org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
      • createElement

        protected com.orientechnologies.orient.core.record.OElement createElement()
                                                                           throws org.gcube.informationsystem.resourceregistry.api.exceptions.AlreadyPresentException,
                                                                                  org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
        Throws:
        org.gcube.informationsystem.resourceregistry.api.exceptions.AlreadyPresentException
        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.OElement,​org.gcube.informationsystem.types.reference.properties.PropertyType<?>>
        Throws:
        org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
      • getSpecificNotFoundException

        protected org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundException getSpecificNotFoundException​(org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundException e)
        Specified by:
        getSpecificNotFoundException in class ElementManagement<com.orientechnologies.orient.core.record.OElement,​org.gcube.informationsystem.types.reference.properties.PropertyType<?>>
      • getSpecificAlreadyPresentException

        protected org.gcube.informationsystem.resourceregistry.api.exceptions.AlreadyPresentException getSpecificAlreadyPresentException​(String message)
        Specified by:
        getSpecificAlreadyPresentException in class ElementManagement<com.orientechnologies.orient.core.record.OElement,​org.gcube.informationsystem.types.reference.properties.PropertyType<?>>
      • 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.OElement,​org.gcube.informationsystem.types.reference.properties.PropertyType<?>>
        Throws:
        org.gcube.informationsystem.resourceregistry.api.exceptions.types.SchemaViolationException
        org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException