Package com.emc.documentum.rest.paging

# Class PagedDataRetriever<T>

java.lang.Object
com.emc.documentum.rest.paging.PagedDataRetriever<T>

Type Parameters:
  `T` - the object class in the page

Direct Known Subclasses:
  `PagedPersistentDataRetriever`, `PagedQueryDataRetriever`

public class PagedDataRetriever<T> extends Object
Fetch a page of data via DQL using the paged query template.

See Also:
  - `PagedQueryTemplate`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `PagedDataRetriever(ObjectCollectionManager<T> objectCollectionManager, PagedQueryTemplate queryTemplate, int page, int itemsPerPage, boolean includeTotal, AttributeView attributeView)`
  Constructor

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Page<T>`
  `get()`
  Get a page of the results.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### PagedDataRetriever

    public PagedDataRetriever(ObjectCollectionManager<T> objectCollectionManager, PagedQueryTemplate queryTemplate, int page, int itemsPerPage, boolean includeTotal, AttributeView attributeView)
    Constructor
    Parameters:
      `objectCollectionManager` - the object collection manager
      `queryTemplate` - the query template
      `page` - the page number
      `itemsPerPage` - the page size
      `includeTotal` - indicate whether to include total object count in the result
      `attributeView` - the attribute view for the result

- ## Method Details

  - ### get

    public Page<T> get() throws com.documentum.fc.common.DfException
    Get a page of the results.
    Returns:
      the paginated results.
    Throws:
      `com.documentum.fc.common.DfException` - exception during the operation