org.rhq.enterprise.gui.inventory.group
Class ResourceGroupSummaryUIBean.ListResourceGroupMembersDataModel

java.lang.Object
  extended by javax.faces.model.DataModel
      extended by org.rhq.enterprise.gui.common.paging.PagedListDataModel<org.rhq.core.domain.resource.composite.DisambiguationReport<T>>
          extended by org.rhq.enterprise.gui.common.paging.ResourceNameDisambiguatingPagedListDataModel<org.rhq.core.domain.resource.composite.ResourceWithAvailability>
              extended by org.rhq.enterprise.gui.inventory.group.ResourceGroupSummaryUIBean.ListResourceGroupMembersDataModel
Enclosing class:
ResourceGroupSummaryUIBean

protected class ResourceGroupSummaryUIBean.ListResourceGroupMembersDataModel
extends ResourceNameDisambiguatingPagedListDataModel<org.rhq.core.domain.resource.composite.ResourceWithAvailability>


Constructor Summary
ResourceGroupSummaryUIBean.ListResourceGroupMembersDataModel(PageControlView view, String beanName)
           
 
Method Summary
 org.rhq.core.domain.util.PageList<org.rhq.core.domain.resource.composite.ResourceWithAvailability> fetchDataForPage(org.rhq.core.domain.util.PageControl pageControl)
          This method is to be implemented by inheritors and is called to fetch the actual data that contain the resources to disambiguate.
protected  IntExtractor<org.rhq.core.domain.resource.composite.ResourceWithAvailability> getResourceIdExtractor()
           
 
Methods inherited from class org.rhq.enterprise.gui.common.paging.ResourceNameDisambiguatingPagedListDataModel
fetchPage
 
Methods inherited from class org.rhq.enterprise.gui.common.paging.PagedListDataModel
getDataPage, getDefaultPageControl, getPageControl, getPageControlView, getRowCount, getRowData, getRowIndex, getWrappedData, isRowAvailable, setPageControl, setRowIndex, setWrappedData
 
Methods inherited from class javax.faces.model.DataModel
addDataModelListener, getDataModelListeners, removeDataModelListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceGroupSummaryUIBean.ListResourceGroupMembersDataModel

public ResourceGroupSummaryUIBean.ListResourceGroupMembersDataModel(PageControlView view,
                                                                    String beanName)
Method Detail

fetchDataForPage

public org.rhq.core.domain.util.PageList<org.rhq.core.domain.resource.composite.ResourceWithAvailability> fetchDataForPage(org.rhq.core.domain.util.PageControl pageControl)
Description copied from class: ResourceNameDisambiguatingPagedListDataModel
This method is to be implemented by inheritors and is called to fetch the actual data that contain the resources to disambiguate.

Specified by:
fetchDataForPage in class ResourceNameDisambiguatingPagedListDataModel<org.rhq.core.domain.resource.composite.ResourceWithAvailability>
Returns:

getResourceIdExtractor

protected IntExtractor<org.rhq.core.domain.resource.composite.ResourceWithAvailability> getResourceIdExtractor()
Specified by:
getResourceIdExtractor in class ResourceNameDisambiguatingPagedListDataModel<org.rhq.core.domain.resource.composite.ResourceWithAvailability>
Returns:
an extractor for getting a resource id out of the instance of type T.


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