org.jbpm.formModeler.components.renderer
Class FormRenderContextManagerImpl
java.lang.Object
org.jbpm.formModeler.components.renderer.FormRenderContextManagerImpl
- All Implemented Interfaces:
- Serializable, FormRenderContextManager
@SessionScoped
public class FormRenderContextManagerImpl
- extends Object
- implements FormRenderContextManager, Serializable
- See Also:
- Serialized Form
|
Method Summary |
protected void |
doRemovecontext(String ctxUID)
|
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)
|
void |
removeContextEvent(ContextRenderedEvent event)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
formRenderContextMap
protected Map<String,FormRenderContext> formRenderContextMap
contextToRemove
protected List<String> contextToRemove
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
doRemovecontext
protected void doRemovecontext(String ctxUID)
removeContextEvent
public void removeContextEvent(@Observes
ContextRenderedEvent event)
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-2014 JBoss by Red Hat. All Rights Reserved.