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:
java.io.Serializable
,Command<TablePage>
,TablePageQuery
public class TablePageQueryImpl extends ListQueryParameterObject implements TablePageQuery, Command<TablePage>, java.io.Serializable
- Author:
- Joram Barrez
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
order
protected java.lang.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)
java.lang.String
getOrder()
java.lang.String
getTableName()
TablePage
listPage(int firstResult, int maxResults)
Executes the query and returns theTablePage
.TablePageQueryImpl
orderAsc(java.lang.String column)
Orders the resulting table page rows by the given column in ascending order.TablePageQueryImpl
orderDesc(java.lang.String column)
Orders the resulting table page rows by the given column in descending order.TablePageQueryImpl
tableName(java.lang.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(java.lang.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(java.lang.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(java.lang.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 java.lang.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 java.lang.String getOrder()
-
-