Class TableView
java.lang.Object
org.silverpeas.components.mydb.web.TableView
A view on one given database table loaded from a data source. The view wraps the table, and it
provides filtering operations on its content. It is a container on zero or one table and hence
its single item can be changed.
- Author:
- mmoquillon
-
Method Summary
Modifier and TypeMethodDescriptionGets field names extracted from last query result set.org.silverpeas.core.util.SilverpeasList<TableRowUIEntity>Gets the last rows loaded bygetRows().getName()Gets the name of the table.org.silverpeas.core.admin.PaginationPageorg.silverpeas.core.util.SilverpeasList<TableRowUIEntity>getRows()Gets the rows without applying any filter.booleanIs this view is on an existing database table or the view is empty.
-
Method Details
-
getPagination
public org.silverpeas.core.admin.PaginationPage getPagination() -
getName
Gets the name of the table.- Returns:
- the name of the table.
-
getColumns
Gets field names extracted from last query result set.- Returns:
- the field names.
-
getRows
Gets the rows without applying any filter.- Returns:
- the rows.
-
getLastRows
Gets the last rows loaded bygetRows().- Returns:
- the last loaded rows.
-
isDefined
public boolean isDefined()Is this view is on an existing database table or the view is empty.- Returns:
- true if the database table wrapped by this view is defined. False otherwise.
-