@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,
java.lang.String level)
Cleans evaluation data of the specified level.
|
EvaluationResultValue |
cleanEvaluationLevelDataDetached(byte[] serializedModelInstance,
java.lang.String level)
Cleans evaluation data of the specified level.
|
EvaluationResultValue |
createContextInEvaluationLevelDetached(byte[] serializedModelInstance,
java.lang.String evaluationLevel,
boolean mergeEvaluation) |
EvaluationResultValue |
detacheModelInstance(long modelInstanceId,
long detachingTaskId)
Detach model instance.
|
EvaluationResultValue |
evaluateExpression(long modelInstanceId,
java.lang.Long contextId,
java.lang.String source,
boolean fullExecutionMode,
boolean mergeEval)
Parses the string source of expression and evaluates them.
|
EvaluationResultValue |
evaluateExpressionInEvaluationLevel(long modelInstanceId,
java.lang.Long contextId,
java.lang.String source,
java.lang.String evaluationLevel,
boolean mergeEvaluation)
Parses the string source of expression and evaluates them.
|
EvaluationResultValue |
evaluateExpressionInEvaluationLevelDetached(byte[] serializedModelInstance,
java.lang.Long contextId,
java.lang.String source,
java.lang.String evaluationLevel,
boolean mergeEvaluation)
Evaluates expression in the detached model instance.
|
java.util.List<ProcessLog> |
findProcessLogsByModelInstanceId(long modelInstanceId)
Finds
ProcessLogs by the model instance id. |
ObjectValue |
getVariableValue(long modelInstanceId,
long contextId,
java.lang.String variableName) |
java.lang.Boolean |
isCutLongStrings() |
java.lang.Boolean |
isDumpModelInstanceOnException() |
java.lang.Boolean |
isRunningOn(JEEServer server) |
EvaluationResultValue |
removeEvaluationLevelData(long modelInstanceId,
java.lang.String level)
Removes evaluation data of the specified level.
|
EvaluationResultValue |
removeEvaluationLevelDataDetached(byte[] serializedModelInstance,
java.lang.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,
java.lang.String variableName,
ObjectValue value) |
void |
submitTodo(long todoId,
long modelInstanceId)
Submits the given Todo.
|
EvaluationResultValue |
synchronize(byte[] serializedModelInstance) |
void |
throwEscalation(long todoId,
java.lang.String escalationCode,
ObjectValue payloadDto) |
@RightsAllowed(value="Testing:All") public EvaluationResultValue evaluateExpression(long modelInstanceId, java.lang.Long contextId, java.lang.String source, boolean fullExecutionMode, boolean mergeEval) throws ValidationException, ErrorException
TestSupportServiceevaluateExpression in interface TestSupportServiceValidationExceptionErrorException@RightsAllowed(value="Testing:All") public EvaluationResultValue evaluateExpressionInEvaluationLevel(long modelInstanceId, java.lang.Long contextId, java.lang.String source, java.lang.String evaluationLevel, boolean mergeEvaluation) throws ValidationException, ErrorException
TestSupportServiceevaluateExpressionInEvaluationLevel in interface TestSupportServiceValidationExceptionErrorException@RightsAllowed(value="Testing:All") public EvaluationResultValue detacheModelInstance(long modelInstanceId, long detachingTaskId)
TestSupportServicedetacheModelInstance in interface TestSupportServicedetachingTaskId - the identifier of a task which detaches the model instance@RightsAllowed(value="Testing:All") public EvaluationResultValue attachModelInstance(byte[] serializedModelInstance)
TestSupportServiceattachModelInstance in interface TestSupportService@RightsAllowed(value="Testing:All") public EvaluationResultValue evaluateExpressionInEvaluationLevelDetached(byte[] serializedModelInstance, java.lang.Long contextId, java.lang.String source, java.lang.String evaluationLevel, boolean mergeEvaluation) throws ValidationException, ErrorException
TestSupportServiceevaluateExpressionInEvaluationLevelDetached in interface TestSupportServiceValidationExceptionErrorException@RightsAllowed(value="Testing:All") public EvaluationResultValue cleanEvaluationLevelData(long modelInstanceId, java.lang.String level)
TestSupportServicecleanEvaluationLevelData in interface TestSupportService@RightsAllowed(value="Testing:All") public EvaluationResultValue cleanEvaluationLevelDataDetached(byte[] serializedModelInstance, java.lang.String level)
TestSupportServicecleanEvaluationLevelDataDetached in interface TestSupportService@RightsAllowed(value="Testing:All") public EvaluationResultValue removeEvaluationLevelData(long modelInstanceId, java.lang.String level)
TestSupportServiceremoveEvaluationLevelData in interface TestSupportService@RightsAllowed(value="Testing:All") public EvaluationResultValue removeEvaluationLevelDataDetached(byte[] serializedModelInstance, java.lang.String level)
TestSupportServiceremoveEvaluationLevelDataDetached in interface TestSupportService@RightsAllowed(value="Testing:All") public EvaluationResultValue createContextInEvaluationLevelDetached(byte[] serializedModelInstance, java.lang.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 java.lang.Boolean isDumpModelInstanceOnException()
isDumpModelInstanceOnException in interface TestSupportService@RightsAllowed(value="Testing:All") public void setDumpModelInstanceOnException(boolean dumpModelInstanceOnException)
setDumpModelInstanceOnException in interface TestSupportService@RightsAllowed(value="Testing:All") public java.util.List<ProcessLog> findProcessLogsByModelInstanceId(long modelInstanceId)
TestSupportServiceProcessLogs by the model instance id.findProcessLogsByModelInstanceId in interface TestSupportServicemodelInstanceId - the identifier of the model instanceProcessLogs@RightsAllowed(value="Testing:All") public java.lang.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)
TestSupportServicesubmitTodo in interface TestSupportServicetodoId - 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,
java.lang.String escalationCode,
ObjectValue payloadDto)
throwEscalation in interface TestSupportServicepublic java.lang.Boolean isRunningOn(JEEServer server)
isRunningOn in interface TestSupportService@RightsAllowed(value="Testing:All") public ObjectValue getVariableValue(long modelInstanceId, long contextId, java.lang.String variableName)
getVariableValue in interface TestSupportService@RightsAllowed(value="Testing:All")
public void setVariableValue(long modelInstanceId,
long contextId,
java.lang.String variableName,
ObjectValue value)
setVariableValue in interface TestSupportServiceCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.