@Path(value="sharing") public class SharingManagement extends Object
| Constructor and Description |
|---|
SharingManagement() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(String type,
String instanceId,
String contextId) |
String |
getInstanceContexts(String type,
String instanceId,
String contextId) |
javax.ws.rs.core.Response |
remove(String type,
String instanceId,
String contextId) |
@GET
@Path(value="{TYPE_NAME}/{UUID}/contexts")
@Produces(value="application/json;charset=UTF-8")
public String getInstanceContexts(@PathParam(value="TYPE_NAME")
String type,
@PathParam(value="UUID")
String instanceId,
@PathParam(value="CONTEXT_UUID")
String contextId)
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
org.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException@PUT
@Path(value="{TYPE_NAME}/{UUID}/contexts/{CONTEXT_UUID}")
public boolean add(@PathParam(value="TYPE_NAME")
String type,
@PathParam(value="UUID")
String instanceId,
@PathParam(value="CONTEXT_UUID")
String contextId)
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
org.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException@DELETE
@Path(value="{TYPE_NAME}/{UUID}/contexts/{CONTEXT_UUID}")
public javax.ws.rs.core.Response remove(@PathParam(value="TYPE_NAME")
String type,
@PathParam(value="UUID")
String instanceId,
@PathParam(value="CONTEXT_UUID")
String contextId)
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
org.gcube.informationsystem.resourceregistry.api.exceptions.entity.resource.ResourceNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionCopyright © 2020. All Rights Reserved.