Class Wizard
- java.lang.Object
- 
- org.nuxeo.ecm.webengine.model.impl.AbstractResource<ResourceTypeImpl>
- 
- org.nuxeo.ecm.webengine.model.impl.DefaultObject
- 
- org.nuxeo.ecm.webengine.ui.wizard.Wizard
 
 
 
- 
- Direct Known Subclasses:
- WebForm
 
 public abstract class Wizard extends DefaultObject The following actions are available:- GET
- POST next
- POST ok
- POST cancel
- POST back
 - Author:
- Bogdan Stefanescu
 
- 
- 
Field SummaryFields Modifier and Type Field Description static String[]EMPTYprotected ValidationExceptionerrorprotected Map<String,String[]>initialFieldsprotected WizardPagepageprotected WizardSessionsession
 - 
Constructor SummaryConstructors Constructor Description Wizard()
 - 
Method Summary- 
Methods inherited from class org.nuxeo.ecm.webengine.model.impl.DefaultObjectdisptachAdapter, isAdapter
 - 
Methods inherited from class org.nuxeo.ecm.webengine.model.impl.AbstractResourcecheckGuard, 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
 
- 
 
- 
- 
- 
Field Detail- 
sessionprotected WizardSession session 
 - 
pageprotected WizardPage page 
 - 
errorprotected ValidationException error 
 - 
initialFieldsprotected Map<String,String[]> initialFields 
 
- 
 - 
Constructor Detail- 
Wizardpublic Wizard() 
 
- 
 - 
Method Detail- 
createPagesprotected abstract WizardPage[] createPages() 
 - 
createInitialFieldsprotected Map<String,String[]> createInitialFields() 
 - 
initializeprotected void initialize(Object... args) - Overrides:
- initializein class- AbstractResource<ResourceTypeImpl>
 
 - 
destroySessionprotected void destroySession() 
 - 
createSessionIdprotected String createSessionId() 
 - 
getSessionpublic WizardSession getSession() 
 - 
getPagepublic WizardPage getPage() 
 - 
isNextEnabledpublic boolean isNextEnabled() 
 - 
isBackEnabledpublic boolean isBackEnabled() 
 - 
isOkEnabledpublic boolean isOkEnabled() 
 - 
isCancelEnabledpublic boolean isCancelEnabled() 
 - 
getErrorpublic ValidationException getError() 
 - 
getFormFieldspublic Map<String,String[]> getFormFields() 
 - 
getInvalidFieldspublic Collection<String> getInvalidFields() 
 - 
getRequireddFieldspublic Collection<String> getRequireddFields() 
 - 
hasErrorspublic boolean hasErrors() 
 - 
redirectOnOkprotected Object redirectOnOk() 
 - 
redirectOnCancelprotected Object redirectOnCancel() 
 - 
performOkprotected abstract void performOk() throws ValidationException - Throws:
- ValidationException
 
 - 
performCancelprotected void performCancel() 
 - 
handleValidationErrorprotected Object handleValidationError(ValidationException e) 
 - 
handleErrorprotected Object handleError(Throwable e) 
 - 
validatepublic <T extends Form> T validate(WizardPage page) throws ValidationException - Throws:
- ValidationException
 
 - 
handleNextpublic Object handleNext() 
 - 
handleBackpublic Object handleBack() 
 - 
handleCancelpublic Object handleCancel() 
 
- 
 
-