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