org.jbpm.formModeler.panels.modeler.backend
@ApplicationScoped public class FormModelerServiceImpl extends Object implements FormModelerService, FormEditorContextManager
Modifier and Type | Field and Description |
---|---|
static String |
EDIT_FIELD_LITERAL |
protected Map<String,FormEditorContext> |
formEditorContextMap |
Constructor and Description |
---|
FormModelerServiceImpl() |
Modifier and Type | Method and Description |
---|---|
org.uberfire.backend.vfs.Path |
createForm(org.uberfire.backend.vfs.Path context,
String formName) |
String |
generateFieldEditionNamespace(String UID,
Field field) |
FormEditorContext |
getFormEditorContext(String UID) |
FormEditorContext |
getRootEditorContext(String UID) |
FormEditorContextTO |
loadForm(org.uberfire.backend.vfs.Path context) |
FormEditorContext |
newContext(Form form,
Object path) |
void |
removeEditingForm(String ctxUID) |
void |
saveContext(String ctxUID) |
void |
saveForm(String ctxUID) |
FormEditorContextTO |
setFormFocus(String ctxUID) |
public static final String EDIT_FIELD_LITERAL
protected Map<String,FormEditorContext> formEditorContextMap
public FormEditorContextTO setFormFocus(String ctxUID)
setFormFocus
in interface FormModelerService
public void removeEditingForm(String ctxUID)
removeEditingForm
in interface FormModelerService
public FormEditorContextTO loadForm(org.uberfire.backend.vfs.Path context)
loadForm
in interface FormModelerService
public FormEditorContext newContext(Form form, Object path)
newContext
in interface FormEditorContextManager
public FormEditorContext getFormEditorContext(String UID)
getFormEditorContext
in interface FormEditorContextManager
public String generateFieldEditionNamespace(String UID, Field field)
generateFieldEditionNamespace
in interface FormEditorContextManager
public FormEditorContext getRootEditorContext(String UID)
getRootEditorContext
in interface FormEditorContextManager
public void saveForm(String ctxUID) throws Exception
saveForm
in interface FormModelerService
Exception
public void saveContext(String ctxUID) throws Exception
saveContext
in interface FormEditorContextManager
Exception
public org.uberfire.backend.vfs.Path createForm(org.uberfire.backend.vfs.Path context, String formName)
createForm
in interface FormModelerService
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.