org.rhq.core.gui.model
Interface PagedDataProvider<T>

Type Parameters:
T - the domain object type (e.g. org.rhq.core.domain.Resource)

public interface PagedDataProvider<T>

A class that is able to return a paged, and optionally sorted, set of domain objects of type T}. Paging and sorting are done as specified by a provided page control.


Method Summary
 org.rhq.core.domain.util.PageList<T> getDataPage(org.rhq.core.domain.util.PageControl pageControl)
           
 

Method Detail

getDataPage

org.rhq.core.domain.util.PageList<T> getDataPage(org.rhq.core.domain.util.PageControl pageControl)
Parameters:
pageControl - the page control that specifies which page to fetch and what field(s) to sort by
Returns:
List the requested page, which also includes the total size of the data set


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.