Class FormManager
- java.lang.Object
- 
- org.nuxeo.ecm.webengine.forms.validation.FormManager
 
- 
- All Implemented Interfaces:
- InvocationHandler,- Form
 
 public class FormManager extends Object implements InvocationHandler, Form - Author:
- Bogdan Stefanescu
 
- 
- 
Constructor SummaryConstructors Constructor Description FormManager(FormDescriptor fd)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String[]>fields()Get the form fields as submitted by the client.voidflushCache()Objectinvoke(Object proxy, Method method, Object[] args)voidload(FormDataProvider data, Form proxy)Before using the form, implementors must ensure this method is called to initialize form data, otherwise NPE will be thrown.static <T> TnewProxy(Class<T> type)Collection<String>unknownKeys()
 
- 
- 
- 
Constructor Detail- 
FormManagerpublic FormManager(FormDescriptor fd) 
 
- 
 - 
Method Detail- 
unknownKeyspublic Collection<String> unknownKeys() - Specified by:
- unknownKeysin interface- Form
 
 - 
fieldspublic Map<String,String[]> fields() Description copied from interface:FormGet the form fields as submitted by the client. The fields are present even if the form is not valid
 - 
loadpublic void load(FormDataProvider data, Form proxy) throws ValidationException Description copied from interface:FormBefore using the form, implementors must ensure this method is called to initialize form data, otherwise NPE will be thrown. This method must never be called by clients. It is internal to validation implementation and should be called only by implementors when creating a form.- Specified by:
- loadin interface- Form
- Parameters:
- data- the form data source
- proxy- the proxy to the user form
- Throws:
- ValidationException
 
 - 
invokepublic Object invoke(Object proxy, Method method, Object[] args) throws Throwable - Specified by:
- invokein interface- InvocationHandler
- Throws:
- Throwable
 
 - 
flushCachepublic void flushCache() 
 
- 
 
-