public class SimpleTableSessionStateManager extends java.lang.Object implements ITableSessionStateManager
ITableSessionStateManager
implementation that saves only the paging and sorting state of the table model
into the session.| Constructor and Description |
|---|
SimpleTableSessionStateManager(ITableDataModel objDataModel,
ITableColumnModel objColumnModel) |
| 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 SimpleTableSessionStateManager(ITableDataModel objDataModel, ITableColumnModel objColumnModel)
public java.io.Serializable getSessionState(ITableModel objModel)
ITableSessionStateManagergetSessionState in interface ITableSessionStateManagerobjModel - the table model to extract the session state fromITableSessionStateManager.getSessionState(ITableModel)public ITableModel recreateTableModel(java.io.Serializable objState)
ITableSessionStateManagerrecreateTableModel in interface ITableSessionStateManagerobjState - the saved session stateITableSessionStateManager.recreateTableModel(Serializable)