@PermitAll public class TestSupportServiceBean extends com.whitestein.lsps.common.SecureAndLoggingService implements TestSupportServiceRemote, TestSupportServiceLocal
Constructor and Description |
---|
TestSupportServiceBean() |
Modifier and Type | Method and Description |
---|---|
EvaluationResultValue |
attachModelInstance(byte[] serializedModelInstance)
Attach detached model instance.
|
EvaluationResultValue |
cleanEvaluationLevelData(long modelInstanceId,
String level)
Cleans evaluation data of the specified level.
|
EvaluationResultValue |
cleanEvaluationLevelDataDetached(byte[] serializedModelInstance,
String level)
Cleans evaluation data of the specified level.
|
EvaluationResultValue |
createContextInEvaluationLevelDetached(byte[] serializedModelInstance,
String evaluationLevel,
boolean mergeEvaluation) |
EvaluationResultValue |
detacheModelInstance(long modelInstanceId,
long detachingTaskId)
Detach model instance.
|
EvaluationResultValue |
evaluateExpression(long modelInstanceId,
Long contextId,
String source,
boolean fullExecutionMode,
boolean mergeEval)
Parses the string source of expression and evaluates them.
|
EvaluationResultValue |
evaluateExpressionInEvaluationLevel(long modelInstanceId,
Long contextId,
String source,
String evaluationLevel,
boolean mergeEvaluation)
Parses the string source of expression and evaluates them.
|
EvaluationResultValue |
evaluateExpressionInEvaluationLevelDetached(byte[] serializedModelInstance,
Long contextId,
String source,
String evaluationLevel,
boolean mergeEvaluation)
Evaluates expression in the detached model instance.
|
List<ProcessLog> |
findProcessLogsByModelInstanceId(long modelInstanceId)
Finds
ProcessLog s by the model instance id. |
ObjectValue |
getVariableValue(long modelInstanceId,
long contextId,
String variableName) |
Boolean |
isCutLongStrings() |
Boolean |
isDumpModelInstanceOnException() |
Boolean |
isRunningOn(JEEServer server) |
EvaluationResultValue |
removeEvaluationLevelData(long modelInstanceId,
String level)
Removes evaluation data of the specified level.
|
EvaluationResultValue |
removeEvaluationLevelDataDetached(byte[] serializedModelInstance,
String level)
Removes evaluation data of the specified level.
|
EvaluationResultValue |
runGC(long modelInstanceId) |
void |
setCutLongStrings(boolean cutLongStrings) |
void |
setDumpModelInstanceOnException(boolean dumpModelInstanceOnException) |
void |
setVariableValue(long modelInstanceId,
long contextId,
String variableName,
ObjectValue value) |
void |
submitTodo(long todoId,
long modelInstanceId)
Submits the given Todo.
|
EvaluationResultValue |
synchronize(byte[] serializedModelInstance) |
void |
throwEscalation(long todoId,
String escalationCode,
ObjectValue payloadDto) |
@RightsAllowed(value="Testing:All") public EvaluationResultValue evaluateExpression(long modelInstanceId, Long contextId, String source, boolean fullExecutionMode, boolean mergeEval) throws ValidationException, ErrorException
TestSupportService
evaluateExpression
in interface TestSupportService
ValidationException
ErrorException
@RightsAllowed(value="Testing:All") public EvaluationResultValue evaluateExpressionInEvaluationLevel(long modelInstanceId, Long contextId, String source, String evaluationLevel, boolean mergeEvaluation) throws ValidationException, ErrorException
TestSupportService
evaluateExpressionInEvaluationLevel
in interface TestSupportService
ValidationException
ErrorException
@RightsAllowed(value="Testing:All") public EvaluationResultValue detacheModelInstance(long modelInstanceId, long detachingTaskId)
TestSupportService
detacheModelInstance
in interface TestSupportService
detachingTaskId
- the identifier of a task which detaches the model instance@RightsAllowed(value="Testing:All") public EvaluationResultValue attachModelInstance(byte[] serializedModelInstance)
TestSupportService
attachModelInstance
in interface TestSupportService
@RightsAllowed(value="Testing:All") public EvaluationResultValue evaluateExpressionInEvaluationLevelDetached(byte[] serializedModelInstance, Long contextId, String source, String evaluationLevel, boolean mergeEvaluation) throws ValidationException, ErrorException
TestSupportService
evaluateExpressionInEvaluationLevelDetached
in interface TestSupportService
ValidationException
ErrorException
@RightsAllowed(value="Testing:All") public EvaluationResultValue cleanEvaluationLevelData(long modelInstanceId, String level)
TestSupportService
cleanEvaluationLevelData
in interface TestSupportService
@RightsAllowed(value="Testing:All") public EvaluationResultValue cleanEvaluationLevelDataDetached(byte[] serializedModelInstance, String level)
TestSupportService
cleanEvaluationLevelDataDetached
in interface TestSupportService
@RightsAllowed(value="Testing:All") public EvaluationResultValue removeEvaluationLevelData(long modelInstanceId, String level)
TestSupportService
removeEvaluationLevelData
in interface TestSupportService
@RightsAllowed(value="Testing:All") public EvaluationResultValue removeEvaluationLevelDataDetached(byte[] serializedModelInstance, String level)
TestSupportService
removeEvaluationLevelDataDetached
in interface TestSupportService
@RightsAllowed(value="Testing:All") public EvaluationResultValue createContextInEvaluationLevelDetached(byte[] serializedModelInstance, String evaluationLevel, boolean mergeEvaluation)
createContextInEvaluationLevelDetached
in interface TestSupportService
@RightsAllowed(value="Testing:All") public EvaluationResultValue synchronize(byte[] serializedModelInstance)
synchronize
in interface TestSupportService
@RightsAllowed(value="Testing:All") public EvaluationResultValue runGC(long modelInstanceId)
runGC
in interface TestSupportService
@RightsAllowed(value="Testing:All") public Boolean isDumpModelInstanceOnException()
isDumpModelInstanceOnException
in interface TestSupportService
@RightsAllowed(value="Testing:All") public void setDumpModelInstanceOnException(boolean dumpModelInstanceOnException)
setDumpModelInstanceOnException
in interface TestSupportService
@RightsAllowed(value="Testing:All") public List<ProcessLog> findProcessLogsByModelInstanceId(long modelInstanceId)
TestSupportService
ProcessLog
s by the model instance id.findProcessLogsByModelInstanceId
in interface TestSupportService
modelInstanceId
- the identifier of the model instanceProcessLog
s@RightsAllowed(value="Testing:All") public Boolean isCutLongStrings()
isCutLongStrings
in interface TestSupportService
@RightsAllowed(value="Testing:All") public void setCutLongStrings(boolean cutLongStrings)
setCutLongStrings
in interface TestSupportService
@RightsAllowed(value="Testing:All") public void submitTodo(long todoId, long modelInstanceId)
TestSupportService
submitTodo
in interface TestSupportService
todoId
- the identifier of the todo which is to be submittedmodelInstanceId
- the the identifier of the model instance@RightsAllowed(value="Testing:All") public void throwEscalation(long todoId, String escalationCode, ObjectValue payloadDto)
throwEscalation
in interface TestSupportService
public Boolean isRunningOn(JEEServer server)
isRunningOn
in interface TestSupportService
@RightsAllowed(value="Testing:All") public ObjectValue getVariableValue(long modelInstanceId, long contextId, String variableName)
getVariableValue
in interface TestSupportService
@RightsAllowed(value="Testing:All") public void setVariableValue(long modelInstanceId, long contextId, String variableName, ObjectValue value)
setVariableValue
in interface TestSupportService
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.