public class FormServiceImpl extends ServiceImpl implements org.flowable.form.api.FormService
commandExecutor, engineConfig
Constructor and Description |
---|
FormServiceImpl() |
Modifier and Type | Method and Description |
---|---|
org.flowable.form.api.FormInstance |
createFormInstance(Map<String,Object> variables,
org.flowable.form.api.FormInfo formInfo,
String taskId,
String processInstanceId,
String processDefinitionId,
String tenantId,
String outcome) |
org.flowable.form.api.FormInstanceQuery |
createFormInstanceQuery() |
org.flowable.form.api.FormInstance |
createFormInstanceWithScopeId(Map<String,Object> variables,
org.flowable.form.api.FormInfo formInfo,
String taskId,
String scopeId,
String scopeType,
String scopeDefinitionId,
String tenantId,
String outcome) |
void |
deleteFormInstance(String formInstanceId) |
void |
deleteFormInstancesByFormDefinition(String formDefinitionId) |
void |
deleteFormInstancesByProcessDefinition(String processDefinitionId) |
void |
deleteFormInstancesByScopeDefinition(String scopeDefinitionId) |
org.flowable.form.api.FormInstanceInfo |
getFormInstanceModelById(String formInstanceId,
Map<String,Object> variables) |
org.flowable.form.api.FormInstanceInfo |
getFormInstanceModelById(String formDefinitionId,
String taskId,
String processInstanceId,
Map<String,Object> variables) |
org.flowable.form.api.FormInstanceInfo |
getFormInstanceModelById(String formDefinitionId,
String taskId,
String processInstanceId,
Map<String,Object> variables,
String tenantId,
boolean fallbackToDefaultTenant) |
org.flowable.form.api.FormInstanceInfo |
getFormInstanceModelByKey(String formDefinitionKey,
String taskId,
String processInstanceId,
Map<String,Object> variables) |
org.flowable.form.api.FormInstanceInfo |
getFormInstanceModelByKey(String formDefinitionKey,
String taskId,
String processInstanceId,
Map<String,Object> variables,
String tenantId,
boolean fallbackToDefaultTenant) |
org.flowable.form.api.FormInstanceInfo |
getFormInstanceModelByKeyAndParentDeploymentId(String formDefinitionKey,
String parentDeploymentId,
String taskId,
String processInstanceId,
Map<String,Object> variables) |
org.flowable.form.api.FormInstanceInfo |
getFormInstanceModelByKeyAndParentDeploymentId(String formDefinitionKey,
String parentDeploymentId,
String taskId,
String processInstanceId,
Map<String,Object> variables,
String tenantId,
boolean fallbackToDefaultTenant) |
org.flowable.form.api.FormInstanceInfo |
getFormInstanceModelByKeyAndParentDeploymentIdAndScopeId(String formDefinitionKey,
String parentDeploymentId,
String scopeId,
String scopeType,
Map<String,Object> variables) |
org.flowable.form.api.FormInstanceInfo |
getFormInstanceModelByKeyAndParentDeploymentIdAndScopeId(String formDefinitionKey,
String parentDeploymentId,
String scopeId,
String scopeType,
Map<String,Object> variables,
String tenantId,
boolean fallbackToDefaultTenant) |
org.flowable.form.api.FormInstanceInfo |
getFormInstanceModelByKeyAndScopeId(String formDefinitionKey,
String scopeId,
String scopeType,
Map<String,Object> variables) |
org.flowable.form.api.FormInstanceInfo |
getFormInstanceModelByKeyAndScopeId(String formDefinitionKey,
String scopeId,
String scopeType,
Map<String,Object> variables,
String tenantId,
boolean fallbackToDefaultTenant) |
byte[] |
getFormInstanceValues(String formInstanceId) |
org.flowable.form.api.FormInfo |
getFormModelWithVariablesById(String formDefinitionId,
String taskId,
Map<String,Object> variables) |
org.flowable.form.api.FormInfo |
getFormModelWithVariablesById(String formId,
String taskId,
Map<String,Object> variables,
String tenantId,
boolean fallbackToDefaultTenant) |
org.flowable.form.api.FormInfo |
getFormModelWithVariablesByKey(String formDefinitionKey,
String taskId,
Map<String,Object> variables) |
org.flowable.form.api.FormInfo |
getFormModelWithVariablesByKey(String formDefinitionKey,
String taskId,
Map<String,Object> variables,
String tenantId,
boolean fallbackToDefaultTenant) |
org.flowable.form.api.FormInfo |
getFormModelWithVariablesByKeyAndParentDeploymentId(String formDefinitionKey,
String parentDeploymentId,
String taskId,
Map<String,Object> variables) |
org.flowable.form.api.FormInfo |
getFormModelWithVariablesByKeyAndParentDeploymentId(String formDefinitionKey,
String parentDeploymentId,
String taskId,
Map<String,Object> variables,
String tenantId,
boolean fallbackToDefaultTenant) |
Map<String,Object> |
getSavedFormVariables(org.flowable.form.api.FormInstance formInstance) |
Map<String,Object> |
getStartFormVariables(String processInstanceId,
String scopeId) |
Map<String,Object> |
getVariablesFromFormSubmission(org.flowable.form.api.FormInfo formInfo,
Map<String,Object> values) |
Map<String,Object> |
getVariablesFromFormSubmission(org.flowable.form.api.FormInfo formInfo,
Map<String,Object> values,
String outcome) |
org.flowable.form.api.FormInstance |
saveFormInstance(Map<String,Object> variables,
org.flowable.form.api.FormInfo formInfo,
String taskId,
String processInstanceId,
String processDefinitionId,
String tenantId,
String outcome) |
org.flowable.form.api.FormInstance |
saveFormInstanceByFormDefinitionId(Map<String,Object> variables,
String formDefinitionId,
String taskId,
String processInstanceId,
String processDefinitionId,
String tenantId,
String outcome) |
org.flowable.form.api.FormInstance |
saveFormInstanceWithScopeId(Map<String,Object> variables,
org.flowable.form.api.FormInfo formInfo,
String taskId,
String scopeId,
String scopeType,
String scopeDefinitionId,
String tenantId,
String outcome) |
org.flowable.form.api.FormInstance |
saveFormInstanceWithScopeId(Map<String,Object> variables,
String formModelId,
String taskId,
String scopeId,
String scopeType,
String scopeDefinitionId,
String tenantId,
String outcome) |
void |
validateFormFields(org.flowable.form.api.FormInfo formInfo,
Map<String,Object> values) |
getCommandExecutor, setCommandExecutor
public Map<String,Object> getVariablesFromFormSubmission(org.flowable.form.api.FormInfo formInfo, Map<String,Object> values)
public void validateFormFields(org.flowable.form.api.FormInfo formInfo, Map<String,Object> values)
validateFormFields
in interface org.flowable.form.api.FormService
public Map<String,Object> getVariablesFromFormSubmission(org.flowable.form.api.FormInfo formInfo, Map<String,Object> values, String outcome)
getVariablesFromFormSubmission
in interface org.flowable.form.api.FormService
public org.flowable.form.api.FormInstance createFormInstance(Map<String,Object> variables, org.flowable.form.api.FormInfo formInfo, String taskId, String processInstanceId, String processDefinitionId, String tenantId, String outcome)
createFormInstance
in interface org.flowable.form.api.FormService
public org.flowable.form.api.FormInstance saveFormInstance(Map<String,Object> variables, org.flowable.form.api.FormInfo formInfo, String taskId, String processInstanceId, String processDefinitionId, String tenantId, String outcome)
saveFormInstance
in interface org.flowable.form.api.FormService
public org.flowable.form.api.FormInstance saveFormInstanceByFormDefinitionId(Map<String,Object> variables, String formDefinitionId, String taskId, String processInstanceId, String processDefinitionId, String tenantId, String outcome)
saveFormInstanceByFormDefinitionId
in interface org.flowable.form.api.FormService
public org.flowable.form.api.FormInstance createFormInstanceWithScopeId(Map<String,Object> variables, org.flowable.form.api.FormInfo formInfo, String taskId, String scopeId, String scopeType, String scopeDefinitionId, String tenantId, String outcome)
createFormInstanceWithScopeId
in interface org.flowable.form.api.FormService
public org.flowable.form.api.FormInstance saveFormInstanceWithScopeId(Map<String,Object> variables, org.flowable.form.api.FormInfo formInfo, String taskId, String scopeId, String scopeType, String scopeDefinitionId, String tenantId, String outcome)
saveFormInstanceWithScopeId
in interface org.flowable.form.api.FormService
public org.flowable.form.api.FormInstance saveFormInstanceWithScopeId(Map<String,Object> variables, String formModelId, String taskId, String scopeId, String scopeType, String scopeDefinitionId, String tenantId, String outcome)
saveFormInstanceWithScopeId
in interface org.flowable.form.api.FormService
public org.flowable.form.api.FormInfo getFormModelWithVariablesById(String formDefinitionId, String taskId, Map<String,Object> variables)
getFormModelWithVariablesById
in interface org.flowable.form.api.FormService
public org.flowable.form.api.FormInfo getFormModelWithVariablesById(String formId, String taskId, Map<String,Object> variables, String tenantId, boolean fallbackToDefaultTenant)
getFormModelWithVariablesById
in interface org.flowable.form.api.FormService
public org.flowable.form.api.FormInfo getFormModelWithVariablesByKey(String formDefinitionKey, String taskId, Map<String,Object> variables)
getFormModelWithVariablesByKey
in interface org.flowable.form.api.FormService
public org.flowable.form.api.FormInfo getFormModelWithVariablesByKey(String formDefinitionKey, String taskId, Map<String,Object> variables, String tenantId, boolean fallbackToDefaultTenant)
getFormModelWithVariablesByKey
in interface org.flowable.form.api.FormService
public org.flowable.form.api.FormInfo getFormModelWithVariablesByKeyAndParentDeploymentId(String formDefinitionKey, String parentDeploymentId, String taskId, Map<String,Object> variables)
getFormModelWithVariablesByKeyAndParentDeploymentId
in interface org.flowable.form.api.FormService
public org.flowable.form.api.FormInfo getFormModelWithVariablesByKeyAndParentDeploymentId(String formDefinitionKey, String parentDeploymentId, String taskId, Map<String,Object> variables, String tenantId, boolean fallbackToDefaultTenant)
getFormModelWithVariablesByKeyAndParentDeploymentId
in interface org.flowable.form.api.FormService
public org.flowable.form.api.FormInstanceInfo getFormInstanceModelById(String formInstanceId, Map<String,Object> variables)
getFormInstanceModelById
in interface org.flowable.form.api.FormService
public org.flowable.form.api.FormInstanceInfo getFormInstanceModelById(String formDefinitionId, String taskId, String processInstanceId, Map<String,Object> variables)
getFormInstanceModelById
in interface org.flowable.form.api.FormService
public org.flowable.form.api.FormInstanceInfo getFormInstanceModelById(String formDefinitionId, String taskId, String processInstanceId, Map<String,Object> variables, String tenantId, boolean fallbackToDefaultTenant)
getFormInstanceModelById
in interface org.flowable.form.api.FormService
public org.flowable.form.api.FormInstanceInfo getFormInstanceModelByKey(String formDefinitionKey, String taskId, String processInstanceId, Map<String,Object> variables)
getFormInstanceModelByKey
in interface org.flowable.form.api.FormService
public org.flowable.form.api.FormInstanceInfo getFormInstanceModelByKey(String formDefinitionKey, String taskId, String processInstanceId, Map<String,Object> variables, String tenantId, boolean fallbackToDefaultTenant)
getFormInstanceModelByKey
in interface org.flowable.form.api.FormService
public org.flowable.form.api.FormInstanceInfo getFormInstanceModelByKeyAndParentDeploymentId(String formDefinitionKey, String parentDeploymentId, String taskId, String processInstanceId, Map<String,Object> variables)
getFormInstanceModelByKeyAndParentDeploymentId
in interface org.flowable.form.api.FormService
public org.flowable.form.api.FormInstanceInfo getFormInstanceModelByKeyAndParentDeploymentId(String formDefinitionKey, String parentDeploymentId, String taskId, String processInstanceId, Map<String,Object> variables, String tenantId, boolean fallbackToDefaultTenant)
getFormInstanceModelByKeyAndParentDeploymentId
in interface org.flowable.form.api.FormService
public org.flowable.form.api.FormInstanceInfo getFormInstanceModelByKeyAndScopeId(String formDefinitionKey, String scopeId, String scopeType, Map<String,Object> variables)
getFormInstanceModelByKeyAndScopeId
in interface org.flowable.form.api.FormService
public org.flowable.form.api.FormInstanceInfo getFormInstanceModelByKeyAndScopeId(String formDefinitionKey, String scopeId, String scopeType, Map<String,Object> variables, String tenantId, boolean fallbackToDefaultTenant)
getFormInstanceModelByKeyAndScopeId
in interface org.flowable.form.api.FormService
public org.flowable.form.api.FormInstanceInfo getFormInstanceModelByKeyAndParentDeploymentIdAndScopeId(String formDefinitionKey, String parentDeploymentId, String scopeId, String scopeType, Map<String,Object> variables)
getFormInstanceModelByKeyAndParentDeploymentIdAndScopeId
in interface org.flowable.form.api.FormService
public org.flowable.form.api.FormInstanceInfo getFormInstanceModelByKeyAndParentDeploymentIdAndScopeId(String formDefinitionKey, String parentDeploymentId, String scopeId, String scopeType, Map<String,Object> variables, String tenantId, boolean fallbackToDefaultTenant)
getFormInstanceModelByKeyAndParentDeploymentIdAndScopeId
in interface org.flowable.form.api.FormService
public byte[] getFormInstanceValues(String formInstanceId)
getFormInstanceValues
in interface org.flowable.form.api.FormService
public org.flowable.form.api.FormInstanceQuery createFormInstanceQuery()
createFormInstanceQuery
in interface org.flowable.form.api.FormService
public void deleteFormInstance(String formInstanceId)
deleteFormInstance
in interface org.flowable.form.api.FormService
public void deleteFormInstancesByFormDefinition(String formDefinitionId)
deleteFormInstancesByFormDefinition
in interface org.flowable.form.api.FormService
public void deleteFormInstancesByProcessDefinition(String processDefinitionId)
deleteFormInstancesByProcessDefinition
in interface org.flowable.form.api.FormService
public void deleteFormInstancesByScopeDefinition(String scopeDefinitionId)
deleteFormInstancesByScopeDefinition
in interface org.flowable.form.api.FormService
public Map<String,Object> getSavedFormVariables(org.flowable.form.api.FormInstance formInstance)
Copyright © 2019. All rights reserved.