Class ListResolver
java.lang.Object
org.gcube.common.storagehub.client.dsl.ListResolver
- Direct Known Subclasses:
ListResolverTyped
Allow user to decorate the item with more Data
- Author:
- lucio
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedListResolver(ListRetriever retriever, ItemManagerClient itemClient) -
Method Summary
Modifier and TypeMethodDescriptionList<ItemContainer<? extends org.gcube.common.storagehub.model.items.Item>>List<? extends org.gcube.common.storagehub.model.items.Item>getItems()add the accounting data to the item returnedadd the content data to the item returnedadd the Metadata to the item returned
-
Constructor Details
-
ListResolver
-
-
Method Details
-
withAccounting
add the accounting data to the item returned- Returns:
ListResolver
-
withContent
add the content data to the item returned- Returns:
ListResolver
-
withMetadata
add the Metadata to the item returned- Returns:
ListResolver
-
getItems
public List<? extends org.gcube.common.storagehub.model.items.Item> getItems() throws org.gcube.common.storagehub.model.exceptions.StorageHubException- Throws:
org.gcube.common.storagehub.model.exceptions.StorageHubException
-
getContainers
public List<ItemContainer<? extends org.gcube.common.storagehub.model.items.Item>> getContainers() throws org.gcube.common.storagehub.model.exceptions.StorageHubException- Throws:
org.gcube.common.storagehub.model.exceptions.StorageHubException
-