@Path(value="sharing") public class SharingManagement extends Object
| Constructor and Description |
|---|
SharingManagement() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(String contextId,
String type,
String id) |
javax.ws.rs.core.Response |
remove(String contextId,
String type,
String id) |
protected void |
setCalledMethod(org.gcube.common.gxhttp.reference.GXConnection.HTTPMETHOD httpMethod,
String type) |
protected void setCalledMethod(org.gcube.common.gxhttp.reference.GXConnection.HTTPMETHOD httpMethod,
String type)
@PUT
@Path(value="contexts/{CONTEXT_UUID}/{TYPE_NAME}/{UUID}")
public boolean add(@PathParam(value="CONTEXT_UUID")
String contextId,
@PathParam(value="TYPE_NAME")
String type,
@PathParam(value="UUID")
String id)
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="contexts/{CONTEXT_UUID}/{TYPE_NAME}/{UUID}")
public javax.ws.rs.core.Response remove(@PathParam(value="CONTEXT_UUID")
String contextId,
@PathParam(value="TYPE_NAME")
String type,
@PathParam(value="UUID")
String id)
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 © 2019. All Rights Reserved.