Class ScriptQueryExecutorImpl
- java.lang.Object
-
- com.neotropic.kuwaiba.modules.commercial.processman.scripts.ScriptQueryExecutorImpl
-
- All Implemented Interfaces:
ScriptQueryExecutor
public class ScriptQueryExecutorImpl extends Object implements ScriptQueryExecutor
Implementation of a set of functions executed in the process definition. Like shared to get the value of shared fields in process instance, activityConditionalValue to get the value of an activity of conditional type in a process instance.- Author:
- Johny Andres Ortega Ruiz <johny.ortega@kuwaiba.org>
-
-
Constructor Summary
Constructors Constructor Description ScriptQueryExecutorImpl(ProcessInstance processInstance, Session session, ApplicationEntityManager aem, BusinessEntityManager bem, MetadataEntityManager mem, TranslationService ts)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
execute(String scriptQueryName, List<String> parameterNames, List<String> parameterValues)
void
openMessage(String message)
void
setDebug(boolean debug)
Sets debug equal true to show the error messages
-
-
-
Constructor Detail
-
ScriptQueryExecutorImpl
public ScriptQueryExecutorImpl(ProcessInstance processInstance, Session session, ApplicationEntityManager aem, BusinessEntityManager bem, MetadataEntityManager mem, TranslationService ts)
-
-
Method Detail
-
execute
public Object execute(String scriptQueryName, List<String> parameterNames, List<String> parameterValues)
- Specified by:
execute
in interfaceScriptQueryExecutor
-
setDebug
public void setDebug(boolean debug)
Description copied from interface:ScriptQueryExecutor
Sets debug equal true to show the error messages- Specified by:
setDebug
in interfaceScriptQueryExecutor
- Parameters:
debug
- true to enable error messages
-
openMessage
public void openMessage(String message)
- Specified by:
openMessage
in interfaceScriptQueryExecutor
-
-