public abstract class Wizard extends DefaultObject
Constructor and Description |
---|
Wizard() |
Modifier and Type | Method and Description |
---|---|
Object |
doGet()
Get the content of the current wizard page.
|
ValidationException |
getError() |
String |
getField(String key) |
String[] |
getFields(String key) |
<T extends Form> |
getForm(Class<T> formType) |
Map<String,String[]> |
getFormFields() |
Collection<String> |
getInvalidFields() |
WizardPage |
getPage() |
Collection<String> |
getRequireddFields() |
WizardSession |
getSession() |
Object |
handleBack() |
Object |
handleCancel() |
Object |
handleNext() |
Object |
handleOk() |
boolean |
hasErrors() |
boolean |
hasErrors(String key) |
boolean |
isBackEnabled() |
boolean |
isCancelEnabled() |
boolean |
isNextEnabled() |
boolean |
isOkEnabled() |
<T extends Form> |
validate(WizardPage page) |
disptachAdapter, isAdapter
checkGuard, dispose, getActiveAdapter, getAdapter, getContext, getFacets, getLinks, getModule, getName, getNext, getNextSegment, getPath, getPrevious, getTemplate, getTrailingPath, getType, getURL, getView, hasFacet, initialize, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRoot, toString
public static final String[] EMPTY
public WizardSession getSession()
public WizardPage getPage()
public boolean isNextEnabled()
public boolean isBackEnabled()
public boolean isOkEnabled()
public boolean isCancelEnabled()
public ValidationException getError()
public Collection<String> getInvalidFields()
public Collection<String> getRequireddFields()
public boolean hasErrors()
public boolean hasErrors(String key)
public <T extends Form> T validate(WizardPage page) throws ValidationException
ValidationException
public Object handleNext()
public Object handleBack()
public Object handleCancel()
public Object handleOk()
public Object doGet()
Copyright © 2011 Nuxeo SA. All Rights Reserved.