org.camunda.bpm.engine.impl
Class TablePageQueryImpl
java.lang.Object
org.camunda.bpm.engine.impl.TablePageQueryImpl
- All Implemented Interfaces:
- Serializable, Command<TablePage>, TablePageQuery
public class TablePageQueryImpl
- extends Object
- implements TablePageQuery, Command<TablePage>, Serializable
- Author:
- Joram Barrez
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tableName
protected String tableName
order
protected String order
firstResult
protected int firstResult
maxResults
protected int maxResults
TablePageQueryImpl
public TablePageQueryImpl()
TablePageQueryImpl
public TablePageQueryImpl(CommandExecutor commandExecutor)
tableName
public TablePageQueryImpl tableName(String tableName)
- Description copied from interface:
TablePageQuery
- The name of the table of which a page must be fetched.
- Specified by:
tableName
in interface TablePageQuery
orderAsc
public TablePageQueryImpl orderAsc(String column)
- Description copied from interface:
TablePageQuery
- Orders the resulting table page rows by the given column in ascending order.
- Specified by:
orderAsc
in interface TablePageQuery
orderDesc
public TablePageQueryImpl orderDesc(String column)
- Description copied from interface:
TablePageQuery
- Orders the resulting table page rows by the given column in descending order.
- Specified by:
orderDesc
in interface TablePageQuery
getTableName
public String getTableName()
addOrder
protected void addOrder(String column,
String sortOrder)
listPage
public TablePage listPage(int firstResult,
int maxResults)
- Description copied from interface:
TablePageQuery
- Executes the query and returns the
TablePage
.
- Specified by:
listPage
in interface TablePageQuery
execute
public TablePage execute(CommandContext commandContext)
- Specified by:
execute
in interface Command<TablePage>
getOrder
public String getOrder()
Copyright © 2014 camunda services GmbH. All rights reserved.