public class TablePageQueryImpl extends ListQueryParameterObject implements TablePageQuery, Command<TablePage>, Serializable
Modifier and Type | Field and Description |
---|---|
protected String |
order |
protected String |
tableName |
authCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck
Constructor and Description |
---|
TablePageQueryImpl() |
TablePageQueryImpl(CommandExecutor commandExecutor) |
Modifier and Type | Method and Description |
---|---|
TablePage |
execute(CommandContext commandContext) |
String |
getOrder() |
String |
getTableName() |
TablePage |
listPage(int firstResult,
int maxResults)
Executes the query and returns the
TablePage . |
TablePageQueryImpl |
orderAsc(String column)
Orders the resulting table page rows by the given column in ascending order.
|
TablePageQueryImpl |
orderDesc(String column)
Orders the resulting table page rows by the given column in descending order.
|
TablePageQueryImpl |
tableName(String tableName)
The name of the table of which a page must be fetched.
|
getAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getOrderingProperties, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderingProperties, setParameter, setTenantCheck
public TablePageQueryImpl()
public TablePageQueryImpl(CommandExecutor commandExecutor)
public TablePageQueryImpl tableName(String tableName)
TablePageQuery
tableName
in interface TablePageQuery
public TablePageQueryImpl orderAsc(String column)
TablePageQuery
orderAsc
in interface TablePageQuery
public TablePageQueryImpl orderDesc(String column)
TablePageQuery
orderDesc
in interface TablePageQuery
public String getTableName()
public TablePage listPage(int firstResult, int maxResults)
TablePageQuery
TablePage
.listPage
in interface TablePageQuery
public TablePage execute(CommandContext commandContext)
public String getOrder()
Copyright © 2021. All rights reserved.