public class TableViewSessionStateManager extends java.lang.Object implements ITableSessionStateManager
FullTableSessionStateManager
if the model is provided via the tableModel parameter;
saves only the model state otherwise.| Constructor and Description |
|---|
TableViewSessionStateManager(TableView objView) |
| Modifier and Type | Method and Description |
|---|---|
java.io.Serializable |
getSessionState(ITableModel objModel)
Method getSessionState extracts the "persistent" portion of the table model
|
ITableModel |
recreateTableModel(java.io.Serializable objState)
Method recreateTableModel recreates a table model from the saved session state
|
public TableViewSessionStateManager(TableView objView)
public java.io.Serializable getSessionState(ITableModel objModel)
ITableSessionStateManagergetSessionState in interface ITableSessionStateManagerobjModel - the table model to extract the session state fromITableSessionStateManager.getSessionState(org.apache.tapestry.contrib.table.model.ITableModel)public ITableModel recreateTableModel(java.io.Serializable objState)
ITableSessionStateManagerrecreateTableModel in interface ITableSessionStateManagerobjState - the saved session stateITableSessionStateManager.recreateTableModel(java.io.Serializable)