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 voidexecute(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:TablePageQueryThe name of the table of which a page must be fetched.- Specified by:
tableNamein interfaceTablePageQuery
-
orderAsc
Description copied from interface:TablePageQueryOrders the resulting table page rows by the given column in ascending order.- Specified by:
orderAscin interfaceTablePageQuery
-
orderDesc
Description copied from interface:TablePageQueryOrders the resulting table page rows by the given column in descending order.- Specified by:
orderDescin interfaceTablePageQuery
-
getTableName
-
addOrder
-
listPage
Description copied from interface:TablePageQueryExecutes the query and returns theTablePage.- Specified by:
listPagein interfaceTablePageQuery
-
execute
-
getOrder
-