|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry.record.PropertyPersistenceStrategySourceImpl
public class PropertyPersistenceStrategySourceImpl
Implementation of the tapestry.persist.PropertyPersistenceStrategySource service.
Allows access to other services, that implement the
PropertyPersistenceStrategy interface.
| Constructor Summary | |
|---|---|
PropertyPersistenceStrategySourceImpl()
|
|
| Method Summary | |
|---|---|
void |
addParametersForPersistentProperties(ServiceEncoding encoding,
boolean post)
Invoked by a LinkFactory , the parameters may be
modified (added to) to store information related to persistent properties. |
void |
discardAllStoredChanged(java.lang.String pageName)
Discards any stored property changes for the named page. |
java.util.Collection |
getAllStoredChanges(java.lang.String pageName)
Returns all changes ( PropertyChange) 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 |
|---|
public PropertyPersistenceStrategySourceImpl()
| Method Detail |
|---|
public void initializeService()
public PropertyPersistenceStrategy getStrategy(java.lang.String name)
PropertyPersistenceStrategySource
getStrategy in interface PropertyPersistenceStrategySourcename - the name of the strategy to retrieve.public java.util.Collection getAllStoredChanges(java.lang.String pageName)
PropertyPersistenceStrategySourcePropertyChange) collected by any persistence strategy for the
page. May return an empty list.
getAllStoredChanges in interface PropertyPersistenceStrategySourcePropertyPersistenceStrategy.getStoredChanges(String)public void discardAllStoredChanged(java.lang.String pageName)
PropertyPersistenceStrategySource
discardAllStoredChanged in interface PropertyPersistenceStrategySource
public void addParametersForPersistentProperties(ServiceEncoding encoding,
boolean post)
PropertyPersistenceStrategySourceLinkFactory , the parameters may be
modified (added to) to store information related to persistent properties. This method is
forwarded to all PropertyPersistenceStrategys.
addParametersForPersistentProperties in interface PropertyPersistenceStrategySourceencoding - Service encoding, which indentifies the URL and the query parameters from which
the ILink will be created.post - if true, then the link will be used for a post (not a get, i.e., for a HTML form);
this may affect what information is encoded into the linkPropertyPersistenceStrategySourcepublic void setContributions(java.util.List contributions)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||