org.jbpm.formModeler.renderer.backend.service
Class FormRenderContextManagerImpl
java.lang.Object
org.jbpm.formModeler.renderer.backend.service.FormRenderContextManagerImpl
- All Implemented Interfaces:
- FormRenderContextManager
@ApplicationScoped
public class FormRenderContextManagerImpl
- extends Object
- implements FormRenderContextManager
Method Summary |
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
formRenderContextMap
protected Map<String,FormRenderContext> formRenderContextMap
FormRenderContextManagerImpl
public FormRenderContextManagerImpl()
persistContext
public void persistContext(FormRenderContext ctx)
throws Exception
- Specified by:
persistContext
in interface FormRenderContextManager
- Throws:
Exception
persistContext
public void persistContext(String ctxUID)
throws Exception
- Specified by:
persistContext
in interface FormRenderContextManager
- Throws:
Exception
removeContext
public void removeContext(String ctxUID)
- Specified by:
removeContext
in interface FormRenderContextManager
removeContext
public void removeContext(FormRenderContext context)
- Specified by:
removeContext
in interface FormRenderContextManager
newContext
public FormRenderContext newContext(Form form,
Map<String,Object> ctx)
- Specified by:
newContext
in interface FormRenderContextManager
newContext
public FormRenderContext newContext(Form form,
Map<String,Object> inputData,
Map<String,Object> outputData)
- Specified by:
newContext
in interface FormRenderContextManager
newContext
public FormRenderContext newContext(Form form,
Map<String,Object> inputData,
Map<String,Object> outputData,
Map<String,Object> forms)
- Specified by:
newContext
in interface FormRenderContextManager
getFormRenderContext
public FormRenderContext getFormRenderContext(String UID)
- Specified by:
getFormRenderContext
in interface FormRenderContextManager
getRootContext
public FormRenderContext getRootContext(String UID)
- Specified by:
getRootContext
in interface FormRenderContextManager
fireContextSubmitError
public void fireContextSubmitError(FormSubmitFailEvent event)
- Specified by:
fireContextSubmitError
in interface FormRenderContextManager
fireContextSubmit
public void fireContextSubmit(FormSubmittedEvent event)
- Specified by:
fireContextSubmit
in interface FormRenderContextManager
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.