org.apache.tapestry.contrib.table.model
Interface ITableSessionStateManager

All Known Implementing Classes:
NullTableSessionStateManager, FullTableSessionStateManager, SimpleTableSessionStateManager

public interface ITableSessionStateManager

An interface responsible for determining what data would be stored in the session between requests. It could be only the table state, it could be entire table including the data, or it could be nothing at all. It is all determined by the implemention of this interface.

Version:
$Id: ITableSessionStateManager.java,v 1.1 2003/03/05 23:03:21 hlship Exp $
Author:
mindbridge

Method Summary
 Serializable getSessionState(ITableModel objModel)
          Method getSessionState extracts the "persistent" portion of the table model
 ITableModel recreateTableModel(Serializable objState)
          Method recreateTableModel recreates a table model from the saved session state
 

Method Detail

getSessionState

public Serializable getSessionState(ITableModel objModel)
Method getSessionState extracts the "persistent" portion of the table model
Parameters:
objModel - the table model to extract the session state from
Returns:
Object the session state to be saved between the requests

recreateTableModel

public ITableModel recreateTableModel(Serializable objState)
Method recreateTableModel recreates a table model from the saved session state
Parameters:
objState - the saved session state
Returns:
ITableModel the recreated table model