@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 FormRenderContextManager
Exception
public void persistContext(String ctxUID) throws Exception
persistContext
in interface FormRenderContextManager
Exception
public void removeContext(String ctxUID)
removeContext
in interface FormRenderContextManager
public void removeContext(FormRenderContext context)
removeContext
in interface FormRenderContextManager
protected void doRemovecontext(String ctxUID)
public void removeContextEvent(@Observes ContextRenderedEvent event)
public FormRenderContext newContext(Form form, String deploymentId, Map<String,Object> ctx)
newContext
in interface FormRenderContextManager
public FormRenderContext newContext(Form form, String deploymentId, Map<String,Object> inputData, Map<String,Object> outputData)
newContext
in interface FormRenderContextManager
public FormRenderContext getFormRenderContext(String UID)
getFormRenderContext
in interface FormRenderContextManager
public FormRenderContext getRootContext(String UID)
getRootContext
in interface FormRenderContextManager
public void fireContextSubmitError(FormSubmitFailEvent event)
fireContextSubmitError
in interface FormRenderContextManager
public void fireContextSubmit(FormSubmittedEvent event)
fireContextSubmit
in interface FormRenderContextManager
public void fireContextFormResize(ResizeFormcontainerEvent event)
fireContextFormResize
in interface FormRenderContextManager
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.