public interface PropertyPersistenceStrategySource
PropertyPersistenceStrategy
s.Modifier and Type | Method and Description |
---|---|
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.
|
PropertyPersistenceStrategy getStrategy(java.lang.String name)
name
- the name of the strategy to retrieve.org.apache.hivemind.ApplicationRuntimeException
- if no such strategy exists.java.util.Collection getAllStoredChanges(java.lang.String pageName)
PropertyChange
) collected by any persistence strategy for the
page. May return an empty list.void discardAllStoredChanged(java.lang.String pageName)
void addParametersForPersistentProperties(ServiceEncoding encoding, boolean post)
LinkFactory
, the parameters may be
modified (added to) to store information related to persistent properties. This method is
forwarded to all PropertyPersistenceStrategy
s.encoding
- 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 linkPropertyPersistenceStrategySource