|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PersistentFieldStrategy
Defines how changes to fields (within components, within pages) may have their values persisted between requests. Different implementations store the field values in the session, on the client, or elsewhere.
Method Summary | |
---|---|
void |
discardChanges(String pageName)
Discards any saved changes for the name page. |
Collection<PersistentFieldChange> |
gatherFieldChanges(String pageName)
Finds all persistent changes previously stored for the named page (for the current active session or client). |
void |
postChange(String pageName,
String componentId,
String fieldName,
Object newValue)
Posts a change of a persistent property. |
Method Detail |
---|
void postChange(String pageName, String componentId, String fieldName, Object newValue)
pageName
- the name of the page containing the componentcomponentId
- the nested id path of the component (or null for the page's root component)fieldName
- the name of the field whose persistent value has changednewValue
- the new value for the field, possibly nullCollection<PersistentFieldChange> gatherFieldChanges(String pageName)
void discardChanges(String pageName)
pageName
- logical name of page whose field persistent data should be discarded
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |