|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Service tapestry.persist.ClientPropertyPersistenceScope. Determines whether a particular property needs to be persisted or not.
ClientPropertyPersistenceStrategy
Method Summary | |
java.lang.String |
constructParameterName(java.lang.String pageName)
Constructs a parameter name for a particular page name. |
java.lang.String |
extractPageName(java.lang.String parameterName)
Extracts a page name from a query parameter name. |
boolean |
isParameterForScope(java.lang.String parameterName)
Checks a parameter to see if it was the result of constructParameterName(String) for
this persistence scope. |
boolean |
shouldEncodeState(ServiceEncoding encoding,
java.lang.String pageName,
PersistentPropertyData data)
Determines whether state should be encoded for the request. |
Method Detail |
public boolean shouldEncodeState(ServiceEncoding encoding, java.lang.String pageName, PersistentPropertyData data)
encoding
- identifies the service, URL and base set of parameterspageName
- the page for which data is potentially to be encodeddata
-
public java.lang.String constructParameterName(java.lang.String pageName)
isParameterForScope(String)
method.
pageName
- the name of the page for which a corresponding parameter name should be generated.public boolean isParameterForScope(java.lang.String parameterName)
constructParameterName(String)
for
this persistence scope.
parameterName
- a query parameter name
public java.lang.String extractPageName(java.lang.String parameterName)
parameterName
- the paramter name, for which {@link #isParameterForScope(String) must return true
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |