@Path(value="context") public class ContextManager extends Object
| Modifier and Type | Field and Description |
|---|---|
protected ContextManagement |
contextManager |
static String |
ID_PATH_PARAM |
| Constructor and Description |
|---|
ContextManager() |
public static final String ID_PATH_PARAM
protected ContextManagement contextManager
@PUT @Produces(value="application/json") public String create(@QueryParam(value="parentContextId") String parentUUID, @QueryParam(value="name") String name) throws org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextCreationException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
parentUUID - name - InternalExceptionExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextCreationExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException@DELETE
@Path(value="{id}")
@Produces(value="application/json")
public boolean delete(@PathParam(value="id")
String uuid)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundException,
org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextException
uuid - org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundException@POST
@Path(value="rename/{id}")
@Produces(value="application/json")
public String rename(@PathParam(value="id")
String uuid,
@QueryParam(value="name")
String name)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundException,
org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextException
uuid - name - org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextException@POST
@Path(value="move/{id}")
@Produces(value="application/json")
public String move(@PathParam(value="id")
String uuid,
@QueryParam(value="parentContextId")
String newParentUUID)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundException,
org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextException
uuid - newParentUUID - org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextExceptionCopyright © 2017. All Rights Reserved.