Package org.bonitasoft.engine.service
Class FormRequiredAnalyzer
- java.lang.Object
-
- org.bonitasoft.engine.service.FormRequiredAnalyzer
-
public class FormRequiredAnalyzer extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description FormRequiredAnalyzer(ProcessDefinitionService processDefinitionService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.bonitasoft.engine.bpm.flownode.UserTaskDefinitionfindActivityWithName(java.util.List<org.bonitasoft.engine.bpm.flownode.ActivityDefinition> activities, java.lang.String task)booleanisFormRequired(SFormMapping sFormMapping)Is a form required to start case / execute task: if there is a contract, a form is required (by the web part only, the Engine never needs a form mapping to start a case / execute a task)
-
-
-
Constructor Detail
-
FormRequiredAnalyzer
public FormRequiredAnalyzer(ProcessDefinitionService processDefinitionService)
-
-
Method Detail
-
isFormRequired
public boolean isFormRequired(SFormMapping sFormMapping)
Is a form required to start case / execute task: if there is a contract, a form is required (by the web part only, the Engine never needs a form mapping to start a case / execute a task)- Parameters:
sFormMapping-- Returns:
- true if a form is required for this form mapping, false otherwise.
-
findActivityWithName
protected org.bonitasoft.engine.bpm.flownode.UserTaskDefinition findActivityWithName(java.util.List<org.bonitasoft.engine.bpm.flownode.ActivityDefinition> activities, java.lang.String task)
-
-