org.apache.wicket.examples.spring.common
Class QueryParam

java.lang.Object
  extended by 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(long first, long count)
          Set to return count elements, starting at the first element.
QueryParam(long first, long count, SortParam sort)
          Set to return count sorted elements, starting at the first element.
 
Method Summary
 long getCount()
           
 long getFirst()
           
 SortParam getSort()
           
 boolean hasSort()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryParam

public QueryParam(long first,
                  long 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(long first,
                  long 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 -
Method Detail

getCount

public long getCount()

getFirst

public long getFirst()

getSort

public SortParam getSort()

hasSort

public boolean hasSort()


Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.