public class WizardSession extends HashMap<String,Object>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier and Type | Field and Description |
|---|---|
protected Object |
data |
protected ValidationException |
error |
protected String |
id |
protected WizardPage |
lastPage |
protected WizardPage[] |
orderedPages |
protected Map<String,WizardPage> |
pages |
| Constructor and Description |
|---|
WizardSession(String wizardId,
WizardPage[] pages) |
| Modifier and Type | Method and Description |
|---|---|
<T extends Form> |
getForm(Class<T> formType) |
String |
getId() |
WizardPage |
getPage() |
WizardPage |
getPage(String id) |
String |
getPageAt(int index) |
int |
getPageCount() |
WizardPage |
popPage() |
WizardPage |
pushPage(String pageId) |
ValidationException |
removeError() |
void |
setError(ValidationException e) |
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesequals, hashCode, toStringprotected String id
protected Object data
protected ValidationException error
protected WizardPage lastPage
protected Map<String,WizardPage> pages
protected WizardPage[] orderedPages
public WizardSession(String wizardId, WizardPage[] pages)
public WizardPage pushPage(String pageId)
public WizardPage popPage()
public int getPageCount()
public WizardPage getPage()
public WizardPage getPage(String id)
public String getPageAt(int index)
public String getId()
public void setError(ValidationException e)
public ValidationException removeError()
Copyright © 2019 Nuxeo SA. All rights reserved.