Interface ResourceRegistrySchemaClient
-
- All Known Implementing Classes:
ResourceRegistrySchemaClientImpl
public interface ResourceRegistrySchemaClient- Author:
- Luca Frosini (ISTI - CNR)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddHeader(String name, String value)<E extends org.gcube.informationsystem.base.reference.Element>
org.gcube.informationsystem.types.reference.Typecreate(Class<E> clz)Stringcreate(String typeDefinitition)<E extends org.gcube.informationsystem.base.reference.Element>
booleanexist(Class<E> clz)booleanexist(String typeName)<E extends org.gcube.informationsystem.base.reference.Element>
List<org.gcube.informationsystem.types.reference.Type>read(Class<E> clz, Boolean polymorphic)Stringread(String typeName, Boolean polymorphic)
-
-
-
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.SchemaExceptionorg.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.SchemaExceptionorg.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.SchemaNotFoundExceptionorg.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.SchemaNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
-
-