org.apache.tapestry.record
Class PropertyPersistenceStrategySourceImpl

java.lang.Object
  |
  +--org.apache.tapestry.record.PropertyPersistenceStrategySourceImpl
All Implemented Interfaces:
PropertyPersistenceStrategySource

public class PropertyPersistenceStrategySourceImpl
extends java.lang.Object
implements PropertyPersistenceStrategySource

Author:
Howard M. Lewis Ship

Constructor Summary
PropertyPersistenceStrategySourceImpl()
           
 
Method Summary
 void discardAllStoredChanged(java.lang.String pageName, IRequestCycle cycle)
          Discards any stored property changes for the named page.
 java.util.Collection getAllStoredChanges(java.lang.String pageName, IRequestCycle cycle)
          Returns all changes (IPageChange) collected by any persistence strategy for the page.
 PropertyPersistenceStrategy getStrategy(java.lang.String name)
          Returns the name strategy.
 void initializeService()
           
 void setContributions(java.util.List contributions)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyPersistenceStrategySourceImpl

public PropertyPersistenceStrategySourceImpl()
Method Detail

initializeService

public void initializeService()

getStrategy

public PropertyPersistenceStrategy getStrategy(java.lang.String name)
Description copied from interface: PropertyPersistenceStrategySource
Returns the name strategy.

Specified by:
getStrategy in interface PropertyPersistenceStrategySource
Parameters:
name - the name of the strategy to retrieve.

getAllStoredChanges

public java.util.Collection getAllStoredChanges(java.lang.String pageName,
                                                IRequestCycle cycle)
Description copied from interface: PropertyPersistenceStrategySource
Returns all changes (IPageChange) collected by any persistence strategy for the page. May return an empty list.

Specified by:
getAllStoredChanges in interface PropertyPersistenceStrategySource
See Also:
PropertyPersistenceStrategy.getStoredChanges(String, IRequestCycle)

discardAllStoredChanged

public void discardAllStoredChanged(java.lang.String pageName,
                                    IRequestCycle cycle)
Description copied from interface: PropertyPersistenceStrategySource
Discards any stored property changes for the named page.

Specified by:
discardAllStoredChanged in interface PropertyPersistenceStrategySource

setContributions

public void setContributions(java.util.List contributions)