public class ResourceRegistryPublisherImpl extends Object implements ResourceRegistryPublisher
| 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 |
|---|
ResourceRegistryPublisherImpl(String address) |
| Modifier and Type | Method and Description |
|---|---|
<F extends org.gcube.informationsystem.model.reference.entity.Facet> |
addFacetToContext(UUID contextUUID,
F facet) |
boolean |
addFacetToContext(UUID contextUUID,
String facetType,
UUID facetUUID) |
<F extends org.gcube.informationsystem.model.reference.entity.Facet> |
addFacetToCurrentContext(F facet) |
boolean |
addFacetToCurrentContext(String facetType,
UUID facetUUID) |
<R extends org.gcube.informationsystem.model.reference.entity.Resource> |
addResourceToContext(UUID contextUUID,
R resource) |
boolean |
addResourceToContext(UUID contextUUID,
String resourceType,
UUID resourceUUID) |
<R extends org.gcube.informationsystem.model.reference.entity.Resource> |
addResourceToCurrentContext(R resource) |
boolean |
addResourceToCurrentContext(String resourceType,
UUID resourceUUID) |
<E extends org.gcube.informationsystem.model.reference.ER> |
addToContext(UUID contextUUID,
E er) |
boolean |
addToContext(UUID contextUUID,
String erType,
UUID instanceUUID) |
<E extends org.gcube.informationsystem.model.reference.ER> |
addToCurrentContext(E er) |
boolean |
addToCurrentContext(String erType,
UUID instanceUUID) |
<E extends org.gcube.informationsystem.model.reference.ER> |
create(E er) |
String |
create(String er) |
protected String |
create(String erType,
String er,
UUID uuid) |
<C extends org.gcube.informationsystem.model.reference.relation.ConsistsOf<? extends org.gcube.informationsystem.model.reference.entity.Resource,? extends org.gcube.informationsystem.model.reference.entity.Facet>> |
createConsistsOf(C consistsOf) |
String |
createConsistsOf(String consistsOf) |
<F extends org.gcube.informationsystem.model.reference.entity.Facet> |
createFacet(F facet) |
String |
createFacet(String facet) |
<I extends org.gcube.informationsystem.model.reference.relation.IsRelatedTo<? extends org.gcube.informationsystem.model.reference.entity.Resource,? extends org.gcube.informationsystem.model.reference.entity.Resource>> |
createIsRelatedTo(I isRelatedTo) |
String |
createIsRelatedTo(String isRelatedTo) |
<R extends org.gcube.informationsystem.model.reference.entity.Resource> |
createResource(R resource) |
String |
createResource(String resource) |
<E extends org.gcube.informationsystem.model.reference.ER> |
delete(E er) |
boolean |
delete(String erType,
UUID uuid) |
<C extends org.gcube.informationsystem.model.reference.relation.ConsistsOf<? extends org.gcube.informationsystem.model.reference.entity.Resource,? extends org.gcube.informationsystem.model.reference.entity.Facet>> |
deleteConsistsOf(C consistsOf) |
boolean |
deleteConsistsOf(String consistsOfType,
UUID uuid) |
<F extends org.gcube.informationsystem.model.reference.entity.Facet> |
deleteFacet(F facet) |
boolean |
deleteFacet(String facetType,
UUID uuid) |
<I extends org.gcube.informationsystem.model.reference.relation.IsRelatedTo<? extends org.gcube.informationsystem.model.reference.entity.Resource,? extends org.gcube.informationsystem.model.reference.entity.Resource>> |
deleteIsRelatedTo(I isRelatedTo) |
boolean |
deleteIsRelatedTo(String isRelatedToType,
UUID uuid) |
<R extends org.gcube.informationsystem.model.reference.entity.Resource> |
deleteResource(R resource) |
boolean |
deleteResource(String resourceType,
UUID uuid) |
protected org.gcube.informationsystem.resourceregistry.api.rest.httputils.HTTPCall |
getHTTPCall() |
<E extends org.gcube.informationsystem.model.reference.ER> |
internalCreate(E er) |
<E extends org.gcube.informationsystem.model.reference.ER> |
read(E er) |
String |
read(String erType,
UUID uuid) |
<C extends org.gcube.informationsystem.model.reference.relation.ConsistsOf<? extends org.gcube.informationsystem.model.reference.entity.Resource,? extends org.gcube.informationsystem.model.reference.entity.Facet>> |
readConsistsOf(C consistsOf) |
String |
readConsistsOf(String consistsOfType,
UUID uuid) |
<F extends org.gcube.informationsystem.model.reference.entity.Facet> |
readFacet(F facet) |
String |
readFacet(String facetType,
UUID uuid) |
<I extends org.gcube.informationsystem.model.reference.relation.IsRelatedTo<? extends org.gcube.informationsystem.model.reference.entity.Resource,? extends org.gcube.informationsystem.model.reference.entity.Resource>> |
readIsRelatedTo(I isRelatedTo) |
String |
readIsRelatedTo(String isRelatedToType,
UUID uuid) |
<R extends org.gcube.informationsystem.model.reference.entity.Resource> |
readResource(R resource) |
String |
readResource(String resourceType,
UUID uuid) |
<F extends org.gcube.informationsystem.model.reference.entity.Facet> |
removeFacetFromContext(UUID contextUUID,
F facet) |
boolean |
removeFacetFromContext(UUID contextUUID,
String facetType,
UUID facetUUID) |
<F extends org.gcube.informationsystem.model.reference.entity.Facet> |
removeFacetFromCurrentContext(F facet) |
boolean |
removeFacetFromCurrentContext(String facetType,
UUID facetUUID) |
<E extends org.gcube.informationsystem.model.reference.ER> |
removeFromContext(UUID contextUUID,
E er) |
boolean |
removeFromContext(UUID contextUUID,
String erType,
UUID instanceUUID) |
<E extends org.gcube.informationsystem.model.reference.ER> |
removeFromCurrentContext(E er) |
boolean |
removeFromCurrentContext(String erType,
UUID instanceUUID) |
<R extends org.gcube.informationsystem.model.reference.entity.Resource> |
removeResourceFromContext(UUID contextUUID,
R resource) |
boolean |
removeResourceFromContext(UUID contextUUID,
String resourceType,
UUID resourceUUID) |
<R extends org.gcube.informationsystem.model.reference.entity.Resource> |
removeResourceFromCurrentContext(R resource) |
boolean |
removeResourceFromCurrentContext(String resourceType,
UUID resourceUUID) |
<E extends org.gcube.informationsystem.model.reference.ER> |
update(E er) |
String |
update(String er) |
String |
update(String erType,
String er) |
protected String |
update(String erType,
String er,
UUID uuid) |
<C extends org.gcube.informationsystem.model.reference.relation.ConsistsOf<? extends org.gcube.informationsystem.model.reference.entity.Resource,? extends org.gcube.informationsystem.model.reference.entity.Facet>> |
updateConsistsOf(C consistsOf) |
String |
updateConsistsOf(String consistsOf) |
<F extends org.gcube.informationsystem.model.reference.entity.Facet> |
updateFacet(F facet) |
String |
updateFacet(String facet) |
<I extends org.gcube.informationsystem.model.reference.relation.IsRelatedTo<? extends org.gcube.informationsystem.model.reference.entity.Resource,? extends org.gcube.informationsystem.model.reference.entity.Resource>> |
updateIsRelatedTo(I isRelatedTo) |
String |
updateIsRelatedTo(String isRelatedTo) |
<R extends org.gcube.informationsystem.model.reference.entity.Resource> |
updateResource(R resource) |
String |
updateResource(String resource) |
public static final String PATH_SEPARATOR
protected final String address
protected org.gcube.informationsystem.resourceregistry.api.rest.httputils.HTTPCall httpCall
public ResourceRegistryPublisherImpl(String address)
protected org.gcube.informationsystem.resourceregistry.api.rest.httputils.HTTPCall getHTTPCall()
throws MalformedURLException
MalformedURLExceptionprotected String create(String erType, String er, UUID uuid) throws org.gcube.informationsystem.resourceregistry.api.exceptions.AlreadyPresentException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.AlreadyPresentExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic <E extends org.gcube.informationsystem.model.reference.ER> String internalCreate(E er) throws org.gcube.informationsystem.resourceregistry.api.exceptions.AlreadyPresentException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.AlreadyPresentExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic <E extends org.gcube.informationsystem.model.reference.ER> E create(E er)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.AlreadyPresentException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
create in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.AlreadyPresentExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic String create(String er) throws org.gcube.informationsystem.resourceregistry.api.exceptions.AlreadyPresentException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
create in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.AlreadyPresentExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic <E extends org.gcube.informationsystem.model.reference.ER> E read(E er)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
read in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic String read(String erType, UUID uuid) throws org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
read in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionprotected String update(String erType, String er, UUID uuid) throws org.gcube.informationsystem.resourceregistry.api.exceptions.AlreadyPresentException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.AlreadyPresentExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic <E extends org.gcube.informationsystem.model.reference.ER> E update(E er)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
update in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic String update(String erType, String er) throws org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
update in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic String update(String er) throws org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
update in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic <E extends org.gcube.informationsystem.model.reference.ER> boolean delete(E er)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
delete in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic boolean delete(String erType, UUID uuid) throws org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
delete in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic <F extends org.gcube.informationsystem.model.reference.entity.Facet> F createFacet(F facet)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.entity.facet.FacetAlreadyPresentException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
createFacet in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.entity.facet.FacetAlreadyPresentExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic String createFacet(String facet) throws org.gcube.informationsystem.resourceregistry.api.exceptions.entity.facet.FacetAlreadyPresentException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
createFacet in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.entity.facet.FacetAlreadyPresentExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic <F extends org.gcube.informationsystem.model.reference.entity.Facet> F readFacet(F facet)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.entity.facet.FacetNotFoundException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
readFacet in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.entity.facet.FacetNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic String readFacet(String facetType, UUID uuid) throws org.gcube.informationsystem.resourceregistry.api.exceptions.entity.facet.FacetNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
readFacet in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.entity.facet.FacetNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic <F extends org.gcube.informationsystem.model.reference.entity.Facet> F updateFacet(F facet)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.entity.facet.FacetNotFoundException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
updateFacet in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.entity.facet.FacetNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic String updateFacet(String facet) throws org.gcube.informationsystem.resourceregistry.api.exceptions.entity.facet.FacetNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
updateFacet in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.entity.facet.FacetNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic <F extends org.gcube.informationsystem.model.reference.entity.Facet> boolean deleteFacet(F facet)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.entity.facet.FacetNotFoundException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
deleteFacet in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.entity.facet.FacetNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic boolean deleteFacet(String facetType, UUID uuid) throws org.gcube.informationsystem.resourceregistry.api.exceptions.entity.facet.FacetNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
deleteFacet in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.entity.facet.FacetNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic <R extends org.gcube.informationsystem.model.reference.entity.Resource> R createResource(R resource)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceAlreadyPresentException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
createResource in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceAlreadyPresentExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic String createResource(String resource) throws org.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceAlreadyPresentException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
createResource in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceAlreadyPresentExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic <R extends org.gcube.informationsystem.model.reference.entity.Resource> R readResource(R resource)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceNotFoundException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
readResource in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic String readResource(String resourceType, UUID uuid) throws org.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
readResource in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic <R extends org.gcube.informationsystem.model.reference.entity.Resource> R updateResource(R resource)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceNotFoundException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
updateResource in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic String updateResource(String resource) throws org.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
updateResource in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic <R extends org.gcube.informationsystem.model.reference.entity.Resource> boolean deleteResource(R resource)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceNotFoundException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
deleteResource in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic boolean deleteResource(String resourceType, UUID uuid) throws org.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
deleteResource in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic <C extends org.gcube.informationsystem.model.reference.relation.ConsistsOf<? extends org.gcube.informationsystem.model.reference.entity.Resource,? extends org.gcube.informationsystem.model.reference.entity.Facet>> C createConsistsOf(C consistsOf)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
createConsistsOf in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic String createConsistsOf(String consistsOf) throws org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
createConsistsOf in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic <C extends org.gcube.informationsystem.model.reference.relation.ConsistsOf<? extends org.gcube.informationsystem.model.reference.entity.Resource,? extends org.gcube.informationsystem.model.reference.entity.Facet>> C readConsistsOf(C consistsOf)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
readConsistsOf in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic String readConsistsOf(String consistsOfType, UUID uuid) throws org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
readConsistsOf in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic <C extends org.gcube.informationsystem.model.reference.relation.ConsistsOf<? extends org.gcube.informationsystem.model.reference.entity.Resource,? extends org.gcube.informationsystem.model.reference.entity.Facet>> C updateConsistsOf(C consistsOf)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
updateConsistsOf in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic String updateConsistsOf(String consistsOf) throws org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
updateConsistsOf in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic <C extends org.gcube.informationsystem.model.reference.relation.ConsistsOf<? extends org.gcube.informationsystem.model.reference.entity.Resource,? extends org.gcube.informationsystem.model.reference.entity.Facet>> boolean deleteConsistsOf(C consistsOf)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
deleteConsistsOf in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic boolean deleteConsistsOf(String consistsOfType, UUID uuid) throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
deleteConsistsOf in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic <I extends org.gcube.informationsystem.model.reference.relation.IsRelatedTo<? extends org.gcube.informationsystem.model.reference.entity.Resource,? extends org.gcube.informationsystem.model.reference.entity.Resource>> I createIsRelatedTo(I isRelatedTo)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceNotFoundException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
createIsRelatedTo in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic String createIsRelatedTo(String isRelatedTo) throws org.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
createIsRelatedTo in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic <I extends org.gcube.informationsystem.model.reference.relation.IsRelatedTo<? extends org.gcube.informationsystem.model.reference.entity.Resource,? extends org.gcube.informationsystem.model.reference.entity.Resource>> I readIsRelatedTo(I isRelatedTo)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
readIsRelatedTo in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic String readIsRelatedTo(String isRelatedToType, UUID uuid) throws org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
readIsRelatedTo in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic <I extends org.gcube.informationsystem.model.reference.relation.IsRelatedTo<? extends org.gcube.informationsystem.model.reference.entity.Resource,? extends org.gcube.informationsystem.model.reference.entity.Resource>> I updateIsRelatedTo(I isRelatedTo)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
updateIsRelatedTo in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic String updateIsRelatedTo(String isRelatedTo) throws org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
updateIsRelatedTo in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic <I extends org.gcube.informationsystem.model.reference.relation.IsRelatedTo<? extends org.gcube.informationsystem.model.reference.entity.Resource,? extends org.gcube.informationsystem.model.reference.entity.Resource>> boolean deleteIsRelatedTo(I isRelatedTo)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
deleteIsRelatedTo in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic boolean deleteIsRelatedTo(String isRelatedToType, UUID uuid) throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
deleteIsRelatedTo in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic boolean addToContext(UUID contextUUID, String erType, UUID instanceUUID) throws org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
addToContext in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic <E extends org.gcube.informationsystem.model.reference.ER> boolean addToContext(UUID contextUUID, E er) throws org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
addToContext in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic boolean addToCurrentContext(String erType, UUID instanceUUID) throws org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
addToCurrentContext in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic <E extends org.gcube.informationsystem.model.reference.ER> boolean addToCurrentContext(E er)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
addToCurrentContext in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic boolean removeFromContext(UUID contextUUID, String erType, UUID instanceUUID) throws org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
removeFromContext in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic <E extends org.gcube.informationsystem.model.reference.ER> boolean removeFromContext(UUID contextUUID, E er) throws org.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
removeFromContext in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic boolean removeFromCurrentContext(String erType, UUID instanceUUID) throws org.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
removeFromCurrentContext in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic <E extends org.gcube.informationsystem.model.reference.ER> boolean removeFromCurrentContext(E er)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceNotFoundException,
org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
removeFromCurrentContext in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic boolean addResourceToContext(UUID contextUUID, String resourceType, UUID resourceUUID) throws org.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
addResourceToContext in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic <R extends org.gcube.informationsystem.model.reference.entity.Resource> boolean addResourceToContext(UUID contextUUID, R resource) throws org.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
addResourceToContext in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic boolean addResourceToCurrentContext(String resourceType, UUID resourceUUID) throws org.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
addResourceToCurrentContext in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic <R extends org.gcube.informationsystem.model.reference.entity.Resource> boolean addResourceToCurrentContext(R resource)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceNotFoundException,
org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
addResourceToCurrentContext in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic boolean removeResourceFromContext(UUID contextUUID, String resourceType, UUID resourceUUID) throws org.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
removeResourceFromContext in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic <R extends org.gcube.informationsystem.model.reference.entity.Resource> boolean removeResourceFromContext(UUID contextUUID, R resource) throws org.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
removeResourceFromContext in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic boolean removeResourceFromCurrentContext(String resourceType, UUID resourceUUID) throws org.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
removeResourceFromCurrentContext in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic <R extends org.gcube.informationsystem.model.reference.entity.Resource> boolean removeResourceFromCurrentContext(R resource)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceNotFoundException,
org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
removeResourceFromCurrentContext in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic boolean addFacetToContext(UUID contextUUID, String facetType, UUID facetUUID) throws org.gcube.informationsystem.resourceregistry.api.exceptions.entity.facet.FacetNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
addFacetToContext in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.entity.facet.FacetNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic <F extends org.gcube.informationsystem.model.reference.entity.Facet> boolean addFacetToContext(UUID contextUUID, F facet) throws org.gcube.informationsystem.resourceregistry.api.exceptions.entity.facet.FacetNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
addFacetToContext in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.entity.facet.FacetNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic boolean addFacetToCurrentContext(String facetType, UUID facetUUID) throws org.gcube.informationsystem.resourceregistry.api.exceptions.entity.facet.FacetNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
addFacetToCurrentContext in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.entity.facet.FacetNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic <F extends org.gcube.informationsystem.model.reference.entity.Facet> boolean addFacetToCurrentContext(F facet)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.entity.facet.FacetNotFoundException,
org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
addFacetToCurrentContext in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.entity.facet.FacetNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic boolean removeFacetFromContext(UUID contextUUID, String facetType, UUID facetUUID) throws org.gcube.informationsystem.resourceregistry.api.exceptions.entity.facet.FacetNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
removeFacetFromContext in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.entity.facet.FacetNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic <F extends org.gcube.informationsystem.model.reference.entity.Facet> boolean removeFacetFromContext(UUID contextUUID, F facet) throws org.gcube.informationsystem.resourceregistry.api.exceptions.entity.facet.FacetNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
removeFacetFromContext in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.entity.facet.FacetNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic boolean removeFacetFromCurrentContext(String facetType, UUID facetUUID) throws org.gcube.informationsystem.resourceregistry.api.exceptions.entity.facet.FacetNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
removeFacetFromCurrentContext in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.entity.facet.FacetNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic <F extends org.gcube.informationsystem.model.reference.entity.Facet> boolean removeFacetFromCurrentContext(F facet)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.entity.facet.FacetNotFoundException,
org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
removeFacetFromCurrentContext in interface ResourceRegistryPublisherorg.gcube.informationsystem.resourceregistry.api.exceptions.entity.facet.FacetNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionCopyright © 2018. All Rights Reserved.