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)
ITableSessionStateManager
getSessionState
in interface ITableSessionStateManager
objModel
- the table model to extract the session state fromITableSessionStateManager.getSessionState(ITableModel)
public ITableModel recreateTableModel(java.io.Serializable objState)
ITableSessionStateManager
recreateTableModel
in interface ITableSessionStateManager
objState
- the saved session stateITableSessionStateManager.recreateTableModel(Serializable)