Skip navigation links


com.bea.content.paging
Class PagedListFactory<T>

java.lang.Object
  extended by com.bea.content.paging.PagedListFactory<T>


public class PagedListFactory<T>
extends Object

supports creating a ISortableFilterablePagedList<T> from a List<T>


Constructor Summary
PagedListFactory()
           

 

Method Summary
 ISortableFilterablePagedList<T> createPagedList(ContentContext context, Class<?> itemClass, List<T> itemList)
          Create an ISortableFilterablePagedList<T> from a List<T>.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

PagedListFactory

public PagedListFactory()

Method Detail

createPagedList

public ISortableFilterablePagedList<T> createPagedList(ContentContext context,
                                                       Class<?> itemClass,
                                                       List<T> itemList)
                                                throws RepositoryRuntimeException
Create an ISortableFilterablePagedList<T> from a List<T>. Note that any sort and filter requests will use the in-memory implementation.
Parameters
context - The Content Context.
itemClass - The class of the items in the list.
itemList - The list to convert.
Returns
The converted list.
Throws
RepositoryRuntimeException - If this operaton fails.

Skip navigation links


Copyright © 2010, Oracle. All rights reserved.