Interface ResourceRegistrySchemaClient

    • Method Detail

      • create

        String create​(String typeDefinitition)
               throws org.gcube.informationsystem.resourceregistry.api.exceptions.types.SchemaException,
                      org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
        Throws:
        org.gcube.informationsystem.resourceregistry.api.exceptions.types.SchemaException
        org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
      • create

        <E extends org.gcube.informationsystem.base.reference.Element> org.gcube.informationsystem.types.reference.Type create​(Class<E> clz)
                                                                                                                        throws org.gcube.informationsystem.resourceregistry.api.exceptions.types.SchemaException,
                                                                                                                               org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
        Throws:
        org.gcube.informationsystem.resourceregistry.api.exceptions.types.SchemaException
        org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
      • exist

        boolean exist​(String typeName)
               throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
        Throws:
        org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
      • exist

        <E extends org.gcube.informationsystem.base.reference.Element> boolean exist​(Class<E> clz)
                                                                              throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
        Throws:
        org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
      • read

        String read​(String typeName,
                    Boolean polymorphic)
             throws org.gcube.informationsystem.resourceregistry.api.exceptions.types.SchemaNotFoundException,
                    org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
        Throws:
        org.gcube.informationsystem.resourceregistry.api.exceptions.types.SchemaNotFoundException
        org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
      • read

        <E extends org.gcube.informationsystem.base.reference.Element> List<org.gcube.informationsystem.types.reference.Type> read​(Class<E> clz,
                                                                                                                                   Boolean polymorphic)
                                                                                                                            throws org.gcube.informationsystem.resourceregistry.api.exceptions.types.SchemaNotFoundException,
                                                                                                                                   org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
        Throws:
        org.gcube.informationsystem.resourceregistry.api.exceptions.types.SchemaNotFoundException
        org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException