Package com.emc.documentum.rest.paging
Class PagedQueryDataRetriever<T>
java.lang.Object
com.emc.documentum.rest.paging.PagedDataRetriever<T>
com.emc.documentum.rest.paging.PagedQueryDataRetriever<T>
- Type Parameters:
T
- the data model class
The paged query data retriever provides users a simple implementation to execute a template query and convert the
query result into the user defined data model class.
-
Constructor Summary
ConstructorDescriptionPagedQueryDataRetriever
(PagedQueryTemplate queryTemplate, int page, int itemsPerPage, boolean includeTotal, AttributeView attributeView, com.emc.documentum.rest.common.QueryObjectConverter<T> converter) ConstructorPagedQueryDataRetriever
(PagedQueryTemplate queryTemplate, int page, int itemsPerPage, boolean includeTotal, AttributeView attributeView, com.emc.documentum.rest.common.QueryResultConverter<T> converter) Constructor -
Method Summary
Methods inherited from class com.emc.documentum.rest.paging.PagedDataRetriever
get
-
Constructor Details
-
PagedQueryDataRetriever
public PagedQueryDataRetriever(PagedQueryTemplate queryTemplate, int page, int itemsPerPage, boolean includeTotal, AttributeView attributeView, com.emc.documentum.rest.common.QueryObjectConverter<T> converter) Constructor- Parameters:
converter
- the dfc typed object converterqueryTemplate
- 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
-
PagedQueryDataRetriever
public PagedQueryDataRetriever(PagedQueryTemplate queryTemplate, int page, int itemsPerPage, boolean includeTotal, AttributeView attributeView, com.emc.documentum.rest.common.QueryResultConverter<T> converter) Constructor- Parameters:
converter
- the dfc typed object converterqueryTemplate
- 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
-