Package org.camunda.bpm.engine.impl
Class TablePageQueryImpl
- java.lang.Object
-
- org.camunda.bpm.engine.impl.db.ListQueryParameterObject
-
- org.camunda.bpm.engine.impl.TablePageQueryImpl
-
- All Implemented Interfaces:
Serializable
,Command<TablePage>
,TablePageQuery
public class TablePageQueryImpl extends ListQueryParameterObject implements TablePageQuery, Command<TablePage>, Serializable
- Author:
- Joram Barrez
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected String
order
protected String
tableName
-
Fields inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject
authCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck
-
-
Constructor Summary
Constructors Constructor Description TablePageQueryImpl()
TablePageQueryImpl(CommandExecutor commandExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TablePage
execute(CommandContext commandContext)
String
getOrder()
String
getTableName()
TablePage
listPage(int firstResult, int maxResults)
Executes the query and returns theTablePage
.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.-
Methods inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject
getAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getOrderingProperties, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderingProperties, setParameter, setTenantCheck
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.camunda.bpm.engine.impl.interceptor.Command
isRetryable
-
-
-
-
Constructor Detail
-
TablePageQueryImpl
public TablePageQueryImpl()
-
TablePageQueryImpl
public TablePageQueryImpl(CommandExecutor commandExecutor)
-
-
Method Detail
-
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 interfaceTablePageQuery
-
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 interfaceTablePageQuery
-
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 interfaceTablePageQuery
-
getTableName
public String getTableName()
-
listPage
public TablePage listPage(int firstResult, int maxResults)
Description copied from interface:TablePageQuery
Executes the query and returns theTablePage
.- Specified by:
listPage
in interfaceTablePageQuery
-
execute
public TablePage execute(CommandContext commandContext)
-
getOrder
public String getOrder()
-
-