Class ListResolver

java.lang.Object
org.gcube.common.storagehub.client.dsl.ListResolver
Direct Known Subclasses:
ListResolverTyped

public class ListResolver extends Object
Allow user to decorate the item with more Data
Author:
lucio
  • Constructor Details

  • Method Details

    • withAccounting

      public ListResolver withAccounting()
      add the accounting data to the item returned
      Returns:
      ListResolver
    • withContent

      public ListResolver withContent()
      add the content data to the item returned
      Returns:
      ListResolver
    • withMetadata

      public 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