@Path(value="admin") public class ItemManagerAdmin extends Object
| Constructor and Description |
|---|
ItemManagerAdmin() |
| Modifier and Type | Method and Description |
|---|---|
String |
createItem(String id,
org.gcube.common.storagehub.model.items.Item item) |
org.gcube.common.storagehub.model.service.ItemList |
getChildren(String id) |
org.gcube.common.storagehub.model.service.ItemWrapper<org.gcube.common.storagehub.model.items.Item> |
getItem(String id) |
org.gcube.common.storagehub.model.service.ItemWrapper<org.gcube.common.storagehub.model.items.Item> |
getWorkspace(String user) |
void |
setProperty(String id,
String propertyName,
String value) |
@POST
@Consumes(value="application/json")
@Path(value="items/{id}")
public String createItem(@PathParam(value="id")
String id,
org.gcube.common.storagehub.model.items.Item item)
@GET
@Produces(value="application/json")
@Path(value="{user}")
public org.gcube.common.storagehub.model.service.ItemWrapper<org.gcube.common.storagehub.model.items.Item> getWorkspace(@PathParam(value="user")
String user)
@GET
@Produces(value="application/json")
@Path(value="items/{id}")
public org.gcube.common.storagehub.model.service.ItemWrapper<org.gcube.common.storagehub.model.items.Item> getItem(@PathParam(value="id")
String id)
@GET
@Produces(value="application/json")
@Path(value="items/{id}/children")
public org.gcube.common.storagehub.model.service.ItemList getChildren(@PathParam(value="id")
String id)
Copyright © 2020. All Rights Reserved.