Package com.emc.documentum.rest.paging
Class PagedPersistentDataRetriever<T extends PersistentObject>
java.lang.Object
com.emc.documentum.rest.paging.PagedDataRetriever<T>
com.emc.documentum.rest.paging.PagedPersistentDataRetriever<T>
- Type Parameters:
T
- the object class in the page
Fetch a page of persistent data via DQL using the paged query template.
-
Constructor Summary
ConstructorDescriptionPagedPersistentDataRetriever
(ObjectCollectionManager<T> objectCollectionManager, PagedQueryTemplate queryTemplate, int page, int itemsPerPage, boolean includeTotal, AttributeView attributeView) ConstructorPagedPersistentDataRetriever
(PagedQueryTemplate queryTemplate, int page, int itemsPerPage, boolean includeTotal, AttributeView attributeView, Class<T> targetClass) Constructor; using the default object collection manager to get the DQL results. -
Method Summary
Methods inherited from class com.emc.documentum.rest.paging.PagedDataRetriever
get
-
Constructor Details
-
PagedPersistentDataRetriever
public PagedPersistentDataRetriever(PagedQueryTemplate queryTemplate, int page, int itemsPerPage, boolean includeTotal, AttributeView attributeView, Class<T> targetClass) Constructor; using the default object collection manager to get the DQL results.- Parameters:
queryTemplate
- the query template instance which defines the DQLpage
- the page numberitemsPerPage
- the page sizeincludeTotal
- indicate whether to include total object count in the resultattributeView
- the attribute view for the resulttargetClass
- the persistent object class for the result instances
-
PagedPersistentDataRetriever
public PagedPersistentDataRetriever(ObjectCollectionManager<T> objectCollectionManager, PagedQueryTemplate queryTemplate, int page, int itemsPerPage, boolean includeTotal, AttributeView attributeView) Constructor- Parameters:
objectCollectionManager
- objects collection managerqueryTemplate
- the query template instance which defines the DQLpage
- the page numberitemsPerPage
- the page sizeincludeTotal
- indicate whether to include total object count in the resultattributeView
- the attribute view for the result
-