org.apache.wicket.examples.spring.common
Class QueryParam
java.lang.Object
org.apache.wicket.examples.spring.common.QueryParam
public class QueryParam
- extends 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,
SortParam sort)
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,
SortParam sort)
- Set to return count sorted elements, starting at the first element.
- Parameters:
first
- First element to return.count
- Number of elements to return.sort
-
getCount
public int getCount()
getFirst
public int getFirst()
getSort
public SortParam getSort()
hasSort
public boolean hasSort()
Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.