Class TablePageQueryImpl
java.lang.Object
org.flowable.common.engine.impl.persistence.entity.TablePageQueryImpl
- All Implemented Interfaces:
Serializable
,TablePageQuery
,Command<TablePage>
public class TablePageQueryImpl
extends Object
implements TablePageQuery, Command<TablePage>, Serializable
- Author:
- Joram Barrez
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTablePageQueryImpl
(CommandExecutor commandExecutor, AbstractEngineConfiguration engineConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
execute
(CommandContext commandContext) getOrder()
listPage
(int firstResult, int maxResults) Executes the query and returns theTablePage
.Orders the resulting table page rows by the given column in ascending order.Orders the resulting table page rows by the given column in descending order.The name of the table of which a page must be fetched.
-
Field Details
-
tableName
-
order
-
firstResult
protected int firstResult -
maxResults
protected int maxResults
-
-
Constructor Details
-
TablePageQueryImpl
public TablePageQueryImpl() -
TablePageQueryImpl
public TablePageQueryImpl(CommandExecutor commandExecutor, AbstractEngineConfiguration engineConfiguration)
-
-
Method Details
-
tableName
Description copied from interface:TablePageQuery
The name of the table of which a page must be fetched.- Specified by:
tableName
in interfaceTablePageQuery
-
orderAsc
Description copied from interface:TablePageQuery
Orders the resulting table page rows by the given column in ascending order.- Specified by:
orderAsc
in interfaceTablePageQuery
-
orderDesc
Description copied from interface:TablePageQuery
Orders the resulting table page rows by the given column in descending order.- Specified by:
orderDesc
in interfaceTablePageQuery
-
getTableName
-
addOrder
-
listPage
Description copied from interface:TablePageQuery
Executes the query and returns theTablePage
.- Specified by:
listPage
in interfaceTablePageQuery
-
execute
-
getOrder
-