|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.spy.digg.PagingParameters
public abstract class PagingParameters
Base class for paging parameters.
| Field Summary | |
|---|---|
static int |
MAX_COUNT
The maximum value for a count. |
static int |
MIN_COUNT
The minimum value for a count. |
| Constructor Summary | |
|---|---|
PagingParameters()
|
|
| Method Summary | |
|---|---|
java.lang.Integer |
getCount()
|
java.lang.Integer |
getOffset()
Get the result offset. |
java.lang.String |
getSort()
Get the sort type. |
void |
setCount(int to)
Set the number of results to return. |
void |
setOffset(int to)
Set the result offset. |
void |
setSort(java.lang.String to)
Set the sort type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int MIN_COUNT
public static final int MAX_COUNT
| Constructor Detail |
|---|
public PagingParameters()
| Method Detail |
|---|
public java.lang.Integer getCount()
public void setCount(int to)
to - an integer between MIN_COUNT and MAX_COUNT (inclusive).public java.lang.Integer getOffset()
public void setOffset(int to)
to - a positive integerpublic java.lang.String getSort()
public void setSort(java.lang.String to)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||