public class ResourceRegistryQueryTemplateClientImpl extends Object implements ResourceRegistryQueryTemplateClient
| Constructor and Description |
|---|
ResourceRegistryQueryTemplateClientImpl(String address) |
| Modifier and Type | Method and Description |
|---|---|
List<org.gcube.informationsystem.queries.templates.reference.entities.QueryTemplate> |
all() |
org.gcube.informationsystem.queries.templates.reference.entities.QueryTemplate |
create(org.gcube.informationsystem.queries.templates.reference.entities.QueryTemplate queryTemplate) |
String |
create(String queryTemplate) |
boolean |
delete(org.gcube.informationsystem.queries.templates.reference.entities.QueryTemplate queryTemplate) |
boolean |
delete(String queryTemplateName) |
boolean |
exist(org.gcube.informationsystem.queries.templates.reference.entities.QueryTemplate queryTemplate) |
boolean |
exist(String queryTemplateName) |
org.gcube.informationsystem.queries.templates.reference.entities.QueryTemplate |
read(org.gcube.informationsystem.queries.templates.reference.entities.QueryTemplate queryTemplate) |
org.gcube.informationsystem.queries.templates.reference.entities.QueryTemplate |
read(String queryTemplateName) |
String |
readAsString(String queryTemplateName) |
<E extends org.gcube.informationsystem.model.reference.entities.Entity> |
run(org.gcube.informationsystem.queries.templates.reference.entities.QueryTemplate queryTemplate) |
<E extends org.gcube.informationsystem.model.reference.entities.Entity> |
run(org.gcube.informationsystem.queries.templates.reference.entities.QueryTemplate queryTemplate,
org.gcube.com.fasterxml.jackson.databind.JsonNode jsonNode) |
<E extends org.gcube.informationsystem.model.reference.entities.Entity> |
run(String name) |
<E extends org.gcube.informationsystem.model.reference.entities.Entity> |
run(String name,
org.gcube.com.fasterxml.jackson.databind.JsonNode jsonNode) |
String |
run(String name,
String params) |
String |
runGetString(String name) |
org.gcube.informationsystem.queries.templates.reference.entities.QueryTemplate |
update(org.gcube.informationsystem.queries.templates.reference.entities.QueryTemplate queryTemplate) |
String |
update(String queryTemplate) |
protected final String address
public ResourceRegistryQueryTemplateClientImpl(String address)
public List<org.gcube.informationsystem.queries.templates.reference.entities.QueryTemplate> all() throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
all in interface ResourceRegistryQueryTemplateClientorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic org.gcube.informationsystem.queries.templates.reference.entities.QueryTemplate create(org.gcube.informationsystem.queries.templates.reference.entities.QueryTemplate queryTemplate)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.queries.templates.QueryTemplateAlreadyPresentException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
create in interface ResourceRegistryQueryTemplateClientorg.gcube.informationsystem.resourceregistry.api.exceptions.queries.templates.QueryTemplateAlreadyPresentExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic String create(String queryTemplate) throws org.gcube.informationsystem.resourceregistry.api.exceptions.queries.templates.QueryTemplateAlreadyPresentException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
create in interface ResourceRegistryQueryTemplateClientorg.gcube.informationsystem.resourceregistry.api.exceptions.queries.templates.QueryTemplateAlreadyPresentExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic boolean exist(String queryTemplateName) throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
exist in interface ResourceRegistryQueryTemplateClientorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic boolean exist(org.gcube.informationsystem.queries.templates.reference.entities.QueryTemplate queryTemplate)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
exist in interface ResourceRegistryQueryTemplateClientorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic org.gcube.informationsystem.queries.templates.reference.entities.QueryTemplate read(org.gcube.informationsystem.queries.templates.reference.entities.QueryTemplate queryTemplate)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.queries.templates.QueryTemplateNotFoundException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
read in interface ResourceRegistryQueryTemplateClientorg.gcube.informationsystem.resourceregistry.api.exceptions.queries.templates.QueryTemplateNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic org.gcube.informationsystem.queries.templates.reference.entities.QueryTemplate read(String queryTemplateName) throws org.gcube.informationsystem.resourceregistry.api.exceptions.queries.templates.QueryTemplateNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
read in interface ResourceRegistryQueryTemplateClientorg.gcube.informationsystem.resourceregistry.api.exceptions.queries.templates.QueryTemplateNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic String readAsString(String queryTemplateName) throws org.gcube.informationsystem.resourceregistry.api.exceptions.queries.templates.QueryTemplateNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
readAsString in interface ResourceRegistryQueryTemplateClientorg.gcube.informationsystem.resourceregistry.api.exceptions.queries.templates.QueryTemplateNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic org.gcube.informationsystem.queries.templates.reference.entities.QueryTemplate update(org.gcube.informationsystem.queries.templates.reference.entities.QueryTemplate queryTemplate)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.queries.templates.QueryTemplateNotFoundException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
update in interface ResourceRegistryQueryTemplateClientorg.gcube.informationsystem.resourceregistry.api.exceptions.queries.templates.QueryTemplateNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic String update(String queryTemplate) throws org.gcube.informationsystem.resourceregistry.api.exceptions.queries.templates.QueryTemplateNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
update in interface ResourceRegistryQueryTemplateClientorg.gcube.informationsystem.resourceregistry.api.exceptions.queries.templates.QueryTemplateNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic String runGetString(String name) throws org.gcube.informationsystem.resourceregistry.api.exceptions.queries.templates.QueryTemplateNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
runGetString in interface ResourceRegistryQueryTemplateClientorg.gcube.informationsystem.resourceregistry.api.exceptions.queries.templates.QueryTemplateNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic <E extends org.gcube.informationsystem.model.reference.entities.Entity> List<E> run(String name) throws org.gcube.informationsystem.resourceregistry.api.exceptions.queries.templates.QueryTemplateNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
run in interface ResourceRegistryQueryTemplateClientorg.gcube.informationsystem.resourceregistry.api.exceptions.queries.templates.QueryTemplateNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic <E extends org.gcube.informationsystem.model.reference.entities.Entity> List<E> run(org.gcube.informationsystem.queries.templates.reference.entities.QueryTemplate queryTemplate) throws org.gcube.informationsystem.resourceregistry.api.exceptions.queries.templates.QueryTemplateNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
run in interface ResourceRegistryQueryTemplateClientorg.gcube.informationsystem.resourceregistry.api.exceptions.queries.templates.QueryTemplateNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic String run(String name, String params) throws org.gcube.informationsystem.resourceregistry.api.exceptions.queries.templates.QueryTemplateNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
run in interface ResourceRegistryQueryTemplateClientorg.gcube.informationsystem.resourceregistry.api.exceptions.queries.templates.QueryTemplateNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic <E extends org.gcube.informationsystem.model.reference.entities.Entity> List<E> run(String name, org.gcube.com.fasterxml.jackson.databind.JsonNode jsonNode) throws org.gcube.informationsystem.resourceregistry.api.exceptions.queries.templates.QueryTemplateNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
run in interface ResourceRegistryQueryTemplateClientorg.gcube.informationsystem.resourceregistry.api.exceptions.queries.templates.QueryTemplateNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic <E extends org.gcube.informationsystem.model.reference.entities.Entity> List<E> run(org.gcube.informationsystem.queries.templates.reference.entities.QueryTemplate queryTemplate, org.gcube.com.fasterxml.jackson.databind.JsonNode jsonNode) throws org.gcube.informationsystem.resourceregistry.api.exceptions.queries.templates.QueryTemplateNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
run in interface ResourceRegistryQueryTemplateClientorg.gcube.informationsystem.resourceregistry.api.exceptions.queries.templates.QueryTemplateNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic boolean delete(org.gcube.informationsystem.queries.templates.reference.entities.QueryTemplate queryTemplate)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.queries.templates.QueryTemplateNotFoundException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
delete in interface ResourceRegistryQueryTemplateClientorg.gcube.informationsystem.resourceregistry.api.exceptions.queries.templates.QueryTemplateNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic boolean delete(String queryTemplateName) throws org.gcube.informationsystem.resourceregistry.api.exceptions.queries.templates.QueryTemplateNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
delete in interface ResourceRegistryQueryTemplateClientorg.gcube.informationsystem.resourceregistry.api.exceptions.queries.templates.QueryTemplateNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionCopyright © 2022. All Rights Reserved.