@Path(value="items") public class ItemsManager extends Object
| Constructor and Description |
|---|
ItemsManager() |
| Modifier and Type | Method and Description |
|---|---|
Long |
countById(Boolean showHidden,
List<String> excludes) |
javax.ws.rs.core.Response |
deleteItem(String identifier) |
javax.ws.rs.core.Response |
download(List<String> excludes) |
org.gcube.common.storagehub.model.service.ItemList |
findChildrenByNamePattern(List<String> excludes,
String name) |
org.gcube.common.storagehub.model.service.ItemList |
getAnchestors(List<String> excludes) |
org.gcube.common.storagehub.model.service.ItemWrapper<org.gcube.common.storagehub.model.items.Item> |
getById(List<String> excludes) |
URL |
getPubliclink() |
org.gcube.common.storagehub.model.service.ItemWrapper<org.gcube.common.storagehub.model.items.Item> |
getRootSharedFolder(List<String> excludes) |
org.gcube.common.storagehub.model.service.ItemList |
listById(Boolean showHidden,
List<String> excludes) |
org.gcube.common.storagehub.model.service.ItemList |
listByIdPaged(Boolean showHidden,
Integer start,
Integer limit,
List<String> excludes) |
javax.ws.rs.core.Response |
move(String destinationId,
String identifier) |
@GET
@Path(value="{id}")
@Produces(value="application/json")
public org.gcube.common.storagehub.model.service.ItemWrapper<org.gcube.common.storagehub.model.items.Item> getById(@QueryParam(value="exclude")
List<String> excludes)
@GET
@Path(value="{id}/items/{name}")
@Produces(value="application/json")
public org.gcube.common.storagehub.model.service.ItemList findChildrenByNamePattern(@QueryParam(value="exclude")
List<String> excludes,
@PathParam(value="name")
String name)
@GET
@Path(value="{id}/children/count")
@Produces(value="application/json")
public Long countById(@QueryParam(value="showHidden")
Boolean showHidden,
@QueryParam(value="exclude")
List<String> excludes)
@GET
@Path(value="{id}/children")
@Produces(value="application/json")
public org.gcube.common.storagehub.model.service.ItemList listById(@QueryParam(value="showHidden")
Boolean showHidden,
@QueryParam(value="exclude")
List<String> excludes)
@GET
@Path(value="{id}/children/paged")
@Produces(value="application/json")
public org.gcube.common.storagehub.model.service.ItemList listByIdPaged(@QueryParam(value="showHidden")
Boolean showHidden,
@QueryParam(value="start")
Integer start,
@QueryParam(value="limit")
Integer limit,
@QueryParam(value="exclude")
List<String> excludes)
@GET
@Path(value="{id}/publiclink")
public URL getPubliclink()
@GET
@Path(value="{id}/rootSharedFolder")
@Produces(value="application/json")
public org.gcube.common.storagehub.model.service.ItemWrapper<org.gcube.common.storagehub.model.items.Item> getRootSharedFolder(@QueryParam(value="exclude")
List<String> excludes)
@GET
@Path(value="{id}/anchestors")
@Produces(value="application/json")
public org.gcube.common.storagehub.model.service.ItemList getAnchestors(@QueryParam(value="exclude")
List<String> excludes)
@GET
@Path(value="{id}/download")
public javax.ws.rs.core.Response download(@QueryParam(value="exclude")
List<String> excludes)
@PUT
@Path(value="{id}/move")
public javax.ws.rs.core.Response move(@QueryParam(value="destinationId")
String destinationId,
@PathParam(value="id")
String identifier)
@DELETE
@Path(value="{id}")
public javax.ws.rs.core.Response deleteItem(@PathParam(value="id")
String identifier)
Copyright © 2018. All Rights Reserved.