R
- public class PageCollator<R> extends Object
List
of objects of type
R
into a R
objects page obtained from a
PageCollator.PagingResultsSource
considering a given PagingRequest
for the
resulted PagingResults
.Modifier and Type | Class and Description |
---|---|
static interface |
PageCollator.PagingResultsSource<R>
Implementors are paging request capable objects - i.e.
|
Constructor and Description |
---|
PageCollator() |
Modifier and Type | Method and Description |
---|---|
org.alfresco.query.PagingResults<R> |
collate(List<R> objects,
PageCollator.PagingResultsSource<R> objectPageSurce,
org.alfresco.query.PagingRequest pagingRequest,
Comparator<R> comparator) |
public org.alfresco.query.PagingResults<R> collate(List<R> objects, PageCollator.PagingResultsSource<R> objectPageSurce, org.alfresco.query.PagingRequest pagingRequest, Comparator<R> comparator) throws PageCollationException
objects
- objectPageSurce
- pagingRequest
- comparator
- PagingResults
R objects obtained from merging a
collection of R objects with a paged result obtained from a
PageCollator.PagingResultsSource
considering the a merged result
PagingRequest
PageCollationException
Copyright © 2005–2017 Alfresco Software. All rights reserved.