|
||||||||||
| 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(String pageName)
Discards any stored property changes for the named page. |
Collection |
getAllStoredChanges(String pageName)
Returns all changes ( PropertyChange) collected by any
persistence strategy for the page. |
PropertyPersistenceStrategy |
getStrategy(String name)
Returns the name strategy. |
void |
initializeService()
|
void |
setContributions(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(String name)
PropertyPersistenceStrategySource
getStrategy in interface PropertyPersistenceStrategySourcename - the name of the strategy to retrieve.public Collection getAllStoredChanges(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(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(List contributions)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||