@Path(value="contexts") public class ContextManager extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CONTEXT_UUID_PATH_PARAMETER |
| Constructor and Description |
|---|
ContextManager() |
| Modifier and Type | Method and Description |
|---|---|
String |
all() |
javax.ws.rs.core.Response |
delete(String uuid) |
String |
read(String uuid) |
String |
updateCreate(String uuid,
String json) |
public static final String CONTEXT_UUID_PATH_PARAMETER
@GET
@Consumes(value={"text/plain","application/json;charset=UTF-8"})
@Produces(value="application/json;charset=UTF-8")
public String all()
throws org.gcube.informationsystem.resourceregistry.api.exceptions.contexts.ContextNotFoundException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.contexts.ContextNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException@GET
@Path(value="{CONTEXT_UUID}")
@Consumes(value={"text/plain","application/json;charset=UTF-8"})
@Produces(value="application/json;charset=UTF-8")
public String read(@PathParam(value="CONTEXT_UUID")
String uuid)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.contexts.ContextNotFoundException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.contexts.ContextNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException@PUT
@Path(value="{CONTEXT_UUID}")
@Consumes(value={"text/plain","application/json;charset=UTF-8"})
@Produces(value="application/json;charset=UTF-8")
public String updateCreate(@PathParam(value="CONTEXT_UUID")
String uuid,
String json)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException@DELETE
@Consumes(value={"text/plain","application/json;charset=UTF-8"})
@Path(value="{CONTEXT_UUID}")
public javax.ws.rs.core.Response delete(@PathParam(value="CONTEXT_UUID")
String uuid)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.contexts.ContextNotFoundException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.contexts.ContextNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionCopyright © 2022. All Rights Reserved.