public class FormManager extends Object implements InvocationHandler, Form
| 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() |
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 static <T> T newProxy(Class<T> type)
public void flushCache()
Copyright © 2015 Nuxeo SA. All rights reserved.