@SessionScoped public class FormRenderContextManagerImpl extends Object implements FormRenderContextManager, Serializable
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
contextToRemove |
protected Map<String,FormRenderContext> |
formRenderContextMap |
CTX_PREFFIX| Constructor and Description |
|---|
FormRenderContextManagerImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doRemovecontext(String ctxUID) |
void |
fireContextFormResize(ResizeFormcontainerEvent event) |
void |
fireContextSubmit(FormSubmittedEvent event) |
void |
fireContextSubmitError(FormSubmitFailEvent event) |
FormRenderContext |
getFormRenderContext(String UID) |
FormRenderContext |
getRootContext(String UID) |
FormRenderContext |
newContext(Form form,
String deploymentId,
Map<String,Object> ctx) |
FormRenderContext |
newContext(Form form,
String deploymentId,
Map<String,Object> inputData,
Map<String,Object> outputData) |
void |
persistContext(FormRenderContext ctx) |
void |
persistContext(String ctxUID) |
void |
removeContext(FormRenderContext context) |
void |
removeContext(String ctxUID) |
void |
removeContextEvent(ContextRenderedEvent event) |
protected Map<String,FormRenderContext> formRenderContextMap
public void persistContext(FormRenderContext ctx) throws Exception
persistContext in interface FormRenderContextManagerExceptionpublic void persistContext(String ctxUID) throws Exception
persistContext in interface FormRenderContextManagerExceptionpublic void removeContext(String ctxUID)
removeContext in interface FormRenderContextManagerpublic void removeContext(FormRenderContext context)
removeContext in interface FormRenderContextManagerprotected void doRemovecontext(String ctxUID)
public void removeContextEvent(@Observes
ContextRenderedEvent event)
public FormRenderContext newContext(Form form, String deploymentId, Map<String,Object> ctx)
newContext in interface FormRenderContextManagerpublic FormRenderContext newContext(Form form, String deploymentId, Map<String,Object> inputData, Map<String,Object> outputData)
newContext in interface FormRenderContextManagerpublic FormRenderContext getFormRenderContext(String UID)
getFormRenderContext in interface FormRenderContextManagerpublic FormRenderContext getRootContext(String UID)
getRootContext in interface FormRenderContextManagerpublic void fireContextSubmitError(FormSubmitFailEvent event)
fireContextSubmitError in interface FormRenderContextManagerpublic void fireContextSubmit(FormSubmittedEvent event)
fireContextSubmit in interface FormRenderContextManagerpublic void fireContextFormResize(ResizeFormcontainerEvent event)
fireContextFormResize in interface FormRenderContextManagerCopyright © 2001–2017 JBoss by Red Hat. All rights reserved.