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
Fetch a page of data via DQL using the paged query template.
- See Also:
-
Constructor Summary
ConstructorDescriptionPagedDataRetriever
(ObjectCollectionManager<T> objectCollectionManager, PagedQueryTemplate queryTemplate, int page, int itemsPerPage, boolean includeTotal, AttributeView attributeView) Constructor -
Method Summary
-
Constructor Details
-
PagedDataRetriever
public PagedDataRetriever(ObjectCollectionManager<T> objectCollectionManager, PagedQueryTemplate queryTemplate, int page, int itemsPerPage, boolean includeTotal, AttributeView attributeView) Constructor- Parameters:
objectCollectionManager
- the object collection managerqueryTemplate
- the query templatepage
- the page numberitemsPerPage
- the page sizeincludeTotal
- indicate whether to include total object count in the resultattributeView
- the attribute view for the result
-
-
Method Details
-
get
Get a page of the results.- Returns:
- the paginated results.
- Throws:
com.documentum.fc.common.DfException
- exception during the operation
-