public class FormManager extends Object implements InvocationHandler, Form
| Modifier and Type | Field and Description | 
|---|---|
protected FormDescriptor | 
fd  | 
protected Map<String,String[]> | 
fields  | 
protected static Map<Class<?>,FormDescriptor> | 
forms  | 
protected Map<String,Object> | 
map  | 
protected List<String> | 
unknownKeys  | 
| Constructor and Description | 
|---|
FormManager(FormDescriptor fd)  | 
| Modifier and Type | Method and Description | 
|---|---|
Map<String,String[]> | 
fields()
Get the form fields as submitted by the client. 
 | 
void | 
flushCache()  | 
Object | 
invoke(Object proxy,
      Method method,
      Object[] args)  | 
void | 
load(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> T | 
newProxy(Class<T> type)  | 
Collection<String> | 
unknownKeys()  | 
protected List<String> unknownKeys
protected FormDescriptor fd
protected static Map<Class<?>,FormDescriptor> forms
public FormManager(FormDescriptor fd)
public Collection<String> unknownKeys()
unknownKeys in interface Formpublic Map<String,String[]> fields()
Formpublic void load(FormDataProvider data, Form proxy) throws ValidationException
Formload in interface Formdata - the form data sourceproxy - the proxy to the user formValidationExceptionpublic Object invoke(Object proxy, Method method, Object[] args) throws Throwable
invoke in interface InvocationHandlerThrowablepublic void flushCache()
Copyright © 2019 Nuxeo. All rights reserved.