Package org.activiti.engine.impl
Class TablePageQueryImpl
- java.lang.Object
-
- org.activiti.engine.impl.TablePageQueryImpl
-
- All Implemented Interfaces:
java.io.Serializable
,Command<TablePage>
,TablePageQuery
public class TablePageQueryImpl extends java.lang.Object implements TablePageQuery, Command<TablePage>, java.io.Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected int
firstResult
protected int
maxResults
protected java.lang.String
order
protected java.lang.String
tableName
-
Constructor Summary
Constructors Constructor Description TablePageQueryImpl()
TablePageQueryImpl(CommandExecutor commandExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addOrder(java.lang.String column, java.lang.String sortOrder)
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.
-
-
-
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()
-
addOrder
protected void addOrder(java.lang.String column, java.lang.String sortOrder)
-
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()
-
-