org.activiti
Interface TablePageQuery


public interface TablePageQuery

Author:
Joram Barrez

Method Summary
 TablePageQuery orderAsc(java.lang.String column)
          orders the resulting table page rows by the given column in ascending order.
 TablePageQuery orderDesc(java.lang.String column)
          orders the resulting table page rows by the given column in descending order.
 TablePage singleResult()
          executes the query and returns the TablePage.
 TablePageQuery size(int size)
          the number of elements that the page maximum can contain
 TablePageQuery start(int start)
          the record number of the first element of the page.
 TablePageQuery tableName(java.lang.String tableName)
          the name of the table of which a page must be fetched.
 

Method Detail

tableName

TablePageQuery tableName(java.lang.String tableName)
the name of the table of which a page must be fetched.


start

TablePageQuery start(int start)
the record number of the first element of the page. Note that this is zero-based (ie. the first element has index '0')


size

TablePageQuery size(int size)
the number of elements that the page maximum can contain


orderAsc

TablePageQuery orderAsc(java.lang.String column)
orders the resulting table page rows by the given column in ascending order.


orderDesc

TablePageQuery orderDesc(java.lang.String column)
orders the resulting table page rows by the given column in descending order.


singleResult

TablePage singleResult()
executes the query and returns the TablePage.



Copyright © 2010 Alfresco. All Rights Reserved.