public interface ResourceRegistryClient
| Modifier and Type | Method and Description |
|---|---|
<ERType extends org.gcube.informationsystem.model.ER> |
exists(Class<ERType> clazz,
UUID uuid) |
boolean |
exists(String type,
UUID uuid) |
org.gcube.informationsystem.model.entity.Context |
getContext(UUID uuid) |
<R extends org.gcube.informationsystem.model.entity.Resource,F extends org.gcube.informationsystem.model.entity.Facet,C extends org.gcube.informationsystem.model.relation.ConsistsOf<?,?>> |
getFilteredResources(Class<R> resourceClass,
Class<C> consistsOfClass,
Class<F> facetClass,
boolean polymorphic,
Map<String,Object> map) |
String |
getFilteredResources(String resourceType,
String consistsOfType,
String facetType,
boolean polymorphic,
Map<String,Object> map) |
<ERType extends org.gcube.informationsystem.model.ER> |
getInstance(Class<ERType> clazz,
UUID uuid) |
String |
getInstance(String type,
UUID uuid) |
<ERType extends org.gcube.informationsystem.model.ER,R extends org.gcube.informationsystem.model.entity.Resource> |
getInstances(Class<ERType> clazz,
Boolean polymorphic) |
String |
getInstances(String type,
Boolean polymorphic) |
<ERType extends org.gcube.informationsystem.model.ER,E extends org.gcube.informationsystem.model.entity.Entity,R extends org.gcube.informationsystem.model.entity.Resource> |
getInstancesFromEntity(Class<ERType> clazz,
Boolean polymorphic,
E reference,
Direction direction) |
<ERType extends org.gcube.informationsystem.model.ER,R extends org.gcube.informationsystem.model.entity.Resource> |
getInstancesFromEntity(Class<ERType> clazz,
Boolean polymorphic,
UUID reference,
Direction direction) |
String |
getInstancesFromEntity(String type,
Boolean polymorphic,
UUID reference,
Direction direction) |
<ISM extends org.gcube.informationsystem.model.ISManageable> |
getSchema(Class<ISM> clazz,
Boolean polymorphic) |
String |
query(String query,
int limit,
String fetchPlan) |
<ERType extends org.gcube.informationsystem.model.ER> boolean exists(Class<ERType> clazz, UUID uuid) throws org.gcube.informationsystem.resourceregistry.api.exceptions.er.ERNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.er.ERAvailableInAnotherContextException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.er.ERNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.er.ERAvailableInAnotherContextExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionboolean exists(String type, UUID uuid) throws org.gcube.informationsystem.resourceregistry.api.exceptions.er.ERNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.er.ERAvailableInAnotherContextException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.er.ERNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.er.ERAvailableInAnotherContextExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException<ERType extends org.gcube.informationsystem.model.ER> ERType getInstance(Class<ERType> clazz, UUID uuid) throws org.gcube.informationsystem.resourceregistry.api.exceptions.er.ERNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.er.ERAvailableInAnotherContextException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.er.ERNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.er.ERAvailableInAnotherContextExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionString getInstance(String type, UUID uuid) throws org.gcube.informationsystem.resourceregistry.api.exceptions.er.ERNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.er.ERAvailableInAnotherContextException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.er.ERNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.er.ERAvailableInAnotherContextExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException<ERType extends org.gcube.informationsystem.model.ER,R extends org.gcube.informationsystem.model.entity.Resource> List<R> getInstances(Class<ERType> clazz, Boolean polymorphic) throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionString getInstances(String type, Boolean polymorphic) throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException<ERType extends org.gcube.informationsystem.model.ER,E extends org.gcube.informationsystem.model.entity.Entity,R extends org.gcube.informationsystem.model.entity.Resource> List<R> getInstancesFromEntity(Class<ERType> clazz, Boolean polymorphic, E reference, Direction direction) throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException<ERType extends org.gcube.informationsystem.model.ER,R extends org.gcube.informationsystem.model.entity.Resource> List<R> getInstancesFromEntity(Class<ERType> clazz, Boolean polymorphic, UUID reference, Direction direction) throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionString getInstancesFromEntity(String type, Boolean polymorphic, UUID reference, Direction direction) throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException<R extends org.gcube.informationsystem.model.entity.Resource,F extends org.gcube.informationsystem.model.entity.Facet,C extends org.gcube.informationsystem.model.relation.ConsistsOf<?,?>> List<R> getFilteredResources(Class<R> resourceClass, Class<C> consistsOfClass, Class<F> facetClass, boolean polymorphic, Map<String,Object> map) throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionString getFilteredResources(String resourceType, String consistsOfType, String facetType, boolean polymorphic, Map<String,Object> map) throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionString query(String query, int limit, String fetchPlan) throws org.gcube.informationsystem.resourceregistry.api.exceptions.query.InvalidQueryException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.query.InvalidQueryExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException<ISM extends org.gcube.informationsystem.model.ISManageable> List<org.gcube.informationsystem.types.TypeBinder.TypeDefinition> getSchema(Class<ISM> clazz, Boolean polymorphic) throws org.gcube.informationsystem.resourceregistry.api.exceptions.schema.SchemaNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.schema.SchemaNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionorg.gcube.informationsystem.model.entity.Context getContext(UUID uuid) throws org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionCopyright © 2017. All Rights Reserved.