org.trails.record
Class ReattachPropertyPersistenceStrategy

java.lang.Object
  extended by org.trails.record.AbstractSessionPropertyPersistenceStrategy
      extended by org.trails.record.ReattachPropertyPersistenceStrategy
All Implemented Interfaces:
org.apache.tapestry.record.PropertyPersistenceStrategy
Direct Known Subclasses:
ReloadReattachPropertyPersistenceStrategy

public abstract class ReattachPropertyPersistenceStrategy
extends AbstractSessionPropertyPersistenceStrategy

This class is a Trails adaptation of Tapernate's ReattachPropertyPersistenceStrategy Credits to James Carman.


Constructor Summary
ReattachPropertyPersistenceStrategy()
           
 
Method Summary
 java.util.Collection getStoredChanges(java.lang.String pageName)
           
protected abstract  java.lang.Object reattach(java.lang.Object entity)
           
 
Methods inherited from class org.trails.record.AbstractSessionPropertyPersistenceStrategy
addParametersForPersistentProperties, discardStoredChanges, getStrategyId, setApplicationId, setRequest, store
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReattachPropertyPersistenceStrategy

public ReattachPropertyPersistenceStrategy()
Method Detail

reattach

protected abstract java.lang.Object reattach(java.lang.Object entity)

getStoredChanges

public java.util.Collection getStoredChanges(java.lang.String pageName)
Specified by:
getStoredChanges in interface org.apache.tapestry.record.PropertyPersistenceStrategy
Overrides:
getStoredChanges in class AbstractSessionPropertyPersistenceStrategy


Copyright © 2004-2008. All Rights Reserved.