org.rhq.core.domain.util
Class UnlimitedPageControl

java.lang.Object
  extended by org.rhq.core.domain.util.PageControl
      extended by org.rhq.core.domain.util.UnlimitedPageControl
All Implemented Interfaces:
Serializable, Cloneable

public class UnlimitedPageControl
extends PageControl

A page control that shows all results. The page number and page size are 0 and PageControl.SIZE_UNLIMITED respectively, and are immutable.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.rhq.core.domain.util.PageControl
SIZE_MAX, SIZE_UNLIMITED
 
Constructor Summary
UnlimitedPageControl()
           
UnlimitedPageControl(OrderingField... orderingFields)
           
 
Method Summary
 void reset()
           
 void setPageNumber(int pageNumber)
           
 void setPageSize(int pageSize)
           
 
Methods inherited from class org.rhq.core.domain.util.PageControl
addDefaultOrderingField, addDefaultOrderingField, clone, equals, getExplicitPageControl, getFirstRecord, getOrderingFields, getOrderingFieldsAsArray, getPageNumber, getPageSize, getPrimarySortColumn, getPrimarySortOrder, getSingleRowInstance, getStartRow, getUnlimitedInstance, hashCode, initDefaultOrderingField, initDefaultOrderingField, removeOrderingField, setFirstRecord, setPrimarySort, setPrimarySortOrder, sortBy, toString, truncateOrderingFields
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnlimitedPageControl

public UnlimitedPageControl()

UnlimitedPageControl

public UnlimitedPageControl(OrderingField... orderingFields)
Method Detail

setPageNumber

public void setPageNumber(int pageNumber)
Overrides:
setPageNumber in class PageControl

setPageSize

public void setPageSize(int pageSize)
Overrides:
setPageSize in class PageControl

reset

public void reset()
Overrides:
reset in class PageControl


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