org.apache.tapestry.contrib.table.model.common
Class FullTableSessionStateManager
java.lang.Object
|
+--org.apache.tapestry.contrib.table.model.common.FullTableSessionStateManager
- All Implemented Interfaces:
- ITableSessionStateManager
- public class FullTableSessionStateManager
- extends Object
- implements ITableSessionStateManager
A simple ITableSessionStateManager implementation
that saves the entire table model into the session.
- Version:
- $Id: FullTableSessionStateManager.java,v 1.1 2003/03/05 23:03:10 hlship Exp $
- Author:
- mindbridge
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FULL_STATE_MANAGER
public static final FullTableSessionStateManager FULL_STATE_MANAGER
FullTableSessionStateManager
public FullTableSessionStateManager()
getSessionState
public Serializable getSessionState(ITableModel objModel)
- Description copied from interface:
ITableSessionStateManager
- Method getSessionState extracts the "persistent" portion of the table model
- Specified by:
getSessionState
in interface ITableSessionStateManager
- See Also:
ITableSessionStateManager.getSessionState(ITableModel)
recreateTableModel
public ITableModel recreateTableModel(Serializable objState)
- Description copied from interface:
ITableSessionStateManager
- Method recreateTableModel recreates a table model from the saved session state
- Specified by:
recreateTableModel
in interface ITableSessionStateManager
- See Also:
ITableSessionStateManager.recreateTableModel(Serializable)