org.activiti.engine.management
类 TablePage

java.lang.Object
  继承者 org.activiti.engine.management.TablePage

public class TablePage
extends Object

Data structure used for retrieving database table content.

作者:
Tom Baeyens, Joram Barrez

字段摘要
protected  long firstResult
          Identifies the index of the first result stored in this TablePage.
protected  List<Map<String,Object>> rowData
          The actual content of the database table, stored as a list of mappings of the form {colum name, value}.
protected  String tableName
           
protected  long total
          The total number of rows in the table.
 
构造方法摘要
TablePage()
           
 
方法摘要
 long getFirstResult()
           
 List<Map<String,Object>> getRows()
           
 long getSize()
           
 String getTableName()
           
 long getTotal()
           
 void setFirstResult(long firstResult)
           
 void setRows(List<Map<String,Object>> rowData)
           
 void setTableName(String tableName)
           
 void setTotal(long total)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

tableName

protected String tableName

total

protected long total
The total number of rows in the table.


firstResult

protected long firstResult
Identifies the index of the first result stored in this TablePage. For example in a paginated database table, this value identifies the record number of the result on the first row.


rowData

protected List<Map<String,Object>> rowData
The actual content of the database table, stored as a list of mappings of the form {colum name, value}. This means that every map object in the list corresponds with one row in the database table.

构造方法详细信息

TablePage

public TablePage()
方法详细信息

getTableName

public String getTableName()

setTableName

public void setTableName(String tableName)

getFirstResult

public long getFirstResult()
返回:
the start index of this page (ie the index of the first element in the page)

setFirstResult

public void setFirstResult(long firstResult)

setRows

public void setRows(List<Map<String,Object>> rowData)

getRows

public List<Map<String,Object>> getRows()
返回:
the actual table content.

setTotal

public void setTotal(long total)

getTotal

public long getTotal()
返回:
the total rowcount of the table from which this page is only a subset.

getSize

public long getSize()
返回:
the actual number of rows in this page.


Copyright © 2013 Alfresco. All rights reserved.