Class PersistentFieldBundleImpl
- java.lang.Object
 - 
- org.apache.tapestry5.internal.services.PersistentFieldBundleImpl
 
 
- 
- All Implemented Interfaces:
 PersistentFieldBundle
public class PersistentFieldBundleImpl extends Object implements PersistentFieldBundle
 
- 
- 
Constructor Summary
Constructors Constructor Description PersistentFieldBundleImpl(Collection<PersistentFieldChange> changes) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontainsValue(String componentId, String fieldName)Checks to see if a persistent value has been stored for the indicated component and field.ObjectgetValue(String componentId, String fieldName) 
 - 
 
- 
- 
Constructor Detail
- 
PersistentFieldBundleImpl
public PersistentFieldBundleImpl(Collection<PersistentFieldChange> changes)
 
 - 
 
- 
Method Detail
- 
containsValue
public boolean containsValue(String componentId, String fieldName)
Description copied from interface:PersistentFieldBundleChecks to see if a persistent value has been stored for the indicated component and field. TODO: This method can probably be removed; it doesn't look like its used (instead, we if check getValue() returns null).- Specified by:
 containsValuein interfacePersistentFieldBundle- Parameters:
 componentId- the nested id of the component (within the page), may be null or blank for the root component of the pagefieldName- the name of the field whose value was persisted- Returns:
 - true if a change has been stored
 
 
- 
getValue
public Object getValue(String componentId, String fieldName)
- Specified by:
 getValuein interfacePersistentFieldBundle- Parameters:
 componentId- the nested if of the component (within the page), may be null or blank for the root component of the pagefieldName- the name of the field whose value was persisted- Returns:
 - the persisted value, possibly null
 
 
 - 
 
 -