jbpm-form-modeler-editor-backend 6.0.1.Final

org.jbpm.formModeler.panels.modeler.backend
Class FormModelerServiceImpl

java.lang.Object
  extended by org.jbpm.formModeler.panels.modeler.backend.FormModelerServiceImpl
All Implemented Interfaces:
Serializable, FormEditorContextManager, FormModelerService

@ApplicationScoped
public class FormModelerServiceImpl
extends Object
implements FormModelerService, FormEditorContextManager

See Also:
Serialized Form

Field Summary
static String EDIT_FIELD_LITERAL
           
protected  Map<String,FormEditorContext> formEditorContextMap
           
 
Constructor Summary
FormModelerServiceImpl()
           
 
Method Summary
 void changeContextPath(String ctxUID, org.uberfire.backend.vfs.Path path)
           
 org.uberfire.backend.vfs.Path createForm(org.uberfire.backend.vfs.Path context, String formName)
           
 boolean deleteForm(org.uberfire.backend.vfs.Path context)
           
 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)
           
 FormEditorContextTO reloadForm(org.uberfire.backend.vfs.Path path, String ctxUID)
           
 void removeEditingForm(String ctxUID)
           
 void saveContext(String ctxUID)
           
 void saveForm(String ctxUID)
           
 FormEditorContextTO setFormFocus(String ctxUID)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EDIT_FIELD_LITERAL

public static final String EDIT_FIELD_LITERAL
See Also:
Constant Field Values

formEditorContextMap

protected Map<String,FormEditorContext> formEditorContextMap
Constructor Detail

FormModelerServiceImpl

public FormModelerServiceImpl()
Method Detail

changeContextPath

public void changeContextPath(String ctxUID,
                              org.uberfire.backend.vfs.Path path)
Specified by:
changeContextPath in interface FormModelerService

setFormFocus

public FormEditorContextTO setFormFocus(String ctxUID)
Specified by:
setFormFocus in interface FormModelerService

removeEditingForm

public void removeEditingForm(String ctxUID)
Specified by:
removeEditingForm in interface FormModelerService

loadForm

public FormEditorContextTO loadForm(org.uberfire.backend.vfs.Path context)
Specified by:
loadForm in interface FormModelerService

reloadForm

public FormEditorContextTO reloadForm(org.uberfire.backend.vfs.Path path,
                                      String ctxUID)
Specified by:
reloadForm in interface FormModelerService

newContext

public FormEditorContext newContext(Form form,
                                    Object path)
Specified by:
newContext in interface FormEditorContextManager

getFormEditorContext

public FormEditorContext getFormEditorContext(String UID)
Specified by:
getFormEditorContext in interface FormEditorContextManager

generateFieldEditionNamespace

public String generateFieldEditionNamespace(String UID,
                                            Field field)
Specified by:
generateFieldEditionNamespace in interface FormEditorContextManager

getRootEditorContext

public FormEditorContext getRootEditorContext(String UID)
Specified by:
getRootEditorContext in interface FormEditorContextManager

saveForm

public void saveForm(String ctxUID)
              throws Exception
Specified by:
saveForm in interface FormModelerService
Throws:
Exception

saveContext

public void saveContext(String ctxUID)
                 throws Exception
Specified by:
saveContext in interface FormEditorContextManager
Throws:
Exception

createForm

public org.uberfire.backend.vfs.Path createForm(org.uberfire.backend.vfs.Path context,
                                                String formName)
Specified by:
createForm in interface FormModelerService

deleteForm

public boolean deleteForm(org.uberfire.backend.vfs.Path context)
Specified by:
deleteForm in interface FormModelerService

jbpm-form-modeler-editor-backend 6.0.1.Final

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.