org.jbpm.formModeler.renderer.backend.service
@ApplicationScoped public class FormRenderContextManagerImpl extends Object implements FormRenderContextManager
Modifier and Type | Field and Description |
---|---|
protected Map<String,FormRenderContext> |
formRenderContextMap |
CTX_PREFFIX
Constructor and Description |
---|
FormRenderContextManagerImpl() |
Modifier and Type | Method and Description |
---|---|
void |
fireContextSubmit(FormSubmittedEvent event) |
void |
fireContextSubmitError(FormSubmitFailEvent event) |
FormRenderContext |
getFormRenderContext(String UID) |
FormRenderContext |
getRootContext(String UID) |
FormRenderContext |
newContext(Form form,
Map<String,Object> ctx) |
FormRenderContext |
newContext(Form form,
Map<String,Object> inputData,
Map<String,Object> outputData) |
FormRenderContext |
newContext(Form form,
Map<String,Object> inputData,
Map<String,Object> outputData,
Map<String,Object> forms) |
void |
persistContext(FormRenderContext ctx) |
void |
persistContext(String ctxUID) |
void |
removeContext(FormRenderContext context) |
void |
removeContext(String ctxUID) |
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
public FormRenderContext newContext(Form form, Map<String,Object> ctx)
newContext
in interface FormRenderContextManager
public FormRenderContext newContext(Form form, Map<String,Object> inputData, Map<String,Object> outputData)
newContext
in interface FormRenderContextManager
public FormRenderContext newContext(Form form, Map<String,Object> inputData, Map<String,Object> outputData, Map<String,Object> forms)
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
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.