public class ResourceRegistryClientImpl extends Object implements ResourceRegistryClient
| Modifier and Type | Field and Description |
|---|---|
static String |
PATH_SEPARATOR |
| Constructor and Description |
|---|
ResourceRegistryClientImpl(org.gcube.common.clients.delegates.ProxyDelegate<EndpointReference> config) |
| Modifier and Type | Method and Description |
|---|---|
<ERType extends org.gcube.informationsystem.model.ER> |
getInstance(Class<ERType> clazz,
UUID uuid) |
List<? extends org.gcube.informationsystem.model.entity.Entity> |
getInstances(String type,
Boolean polymorphic) |
List<org.gcube.informationsystem.model.entity.Resource> |
getInstancesFromEntity(String relationType,
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) |
public static final String PATH_SEPARATOR
public ResourceRegistryClientImpl(org.gcube.common.clients.delegates.ProxyDelegate<EndpointReference> config)
public <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.ResourceRegistryException
getInstance in interface ResourceRegistryClientorg.gcube.informationsystem.resourceregistry.api.exceptions.er.ERNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic List<? extends org.gcube.informationsystem.model.entity.Entity> getInstances(String type, Boolean polymorphic) throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
getInstances in interface ResourceRegistryClientorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic List<org.gcube.informationsystem.model.entity.Resource> getInstancesFromEntity(String relationType, Boolean polymorphic, UUID reference, Direction direction) throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
getInstancesFromEntity in interface ResourceRegistryClientorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic <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
getSchema in interface ResourceRegistryClientorg.gcube.informationsystem.resourceregistry.api.exceptions.schema.SchemaNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic String query(String query, int limit, String fetchPlan) throws org.gcube.informationsystem.resourceregistry.api.exceptions.query.InvalidQueryException
query in interface ResourceRegistryClientorg.gcube.informationsystem.resourceregistry.api.exceptions.query.InvalidQueryExceptionCopyright © 2017. All Rights Reserved.