public class PageInfo extends Object implements Externalizable
| Constructor and Description |
|---|
PageInfo() |
PageInfo(int firstResult,
int maxResults) |
PageInfo(int firstResult,
int maxResults,
String[] order,
boolean[] desc) |
| Modifier and Type | Method and Description |
|---|---|
int |
getFirstResult() |
int |
getMaxResults() |
SortInfo |
getSortInfo() |
void |
readExternal(ObjectInput in) |
void |
setFirstResult(int firstResult) |
void |
setMaxResults(int maxResults) |
void |
setSortInfo(SortInfo sortInfo) |
void |
writeExternal(ObjectOutput out) |
public PageInfo()
public PageInfo(int firstResult, int maxResults)
public int getFirstResult()
public void setFirstResult(int firstResult)
public int getMaxResults()
public void setMaxResults(int maxResults)
public SortInfo getSortInfo()
public void setSortInfo(SortInfo sortInfo)
public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundException