org.loom.paged
Class AbstractPagedData
java.lang.Object
org.loom.paged.AbstractPagedData
- Direct Known Subclasses:
- PagedListCriteria, PagedListData
public abstract class AbstractPagedData
- extends java.lang.Object
Parent of both request and response objects
- Author:
- icoloma
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_PAGE_SIZE
public static final int DEFAULT_PAGE_SIZE
- the default size of each page
- See Also:
- Constant Field Values
AbstractPagedData
public AbstractPagedData()
getRecordIndex
public int getRecordIndex()
- Returns:
- the zero-based index of the first record that is returned. Internally, it multiplies the page index and the page size.
setPageSize
public void setPageSize(int pageSize)
getPageIndex
public int getPageIndex()
setPageIndex
public void setPageIndex(int pageIndex)
getSortOrder
public SortOrder getSortOrder()
setSortOrder
public void setSortOrder(SortOrder sortOrder)
getSortProperty
public java.lang.String getSortProperty()
setSortProperty
public void setSortProperty(java.lang.String sortProperty)
getPageSize
public int getPageSize()
The Loom Framework 1.6-SNAPSHOT.
Licensed under the Apache License, Version 2.0 by Extrema Sistemas de Informacion S.L.