public class ResourceRegistryContextClientImpl extends Object implements ResourceRegistryContextClient
| Modifier and Type | Field and Description |
|---|---|
protected String |
address |
protected org.gcube.informationsystem.resourceregistry.api.rest.httputils.HTTPCall |
httpCall |
static String |
PATH_SEPARATOR |
| Constructor and Description |
|---|
ResourceRegistryContextClientImpl(String address) |
| Modifier and Type | Method and Description |
|---|---|
List<org.gcube.informationsystem.model.entity.Context> |
all() |
org.gcube.informationsystem.model.entity.Context |
create(org.gcube.informationsystem.model.entity.Context context) |
String |
create(String context) |
boolean |
delete(org.gcube.informationsystem.model.entity.Context context) |
boolean |
delete(String uuid) |
boolean |
delete(UUID uuid) |
org.gcube.informationsystem.model.entity.Context |
read(org.gcube.informationsystem.model.entity.Context context) |
String |
read(String uuid) |
org.gcube.informationsystem.model.entity.Context |
read(UUID uuid) |
org.gcube.informationsystem.model.entity.Context |
update(org.gcube.informationsystem.model.entity.Context context) |
String |
update(String context) |
public static final String PATH_SEPARATOR
protected final String address
protected org.gcube.informationsystem.resourceregistry.api.rest.httputils.HTTPCall httpCall
public ResourceRegistryContextClientImpl(String address)
public org.gcube.informationsystem.model.entity.Context create(org.gcube.informationsystem.model.entity.Context context)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextAlreadyPresentException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
create in interface ResourceRegistryContextClientorg.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextAlreadyPresentExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic String create(String context) throws org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextAlreadyPresentException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
create in interface ResourceRegistryContextClientorg.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextAlreadyPresentExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic org.gcube.informationsystem.model.entity.Context read(org.gcube.informationsystem.model.entity.Context context)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
read in interface ResourceRegistryContextClientorg.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic org.gcube.informationsystem.model.entity.Context read(UUID uuid) throws org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
read in interface ResourceRegistryContextClientorg.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic String read(String uuid) throws org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
read in interface ResourceRegistryContextClientorg.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic org.gcube.informationsystem.model.entity.Context update(org.gcube.informationsystem.model.entity.Context context)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextAlreadyPresentException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
update in interface ResourceRegistryContextClientorg.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextAlreadyPresentExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic String update(String context) throws org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextAlreadyPresentException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
update in interface ResourceRegistryContextClientorg.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextAlreadyPresentExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic boolean delete(org.gcube.informationsystem.model.entity.Context context)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
delete in interface ResourceRegistryContextClientorg.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic boolean delete(UUID uuid) throws org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
delete in interface ResourceRegistryContextClientorg.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic boolean delete(String uuid) throws org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
delete in interface ResourceRegistryContextClientorg.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic List<org.gcube.informationsystem.model.entity.Context> all() throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
all in interface ResourceRegistryContextClientorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionCopyright © 2017. All Rights Reserved.