Package service.container
Class FormServiceImpl
- All Implemented Interfaces:
FormService
@Conditional(BpmnEnabledCondition.class)
public class FormServiceImpl
extends AbstractBpmnFormService
implements FormService
Hybrid Form service made for working on pages of both types ("bpmn", "simple")
- Author:
- kochetkov
-
Field Summary
FieldsFields inherited from class service.container.AbstractBpmnFormService
bpmnContext, bpmnVariableSaveService, processNavigationService, variableService
Fields inherited from class service.container.AbstractGraphFormService
formDao
Fields inherited from class service.container.AbstractFormService
formValidators, postActionHandlers
Fields inherited from class ru.cg.webbpm.modules.webkit.beans.Behavior
objectContext, objectId
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeleteData
(String navigateTo, List<BpmnVariableForSave> bpmnVariables) loadData()
saveData
(String navigateTo, List<FieldData> fieldData, Boolean completeTask, List<BpmnVariableForSave> bpmnVariables) protected void
updateSelectedIdVariableValue
(Object selectedId, List<BpmnVariableForSave> bpmnVariables) Methods inherited from class service.container.AbstractBpmnFormService
completeTask, convertVariablesForSave, saveBpmnVariables
Methods inherited from class service.container.AbstractGraphFormService
deleteData, executeValidators, getEntityColumnToFieldGuidsMap, getMainEntityId, getValuesForSave, loadData, parseId, save, saveCustomFields, saveDataById
Methods inherited from class service.container.AbstractFormService
executePostActionHandlers, loadData, saveData
Methods inherited from class ru.cg.webbpm.modules.webkit.beans.Behavior
getChildScript, getChildScripts, getObjectId, getPageId, getParentContext, getScript, getScriptInObject, getScripts, getScriptsInChildren, setObjectContext, setObjectId, start
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface service.container.FormService
afterSave, deleteData, loadData, parseId, saveData
-
Field Details
-
mode
-
selectedIdVariable
-
-
Constructor Details
-
FormServiceImpl
public FormServiceImpl()
-
-
Method Details
-
saveData
@Transactional public Object saveData(String navigateTo, List<FieldData> fieldData, Boolean completeTask, List<BpmnVariableForSave> bpmnVariables) throws Exception - Specified by:
saveData
in interfaceFormService
- Throws:
Exception
-
updateSelectedIdVariableValue
protected void updateSelectedIdVariableValue(Object selectedId, List<BpmnVariableForSave> bpmnVariables) -
loadData
- Specified by:
loadData
in interfaceFormService
-
deleteData
- Specified by:
deleteData
in interfaceFormService
-
getSelectedId
-
getSelectedIdVariableName
-