Added update resource method
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-api@134627 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
190e39f6f4
commit
44ec7f28bd
|
@ -45,6 +45,9 @@ public interface EntityManagement {
|
|||
public String readResource(UUID uuid, String resourceType)
|
||||
throws ResourceNotFoundException, ResourceRegistryException;
|
||||
|
||||
public String updateResource(String resourceType, String jsonRepresentation)
|
||||
throws ResourceNotFoundException, ResourceRegistryException;
|
||||
|
||||
public boolean deleteResource(UUID uuid) throws ResourceNotFoundException,
|
||||
ResourceRegistryException, ResourceRegistryException;
|
||||
|
||||
|
@ -66,6 +69,8 @@ public interface EntityManagement {
|
|||
public boolean detachResource(UUID isRelatedToUUID)
|
||||
throws ResourceRegistryException;
|
||||
|
||||
|
||||
/* Context toggle methods */
|
||||
public boolean addResourceToContext(UUID uuid)
|
||||
throws ResourceNotFoundException, ContextNotFoundException,
|
||||
ResourceRegistryException;
|
||||
|
|
Loading…
Reference in New Issue