From a2f7d15768679a83ee65e797efcb0694750e1da2 Mon Sep 17 00:00:00 2001 From: Luca Frosini Date: Tue, 10 Nov 2020 15:53:03 +0100 Subject: [PATCH] Revisiting methods --- .../resourceregistry/publisher/ResourceRegistryPublisher.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/org/gcube/informationsystem/resourceregistry/publisher/ResourceRegistryPublisher.java b/src/main/java/org/gcube/informationsystem/resourceregistry/publisher/ResourceRegistryPublisher.java index fc39578..55e72e5 100644 --- a/src/main/java/org/gcube/informationsystem/resourceregistry/publisher/ResourceRegistryPublisher.java +++ b/src/main/java/org/gcube/informationsystem/resourceregistry/publisher/ResourceRegistryPublisher.java @@ -252,6 +252,9 @@ public interface ResourceRegistryPublisher { public boolean removeFacetFromCurrentContext(F facet) throws FacetNotFoundException, ContextNotFoundException, ResourceRegistryException; + /* ---- */ + + public Context getContext(UUID uuid) throws ContextNotFoundException, ResourceRegistryException; public Context getCurrentContext() throws ContextNotFoundException, ResourceRegistryException;