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:
  • 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