wicket.spring.common
Class QueryParam
java.lang.Object
wicket.spring.common.QueryParam
- public class QueryParam
- extends java.lang.Object
Encapsulates the Query Paramaters to be passed to daos
- Author:
- Igor Vaynberg (ivaynberg)
|
Constructor Summary |
QueryParam(int first,
int count)
Set to return count elements, starting at the first
element. |
QueryParam(int first,
int count,
java.lang.String sort,
boolean sortAsc)
Set to return count sorted elements, starting at the
first element. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueryParam
public QueryParam(int first,
int count)
- Set to return count elements, starting at the first
element.
- Parameters:
first - First element to return.count - Number of elements to return.
QueryParam
public QueryParam(int first,
int count,
java.lang.String sort,
boolean sortAsc)
- Set to return count sorted elements, starting at the
first element.
- Parameters:
first - First element to return.count - Number of elements to return.sort - Column to sort on.sortAsc - Sort ascending or descending.
getCount
public int getCount()
getFirst
public int getFirst()
getSort
public java.lang.String getSort()
isSortAsc
public boolean isSortAsc()
hasSort
public boolean hasSort()
Copyright © 2005-2007 Wicket developers. All Rights Reserved.