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, setTenantCheckpublic TablePageQueryImpl()
public TablePageQueryImpl(CommandExecutor commandExecutor)
public TablePageQueryImpl tableName(String tableName)
TablePageQuerytableName in interface TablePageQuerypublic TablePageQueryImpl orderAsc(String column)
TablePageQueryorderAsc in interface TablePageQuerypublic TablePageQueryImpl orderDesc(String column)
TablePageQueryorderDesc in interface TablePageQuerypublic String getTableName()
public TablePage listPage(int firstResult, int maxResults)
TablePageQueryTablePage.listPage in interface TablePageQuerypublic TablePage execute(CommandContext commandContext)
public String getOrder()
Copyright © 2022. All rights reserved.