public class ResourceRegistryPublisherImpl extends Object implements ResourceRegistryPublisher
| Constructor and Description |
|---|
ResourceRegistryPublisherImpl(String address) |
| Modifier and Type | Method and Description |
|---|---|
<F extends org.gcube.informationsystem.model.reference.entities.Facet> |
addFacetToContext(UUID contextUUID,
F facet) |
boolean |
addFacetToContext(UUID contextUUID,
String facetTypeName,
UUID facetUUID) |
<F extends org.gcube.informationsystem.model.reference.entities.Facet> |
addFacetToCurrentContext(F facet) |
boolean |
addFacetToCurrentContext(String facetTypeName,
UUID facetUUID) |
<R extends org.gcube.informationsystem.model.reference.entities.Resource> |
addResourceToContext(UUID contextUUID,
R resource) |
boolean |
addResourceToContext(UUID contextUUID,
String resourceTypeName,
UUID resourceUUID) |
<R extends org.gcube.informationsystem.model.reference.entities.Resource> |
addResourceToCurrentContext(R resource) |
boolean |
addResourceToCurrentContext(String resourceTypeName,
UUID resourceUUID) |
<IE extends org.gcube.informationsystem.base.reference.IdentifiableElement> |
addToContext(UUID contextUUID,
IE identifiableElement) |
boolean |
addToContext(UUID contextUUID,
String identifiableElementTypeName,
UUID instanceUUID) |
<IE extends org.gcube.informationsystem.base.reference.IdentifiableElement> |
addToCurrentContext(IE identifiableElement) |
boolean |
addToCurrentContext(String identifiableElementTypeName,
UUID instanceUUID) |
<IE extends org.gcube.informationsystem.base.reference.IdentifiableElement> |
create(IE identifiableElement) |
String |
create(String identifiableElement) |
protected String |
create(String identifiableElementTypeName,
String json,
UUID uuid) |
<C extends org.gcube.informationsystem.model.reference.relations.ConsistsOf<? extends org.gcube.informationsystem.model.reference.entities.Resource,? extends org.gcube.informationsystem.model.reference.entities.Facet>> |
createConsistsOf(C consistsOf) |
String |
createConsistsOf(String consistsOf) |
<F extends org.gcube.informationsystem.model.reference.entities.Facet> |
createFacet(F facet) |
String |
createFacet(String facet) |
<I extends org.gcube.informationsystem.model.reference.relations.IsRelatedTo<? extends org.gcube.informationsystem.model.reference.entities.Resource,? extends org.gcube.informationsystem.model.reference.entities.Resource>> |
createIsRelatedTo(I isRelatedTo) |
String |
createIsRelatedTo(String isRelatedTo) |
<R extends org.gcube.informationsystem.model.reference.entities.Resource> |
createResource(R resource) |
String |
createResource(String resource) |
<IE extends org.gcube.informationsystem.base.reference.IdentifiableElement> |
delete(IE identifiableElement) |
boolean |
delete(String identifiableElementTypeName,
UUID uuid) |
<C extends org.gcube.informationsystem.model.reference.relations.ConsistsOf<? extends org.gcube.informationsystem.model.reference.entities.Resource,? extends org.gcube.informationsystem.model.reference.entities.Facet>> |
deleteConsistsOf(C consistsOf) |
boolean |
deleteConsistsOf(String consistsOfTypeName,
UUID uuid) |
<F extends org.gcube.informationsystem.model.reference.entities.Facet> |
deleteFacet(F facet) |
boolean |
deleteFacet(String facetTypeName,
UUID uuid) |
<I extends org.gcube.informationsystem.model.reference.relations.IsRelatedTo<? extends org.gcube.informationsystem.model.reference.entities.Resource,? extends org.gcube.informationsystem.model.reference.entities.Resource>> |
deleteIsRelatedTo(I isRelatedTo) |
boolean |
deleteIsRelatedTo(String isRelatedToTypeName,
UUID uuid) |
<R extends org.gcube.informationsystem.model.reference.entities.Resource> |
deleteResource(R resource) |
boolean |
deleteResource(String resourceTypeName,
UUID uuid) |
<IE extends org.gcube.informationsystem.base.reference.IdentifiableElement> |
internalCreate(IE identifiableElement) |
<IE extends org.gcube.informationsystem.base.reference.IdentifiableElement> |
read(IE identifiableElement) |
String |
read(String identifiableElementTypeName,
UUID uuid) |
<C extends org.gcube.informationsystem.model.reference.relations.ConsistsOf<? extends org.gcube.informationsystem.model.reference.entities.Resource,? extends org.gcube.informationsystem.model.reference.entities.Facet>> |
readConsistsOf(C consistsOf) |
String |
readConsistsOf(String consistsOfTypeName,
UUID uuid) |
<F extends org.gcube.informationsystem.model.reference.entities.Facet> |
readFacet(F facet) |
String |
readFacet(String facetTypeName,
UUID uuid) |
<I extends org.gcube.informationsystem.model.reference.relations.IsRelatedTo<? extends org.gcube.informationsystem.model.reference.entities.Resource,? extends org.gcube.informationsystem.model.reference.entities.Resource>> |
readIsRelatedTo(I isRelatedTo) |
String |
readIsRelatedTo(String isRelatedToTypeName,
UUID uuid) |
<R extends org.gcube.informationsystem.model.reference.entities.Resource> |
readResource(R resource) |
String |
readResource(String resourceTypeName,
UUID uuid) |
<F extends org.gcube.informationsystem.model.reference.entities.Facet> |
removeFacetFromContext(UUID contextUUID,
F facet) |
boolean |
removeFacetFromContext(UUID contextUUID,
String facetTypeName,
UUID facetUUID) |
<F extends org.gcube.informationsystem.model.reference.entities.Facet> |
removeFacetFromCurrentContext(F facet) |
boolean |
removeFacetFromCurrentContext(String facetTypeName,
UUID facetUUID) |
<IE extends org.gcube.informationsystem.base.reference.IdentifiableElement> |
removeFromContext(UUID contextUUID,
IE identifiableElement) |
boolean |
removeFromContext(UUID contextUUID,
String identifiableElementTypeName,
UUID instanceUUID) |
<IE extends org.gcube.informationsystem.base.reference.IdentifiableElement> |
removeFromCurrentContext(IE identifiableElement) |
boolean |
removeFromCurrentContext(String identifiableElementTypeName,
UUID instanceUUID) |
<R extends org.gcube.informationsystem.model.reference.entities.Resource> |
removeResourceFromContext(UUID contextUUID,
R resource) |
boolean |
removeResourceFromContext(UUID contextUUID,
String resourceTypeName,
UUID resourceUUID) |
<R extends org.gcube.informationsystem.model.reference.entities.Resource> |
removeResourceFromCurrentContext(R resource) |
boolean |
removeResourceFromCurrentContext(String resourceTypeName,
UUID resourceUUID) |
<IE extends org.gcube.informationsystem.base.reference.IdentifiableElement> |
update(IE identifiableElement) |
String |
update(String json) |
String |
update(String identifiableElementTypeName,
String json) |
protected String |
update(String identifiableElementTypeName,
String json,
UUID uuid) |
<C extends org.gcube.informationsystem.model.reference.relations.ConsistsOf<? extends org.gcube.informationsystem.model.reference.entities.Resource,? extends org.gcube.informationsystem.model.reference.entities.Facet>> |
updateConsistsOf(C consistsOf) |
String |
updateConsistsOf(String consistsOf) |
<F extends org.gcube.informationsystem.model.reference.entities.Facet> |
updateFacet(F facet) |
String |
updateFacet(String facet) |
<I extends org.gcube.informationsystem.model.reference.relations.IsRelatedTo<? extends org.gcube.informationsystem.model.reference.entities.Resource,? extends org.gcube.informationsystem.model.reference.entities.Resource>> |
updateIsRelatedTo(I isRelatedTo) |
String |
updateIsRelatedTo(String isRelatedTo) |
<R extends org.gcube.informationsystem.model.reference.entities.Resource> |
updateResource(R resource) |
String |
updateResource(String resource) |
protected final String address
public ResourceRegistryPublisherImpl(String address)
protected String create(String identifiableElementTypeName, String json, 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 <IE extends org.gcube.informationsystem.base.reference.IdentifiableElement> String internalCreate(IE identifiableElement) 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 <IE extends org.gcube.informationsystem.base.reference.IdentifiableElement> IE create(IE identifiableElement)
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 identifiableElement) 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 <IE extends org.gcube.informationsystem.base.reference.IdentifiableElement> IE read(IE identifiableElement)
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 identifiableElementTypeName, 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 identifiableElementTypeName, String json, 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 <IE extends org.gcube.informationsystem.base.reference.IdentifiableElement> IE update(IE identifiableElement)
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 identifiableElementTypeName, String json) 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 json) 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 <IE extends org.gcube.informationsystem.base.reference.IdentifiableElement> boolean delete(IE identifiableElement)
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 identifiableElementTypeName, 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.entities.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.entities.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 facetTypeName, 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.entities.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.entities.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 facetTypeName, 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.entities.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.entities.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 resourceTypeName, 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.entities.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.entities.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 resourceTypeName, 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.relations.ConsistsOf<? extends org.gcube.informationsystem.model.reference.entities.Resource,? extends org.gcube.informationsystem.model.reference.entities.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.relations.ConsistsOf<? extends org.gcube.informationsystem.model.reference.entities.Resource,? extends org.gcube.informationsystem.model.reference.entities.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 consistsOfTypeName, 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.relations.ConsistsOf<? extends org.gcube.informationsystem.model.reference.entities.Resource,? extends org.gcube.informationsystem.model.reference.entities.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.relations.ConsistsOf<? extends org.gcube.informationsystem.model.reference.entities.Resource,? extends org.gcube.informationsystem.model.reference.entities.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 consistsOfTypeName, 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.relations.IsRelatedTo<? extends org.gcube.informationsystem.model.reference.entities.Resource,? extends org.gcube.informationsystem.model.reference.entities.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.relations.IsRelatedTo<? extends org.gcube.informationsystem.model.reference.entities.Resource,? extends org.gcube.informationsystem.model.reference.entities.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 isRelatedToTypeName, 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.relations.IsRelatedTo<? extends org.gcube.informationsystem.model.reference.entities.Resource,? extends org.gcube.informationsystem.model.reference.entities.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.relations.IsRelatedTo<? extends org.gcube.informationsystem.model.reference.entities.Resource,? extends org.gcube.informationsystem.model.reference.entities.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 isRelatedToTypeName, 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 identifiableElementTypeName, 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 <IE extends org.gcube.informationsystem.base.reference.IdentifiableElement> boolean addToContext(UUID contextUUID, IE identifiableElement) 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 identifiableElementTypeName, 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 <IE extends org.gcube.informationsystem.base.reference.IdentifiableElement> boolean addToCurrentContext(IE identifiableElement)
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 identifiableElementTypeName, 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 <IE extends org.gcube.informationsystem.base.reference.IdentifiableElement> boolean removeFromContext(UUID contextUUID, IE identifiableElement) 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 identifiableElementTypeName, 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 <IE extends org.gcube.informationsystem.base.reference.IdentifiableElement> boolean removeFromCurrentContext(IE identifiableElement)
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 resourceTypeName, 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.entities.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 resourceTypeName, 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.entities.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 resourceTypeName, 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.entities.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 resourceTypeName, 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.entities.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 facetTypeName, 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.entities.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 facetTypeName, 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.entities.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 facetTypeName, 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.entities.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 facetTypeName, 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.entities.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 © 2020. All Rights Reserved.