Modifier and Type | Method and Description |
---|---|
static ErrorException |
ErrorException.wrap(Exception e)
Wraps the given exception into a proper
ErrorException . |
static ErrorException |
ErrorException.wrap(Exception e,
String[] stackTraceInfo)
Wraps the given exception into a proper
ErrorException . |
static ErrorException |
ErrorException.wrap(Exception e,
String contextId,
String context)
Wraps the given exception into a proper
ErrorException . |
static ErrorException |
ErrorException.wrap(Exception e,
String contextId,
String context,
String[] stackTraceInfo)
Wraps the given exception into a proper
ErrorException . |
Modifier and Type | Method and Description |
---|---|
void |
LicenseService.uploadLicense(byte[] content) |
Constructor and Description |
---|
ErrorRuntimeException(ErrorException e)
Creates new instance.
|
Modifier and Type | Class and Description |
---|---|
class |
WrappingErrorException
Error exception used to wrap runtime exceptions to prevent rollback.
|
Modifier and Type | Method and Description |
---|---|
static ErrorException |
ProcessInterpreters.addContextAndWrap(Exception e,
String context)
Adds a process interpreter exception context to the exception.
|
Modifier and Type | Method and Description |
---|---|
void |
MigrationEngine.abortModelUpdate()
Aborts model update in any phase.
|
void |
MigrationService.abortModelUpdate(long modelInstanceId)
Aborts model update process for given model instance.
|
void |
MigrationEngine.checkPhases()
Checks if the model instance should move to a next phase.
|
void |
PlanHandler.checkState(ProcessingType processingType) |
void |
MaintainGoalHandler.checkState(ProcessingType processingType) |
void |
AchieveGoalHandler.checkState(ProcessingType processingType) |
Serializable |
AsynchronousExecutionTask.collectDataForExecution(TaskContext context)
Collects data from task context for asynchronous execution.
|
abstract Serializable |
AbstractAsynchronousExecutionTask.collectDataForExecution(TaskContext context) |
void |
MigrationService.continuePostUpdate(long modelInstanceId)
Continues model update of the specified model instance by the post processing phase.
|
void |
MigrationService.continueTransform(long modelInstanceId)
Continues model update of the specified model instance by the transformation phase.
|
Decimal |
SharedRecordTypeFactory.count(ExecutionContext context,
ClosureHolder closureWithQuery,
String iterator,
Expression whereExpression)
Dynamically creates query and executes it.
|
Decimal |
SharedRecordTypeFactory.count(ExecutionContext context,
Object querySpecification,
Collection<?> parameters)
Executes the given HQL query specification and returns the number of all objects in the result (executes count query).
|
Decimal |
SharedRecordTypeFactory.count(ExecutionContext context,
com.whitestein.lsps.model.sharedrecord.SharedRecordType recordType,
String iterator,
Expression whereExpression)
Dynamically creates query and executes it.
|
void |
PlanHandler.deactivate()
Deactivates (puts into
PlanState.INACTIVE state) the plan if running. |
void |
EscalatableTask.escalate(TaskContext context,
String reason)
Task itself defines what is executed during escalation.
|
EvaluationResult |
ModelProviderService.evaluateExpression(long modelInstanceId,
Long contextId,
String source,
boolean fullExecutionModel,
boolean mergeEvaluation)
Parses the string to the expression and than evaluates it in the top context of the model
instance.
|
EvaluationResult |
ModelProviderService.evaluateExpression(long modelInstanceId,
Long contextId,
String source,
String evaluationLevel,
boolean mergeEvaluation)
Parses the string to the expression and than evaluates it in the top context of the model
instance.
|
EvaluationResultValue |
ExpressionEvaluationService.evaluateExpression(long modelInstanceId,
String expression,
boolean fullExecutionMode)
Parses the string to the expression and than evaluates it in the top context of the model
instance.
|
EvaluationResult |
ModelProviderService.evaluateExpression(long modelInstanceId,
String source,
boolean fullExecutionModel)
Parses the string to the expression and than evaluates it in the top context of the model
instance.
|
EvaluationResultValue |
ExpressionEvaluationServiceBean.evaluateExpression(long modelInstanceId,
String source,
boolean fullExecutionMode) |
EvaluationResult |
ModelProviderService.evaluateExpression(long modelInstanceId,
String source,
boolean fullExecutionModel,
boolean mergeEvaluation)
Parses the string to the expression and than evaluates it in the top context of the model
instance.
|
EvaluationResult |
ModelProviderService.evaluateExpression(long modelInstanceId,
String source,
String evaluationLevel,
boolean mergeEvaluation)
Parses the string to the expression and than evaluates it in the top context of the model
instance.
|
String |
ExpressionEvaluationService.evaluateExpressionAsString(long modelInstanceId,
String expression,
boolean fullExecutionMode)
Evaluates an expression and returns its string representation
|
String |
ExpressionEvaluationServiceBean.evaluateExpressionAsString(long modelInstanceId,
String source,
boolean fullExecutionMode) |
String |
ExpressionEvaluationService.evaluateExpressionInContextAsString(long modelInstanceId,
Long contextId,
String expression,
boolean fullExecutionMode)
Evaluates an expression in a specific context and returns its string representation
|
String |
ExpressionEvaluationServiceBean.evaluateExpressionInContextAsString(long modelInstanceId,
Long contextId,
String source,
boolean fullExecutionMode) |
EvaluationResultValue |
ExpressionEvaluationService.evaluateExpressionInModel(long modelId,
String expression,
boolean fullExecutionMode)
Parses the string to the expression and than evaluates it in the empty model context.
|
EvaluationResult |
ModelProviderService.evaluateExpressionInModel(long modelId,
String source,
boolean fullExecutionModel)
Parses the string to the expression and than evaluates it in the empty model context
|
EvaluationResultValue |
ExpressionEvaluationServiceBean.evaluateExpressionInModel(long modelId,
String expression,
boolean fullExecutionMode) |
List<EvaluationResultValue> |
ExpressionEvaluationService.evaluateExpressions(long modelInstanceId,
List<String> expressions,
boolean fullExecutionMode)
Parses the string sources of expressions in the list evaluates them end returns list of
results.
|
List<EvaluationResult> |
ModelProviderService.evaluateExpressions(long modelInstanceId,
List<String> sources,
boolean fullExecutionModel)
Parses the string sources of expressions in the list evaluates them end returns list of
results.
|
List<EvaluationResultValue> |
ExpressionEvaluationServiceBean.evaluateExpressions(long modelInstanceId,
List<String> sources,
boolean fullExecutionMode) |
List<String> |
ExpressionEvaluationService.evaluateExpressionsAsString(long modelInstanceId,
List<String> expressions,
boolean fullExecutionMode)
Evaluates list of expressions and returns the string representations.
|
List<String> |
ExpressionEvaluationServiceBean.evaluateExpressionsAsString(long modelInstanceId,
List<String> sources,
boolean fullExecutionMode) |
List<EvaluationResultValue> |
ExpressionEvaluationService.evaluateExpressionsInModel(long modelId,
List<String> expressions,
boolean fullExecutionMode)
Parses the string sources of expressions in the list evaluates them end returns list of
results.
|
List<EvaluationResult> |
ModelProviderService.evaluateExpressionsInModel(long modelId,
List<String> sources,
boolean fullExecutionModel)
Parses the string sources of expressions in the list evaluates them end returns list of
results.
|
List<EvaluationResultValue> |
ExpressionEvaluationServiceBean.evaluateExpressionsInModel(long modelId,
List<String> expressions,
boolean fullExecutionMode) |
protected void |
TimerStartInterpreter.execute() |
protected abstract void |
TimerEventInterpreter.execute()
Executes this interpreter action.
|
protected void |
ConditionStartInterpreter.execute() |
protected abstract void |
ConditionEventInterpreter.execute()
Executes this interpreter action.
|
protected void |
InlineStartEventInterpreter.execute(Exception e,
Map<ReferenceHolder,Object> signalsToSet) |
boolean |
AsynchronousExecutionTask.executeAsynchronously(TaskContext context)
Determines, based on current task context (params, metadata, etc.) if the exeuction
should be done asynchronously.
|
abstract boolean |
AbstractAsynchronousExecutionTask.executeAsynchronously(TaskContext context) |
Date |
EscalatableTask.getEscalationDate(TaskContext context)
Returns escalation timeout
|
protected ExecutionContext |
InlineStartEventInterpreter.getEventContext() |
ExecutableTask |
ProcessUtils.getExecutableTask(Task task)
Returns an instance of executable task for this task.
|
ExecutableTask |
ProcessUtils.getExecutableTask(com.whitestein.lsps.model.TaskInfo taskInfo)
Returns an instance of executable task for this task.
|
ExecutionTrace |
ProcessAgentImpl.handleCommUnit(CommunicationUnit communicationUnit) |
ExecutionTrace |
ProcessAgent.handleCommUnit(CommunicationUnit communicationUnit)
Handles a communication unit.
|
ExecutionTrace |
ProcessAgentImpl.handleCommUnitInNewTransaction(CommunicationUnit communicationUnit) |
ExecutionTrace |
ProcessAgent.handleCommUnitInNewTransaction(CommunicationUnit communicationUnit)
Handles a communication unit in a new transaction.
|
Decimal |
SharedRecordTypeFactory.hqlQueryCount(ExecutionContext context,
com.whitestein.lsps.model.sharedrecord.HQLQuerySpecification querySpecification,
Collection<?> parameters)
Executes the given HQL count query.
|
ListHolder |
SharedRecordTypeFactory.hqlQueryList(ExecutionContext context,
com.whitestein.lsps.model.sharedrecord.HQLQuerySpecification querySpecification,
Collection<?> parameters)
Executes the given HQL query specification and returns the result.
|
Object |
SharedRecordTypeFactory.hqlQuerySingle(ExecutionContext context,
com.whitestein.lsps.model.sharedrecord.HQLQuerySpecification querySpecification,
Collection<?> parameters)
Executes the given HQL query specification and returns the first result.
|
void |
TimerEventInterpreter.init(boolean isStartedByInlinedEvent,
Exception startedByException) |
void |
ProcessInterpreter.init(boolean isStartedByInlinedEvent,
Exception startedByException)
Initializes the process state.
|
void |
ModuleInterpreter.init(boolean isStartedByInlinedEvent,
Exception startedByException) |
void |
InlineStartTimerInterpreter.init(boolean isStartedByInlinedEvent,
Exception startedByException) |
void |
GOInterpreter.init(boolean isStartedByInlinedEvent,
Exception startedByException) |
void |
BPMNInterpreter.init(boolean isStartedByInlinedEvent,
Exception startedByException) |
void |
VariableInitializator.init(Collection<ModuleInstance> moduleInstances)
Initializes module variables in the given set of module instances in the reverse order.
|
void |
VariableInitializator.init(Context context,
boolean variables,
String origin)
Initializes variables with their initial values in given context.
|
void |
VariableInitializator.init(ModelInstance modelInstance)
Initializes variables.
|
void |
ModuleInterpreter.init(com.whitestein.lsps.model.ProcessDescription processDescription)
Initializes a process description.
|
static void |
ProcessInterpreters.init(ProcessInstance processInstance,
com.whitestein.lsps.model.ProcessDescription desc,
ProcessInterpreterContext pic,
boolean isStartedByInlinedEvent,
Exception startedByException)
Initializes the process state.
|
static void |
ProcessInterpreters.init(ProcessInstance processInstance,
ProcessInterpreterContext pic,
boolean isStartedByInlinedEvent,
Exception startedByException)
Initializes the process state.
|
protected void |
InlineStartTimerInterpreter.initInlined() |
protected void |
InlineStartSignalInterpreter.initInlined() |
void |
InlineStartEscalationInterpreter.initInlined()
Initialize in in-lined process.
|
protected void |
InlineStartConditionInterpreter.initInlined() |
void |
InlineStartErrorInterpreter.initInlined(Exception startedByException)
Initialize in in-lined process.
|
boolean |
InlineStartErrorInterpreter.isCatching(Exception e)
Returns true if error is caught by the event.
|
void |
ProcessService.notifyModelInstance(long modelInstanceId,
String reason,
boolean synchronously)
Notifies a model instance.
|
void |
ProcessServiceBean.notifyModelInstance(long modelInstanceId,
String reason,
boolean synchronously) |
void |
ProcessService.notifyTask(long modelInstanceId,
long taskId,
String reason,
boolean synchronously)
Notifies a task in model instance.
|
void |
ProcessServiceBean.notifyTask(long modelInstanceId,
long taskId,
String reason,
boolean synchronously) |
boolean |
PlanHandler.preconditionSatisfied()
Returns true if the plan precondition is satisfied.
|
void |
TimerEventInterpreter.proceed(ProcessingType processingType) |
void |
SignalStartInterpreter.proceed(ProcessingType processingType) |
void |
SignalIntermediateInterpreter.proceed(ProcessingType processingType) |
void |
ProcessInterpreter.proceed(ProcessingType processingType)
Moves the process state by one step forward.
|
void |
ModuleInterpreter.proceed(ProcessingType processingType) |
void |
InlineStartTimerInterpreter.proceed(ProcessingType processingType) |
void |
InlineStartSignalInterpreter.proceed(ProcessingType processingType) |
void |
InlineStartEscalationInterpreter.proceed(ProcessingType processingType) |
void |
InlineStartConditionInterpreter.proceed(ProcessingType processingType) |
void |
GOInterpreter.proceed(ProcessingType processingType) |
void |
ConditionEventInterpreter.proceed(ProcessingType processingType) |
void |
BPMNInterpreter.proceed(ProcessingType processingType) |
void |
InlineStartErrorInterpreter.proceed(ProcessingType processingType,
Exception e) |
static void |
ProcessInterpreters.proceed(ProcessInstance processInstance,
com.whitestein.lsps.model.ProcessDescription desc,
ProcessInterpreterContext pic,
ProcessingType processingType)
Moves the process state by one step forward.
|
static void |
ProcessInterpreters.proceed(ProcessInstance processInstance,
ProcessInterpreterContext pic,
ProcessingType processingType)
Moves the process state by one step forward.
|
void |
AsynchronousExecutionTask.processExecutionResult(TaskContext context,
Serializable result)
This method is called after the asynchronous execution has been done
|
abstract void |
AbstractAsynchronousExecutionTask.processExecutionResult(TaskContext context,
Serializable result) |
ExecutableTask.Result |
ExecutableTask.processInput(TaskContext context,
Object input)
The method for processing the model instance input.
|
ExecutableTask.Result |
TaskProxy.processInput(TaskContext context,
Object input) |
ExecutableTask.Result |
AbstractAsynchronousExecutionTask.processInput(TaskContext context,
Object input) |
ListHolder |
SharedRecordTypeFactory.queryAuditList(ExecutionContext context,
com.whitestein.lsps.model.sharedrecord.SharedRecordType recordType,
String iterator,
Expression whereExpression,
List<com.whitestein.lsps.model.sharedrecord.QueryOrderingItem> orderings,
Integer index,
Integer count,
Long revision,
List<AuditCriteria> auditCriteria)
Dynamically creates query and executes it.
|
ListHolder |
SharedRecordTypeFactory.queryList(ExecutionContext context,
ClosureHolder closureWithQuery,
String iterator,
Expression whereExpression,
List<com.whitestein.lsps.model.sharedrecord.QueryOrderingItem> orderings,
Integer index,
Integer count)
Dynamically creates query and executes it.
|
ListHolder |
SharedRecordTypeFactory.queryList(ExecutionContext context,
Object querySpecification,
Collection<?> parameters)
Executes the given HQL query specification and returns the result.
|
ListHolder |
NativeQueryService.queryList(ExecutionContext context,
Object querySpecification,
Collection<?> parameters)
Executes the given query and returns a list of results.
|
ListHolder |
NativeQueryServiceBean.queryList(ExecutionContext context,
Object querySpecification,
Collection<?> parameters) |
ListHolder |
SharedRecordTypeFactory.queryList(ExecutionContext context,
com.whitestein.lsps.model.sharedrecord.SharedRecordType recordType,
String iterator,
Expression whereExpression,
List<com.whitestein.lsps.model.sharedrecord.QueryOrderingItem> orderings,
Integer index,
Integer count)
Dynamically creates query and executes it.
|
Object |
SharedRecordTypeFactory.querySingle(ExecutionContext context,
Object querySpecification,
Collection<?> parameters)
Executes the given HQL query specification and returns the first result.
|
Object |
NativeQueryService.querySingle(ExecutionContext context,
Object querySpecification,
Collection<?> parameters)
Executes the given query and returns a result.
|
Object |
NativeQueryServiceBean.querySingle(ExecutionContext context,
Object querySpecification,
Collection<?> parameters) |
void |
ProcessService.removeSignalFromModelInstance(long modelInstanceId,
long signalId,
boolean synchronously)
Removes a signal from a running model instance.
|
void |
ProcessServiceBean.removeSignalFromModelInstance(long modelInstanceId,
long id,
boolean synchronously) |
void |
ProcessService.restartModelInstances(Collection<Long> modelInstanceIds,
long newModuleId)
Restarts model instances with new model.
|
void |
ProcessServiceBean.restartModelInstances(Collection<Long> modelInstanceIds,
long newModuleId) |
void |
ProcessService.resumeModelInstance(long modelInstanceId,
boolean synchronously)
Resumes model instance execution.
|
void |
ProcessServiceBean.resumeModelInstance(long modelInstanceId,
boolean synchronously) |
void |
PlanHandler.run()
Starts the plan.
|
ExecutionTrace |
ProcessService.sendSignalToModelInstance(long modelInstanceId,
ObjectValue signal,
boolean synchronously)
Sends a signal to a running model instance.
|
ExecutionTrace |
ProcessServiceBean.sendSignalToModelInstance(long modelInstanceId,
ObjectValue signal,
boolean synchronously) |
ExecutionTrace |
CommunicationService.sendSync(CommunicationUnit communicationUnit)
Sends a communication unit synchronously.
|
ExecutionTrace |
CommunicationServiceBean.sendSync(CommunicationUnit communicationUnit) |
ExecutableTask.Result |
ExecutableTask.start(TaskContext context)
An initial method that is called when the task execution starts.
|
ExecutableTask.Result |
TaskProxy.start(TaskContext context) |
ExecutableTask.Result |
AbstractAsynchronousExecutionTask.start(TaskContext context) |
ExecutionTrace |
ProcessService.startInterpretModelInstance(long modelInstanceId,
boolean synchronously)
Starts the interpretation of an existing model instance for given model instance id.
|
ExecutionTrace |
ProcessServiceBean.startInterpretModelInstance(long modelInstanceId,
boolean synchronously) |
List<Long> |
ProcessService.startInterpretModelInstanceSimple(long modelInstanceId,
boolean synchronously)
Starts the interpretation of an existing model instance for given model instance id.
|
List<Long> |
ProcessServiceBean.startInterpretModelInstanceSimple(long modelInstanceId,
boolean synchronously) |
void |
MigrationEngine.startPostprocessing()
Starts migration of model instance state by executing post-processing model.
|
void |
MigrationEngine.startPreprocessing()
Starts migration of model instance state by executing pre-processing model.
|
void |
ProcessService.suspendModelInstance(long modelInstanceId,
boolean synchronously)
Suspends model instance execution.
|
void |
ProcessServiceBean.suspendModelInstance(long modelInstanceId,
boolean synchronously) |
static void |
ProcessInterpreters.terminate(ProcessInstance processInstance,
com.whitestein.lsps.model.ProcessDescription desc,
ProcessInterpreterContext pic,
TerminationReason reason)
Terminates the process with the given reason.
|
static void |
ProcessInterpreters.terminate(ProcessInstance processInstance,
ProcessInterpreterContext pic,
TerminationReason reason)
Terminates the process with the given reason.
|
void |
ExecutableTask.terminate(TaskContext context,
TerminationReason reason)
Called when this task is to be terminated.
|
void |
TaskProxy.terminate(TaskContext context,
TerminationReason reason) |
void |
ProcessInterpreter.terminate(TerminationReason reason)
Terminates the process with the given reason.
|
void |
ModuleInterpreter.terminate(TerminationReason reason) |
void |
GOInterpreter.terminate(TerminationReason reason) |
void |
BPMNInterpreter.terminate(TerminationReason reason) |
void |
MigrationEngine.transform()
Transforms state according to the migration configuration
|
void |
ProcessService.updateContextVariable(long modelInstanceId,
long contextId,
String variable,
ObjectValue value,
boolean synchronously)
Updates the value of a given variable.
|
void |
ProcessServiceBean.updateContextVariable(long modelInstanceId,
long contextId,
String variable,
ObjectValue value,
boolean synchronously) |
void |
ProcessService.updateGoalState(long modelInstanceId,
long processInstanceId,
String goalName,
boolean reactivate,
boolean synchronously)
Changes the state of the given goal.
|
void |
ProcessServiceBean.updateGoalState(long modelInstanceId,
long processInstanceId,
String goalName,
boolean reactivate,
boolean synchronously) |
void |
MigrationService.updateModel(long modelInstanceId,
long migrationId)
Changes the model for a running model instance.
|
void |
ProcessService.updateRecordField(long modelInstanceId,
String recordType,
String recordId,
String field,
ObjectValue value,
boolean synchronously)
Updates the value of a given record field.
|
void |
ProcessServiceBean.updateRecordField(long modelInstanceId,
String recordType,
String recordId,
String field,
ObjectValue value,
boolean synchronously) |
Modifier and Type | Method and Description |
---|---|
void |
WsServiceLocal.sendRequest(long wsRequestHandlerId,
String request,
StringProperties requestHeaders)
Sends web service request.
|
Modifier and Type | Method and Description |
---|---|
ListHolder |
RecordProxySet.createLazySpreadingProxies(ExecutionContext ctx,
Object... records)
Creates change proxies on record holders.
|
ListHolder |
RecordProxySet.createLazySpreadingProxies(ExecutionContext ctx,
RecordProxySetHolder proxySet,
Object... records)
Creates change proxies on record holders.
|
RecordHolder |
RecordProxySet.createLazySpreadingProxy(ExecutionContext ctx,
Object record)
Creates change proxy on record holder.
|
RecordHolder |
RecordProxySet.createLazySpreadingProxy(ExecutionContext ctx,
RecordProxySetHolder proxySet,
Object record)
Creates change proxy on record holder.
|
CollectionHolder |
RecordProxySet.createProxies(ExecutionContext ctx,
CollectionHolder collection,
ListHolder properties)
Creates change proxy on each record holder in the collection.
|
CollectionHolder |
RecordProxySet.createProxies(ExecutionContext ctx,
CollectionHolder collection,
Property... properties)
Creates change proxy on each record holder in the collection.
|
CollectionHolder |
RecordProxySet.createProxies(ExecutionContext ctx,
RecordProxySetHolder proxySet,
CollectionHolder collection,
Property... properties)
Creates change proxy on each record holder in the collection.
|
RecordHolder |
RecordProxySet.createProxy(ExecutionContext ctx,
Object record,
ListHolder properties)
Creates change proxy on this record holder.
|
RecordHolder |
RecordProxySet.createProxy(ExecutionContext ctx,
Object record,
Property... properties)
Creates change proxy on this record holder.
|
RecordHolder |
RecordProxySet.createProxy(ExecutionContext ctx,
RecordProxySetHolder proxySet,
RecordHolder record,
Property... properties)
Creates change proxy on this record holder.
|
RecordHolder |
RecordProxySet.createProxy(ExecutionContext ctx,
RecordProxySetHolder proxySet,
Type type)
Creates new change proxy of the record type.
|
RecordHolder |
RecordProxySet.createProxy(ExecutionContext ctx,
Type type)
Creates new change proxy of the record type.
|
void |
RecordProxySet.createProxyOfProperties(ExecutionContext ctx,
RecordHolder record,
Property... properties)
Creates proxies of properties of the record.
|
void |
RecordProxySet.createProxyOfPropertiesEmptyToAll(ExecutionContext ctx,
RecordProxySetHolder proxySet,
RecordHolder record,
Property... properties)
Creates proxies of properties of the record.
|
Object |
RecordProxySetNamespace.executeJavaOperation(String className,
String methodName,
Class<?>[] argClasses,
Object[] evaluatedArgs,
InterpreterStackTrace stackTrace) |
Object |
NoBaseContextNamespace.executeJavaOperation(String className,
String methodName,
Class<?>[] argClasses,
Object[] evaluatedArgs,
InterpreterStackTrace stackTrace) |
Object |
JavaOperationExecutorImpl.executeJavaOperation(String className,
String methodName,
Class<?>[] argClasses,
Object[] evaluatedArgs,
InterpreterStackTrace stackTrace) |
Object |
AbstractContextNamespace.executeJavaOperation(String className,
String methodName,
Class<?>[] argClasses,
Object[] evaluatedArgs,
InterpreterStackTrace stackTrace) |
Object |
RecordProxySetHolder.executeMethod(Namespace parentNamespace,
FunctionSignature signature,
Object... arguments) |
Object |
RecordHolderBase.executeMethod(Namespace parentNamespace,
FunctionSignature signature,
Object... arguments) |
ListHolder |
RecordProxySet.merge(ExecutionContext ctx,
Boolean checkConflicts)
Merges all proxies for the proxy set to their proxied records.
|
ListHolder |
RecordProxySet.merge(ExecutionContext ctx,
Boolean checkConflicts,
RecordProxySetHolder proxySet)
Merges all proxies for the proxy set to their proxied records.
|
Modifier and Type | Method and Description |
---|---|
Object |
CompiledClosureHolder.execute(InterpreterConfiguration configuration,
InterpreterStackTrace stackTrace,
Object... arguments) |
Object |
CompiledClosureHolder.execute(InterpreterConfiguration configuration,
Object... arguments) |
Object |
CompiledClosureHolder.execute(InterpreterStackTrace stackTrace,
Object... arguments) |
Object |
CompiledExpression.execute(Namespace namespace,
InterpreterStackTrace stackTrace,
List<Object> arguments) |
Object |
CompiledClosureHolder.execute(Object... arguments) |
Object |
CompiledClosureHolder.executeInNamespace(Namespace namespace,
InterpreterStackTrace stackTrace,
Object... arguments) |
abstract Object |
CompiledClosureHolder.executeInNamespaceInternal(Namespace namespace,
Object[] arguments)
This method should contain generated java implementation of the closure.
|
abstract Object |
CompiledClosureHolder.executeInternal(Object[] arguments)
This method should contain generated java implementation of the closure.
|
Object |
CompiledRecord.executeMethod(Namespace parentNamespace,
FunctionSignature signature,
Object... arguments) |
Object |
CompiledNamespace.get(CollectionHolder collection,
Decimal index) |
Object |
CompiledNamespace.get(MapHolder map,
Object index) |
protected static Type |
CompiledNamespace.getType(CompiledNamespace compiledNamespace,
String typeString) |
protected static Type |
CompiledNamespace.getType(Namespace namespace,
String typeString) |
protected Type |
CompiledNamespace.getType(String typeString) |
Boolean |
CompiledNamespace.in(Object item,
CollectionHolder collection) |
Boolean |
CompiledNamespace.like(String str,
String pattern) |
ListHolder |
CompiledRecordProxySetHolder.merge(boolean checkConflicts) |
Modifier and Type | Method and Description |
---|---|
boolean |
QueryExecutor.contains(com.whitestein.lsps.model.sharedrecord.QuerySpecification spec,
Collection<?> parameters,
Object entity)
Returns true if the given query result list contains the given entity.
|
Decimal |
QueryExecutor.count(ClosureHolder closureWithQuery,
String recordIterator,
Expression additionalWhereExp)
Dynamically creates query and executes it.
|
Decimal |
SharedRecordTypeFactoryImpl.count(ExecutionContext context,
ClosureHolder closureWithQuery,
String iterator,
Expression whereExpression) |
Decimal |
SharedRecordTypeFactoryImpl.count(ExecutionContext context,
Object querySpecification,
Collection<?> parameters) |
Decimal |
SharedRecordTypeFactoryImpl.count(ExecutionContext context,
com.whitestein.lsps.model.sharedrecord.SharedRecordType recordType,
String iterator,
Expression whereExpression) |
Decimal |
QueryExecutor.count(com.whitestein.lsps.model.sharedrecord.HQLQuerySpecification spec,
Collection<?> parameters)
Executes the count query.
|
protected Decimal |
QueryExecutor.count(List<com.whitestein.lsps.engine.sharedrecord.QueryExecutor.WhereExpression> whereExpressions)
Dynamically creates query and executes it.
|
Decimal |
QueryExecutor.count(com.whitestein.lsps.model.sharedrecord.QuerySpecification spec,
Collection<?> parameters)
Executes the given query and returns a list of results.
|
Decimal |
QueryExecutor.count(com.whitestein.lsps.model.sharedrecord.SharedRecordType type,
String recordIterator,
Expression whereExp)
Dynamically creates query and executes it.
|
Decimal |
QueryExecutor.countAll(RecordType recordType)
Runs a count query for records of a given type.
|
List<com.whitestein.lsps.model.sharedrecord.ExternalRecordEntity> |
QueryExecutor.getAll(RecordType recordType)
Returns all the entities for the given type.
|
QueryResult<com.whitestein.lsps.model.sharedrecord.ExternalRecordEntity> |
QueryExecutor.getAll(RecordType recordType,
OrderingAndPagingCriteria pagingCriteria)
Returns all the entities for the given type.
|
protected List<Object> |
QueryExecutor.getAuditResultList(List<com.whitestein.lsps.engine.sharedrecord.QueryExecutor.WhereExpression> whereExpressions,
List<com.whitestein.lsps.model.sharedrecord.QueryOrderingItem> orderings,
Integer index,
Integer count,
Long revision,
List<AuditCriteria> auditCriteria)
Dynamically creates query and executes it.
|
List<Object> |
QueryExecutor.getAuditResultList(com.whitestein.lsps.model.sharedrecord.SharedRecordType type,
String recordIterator,
Expression whereExp,
List<com.whitestein.lsps.model.sharedrecord.QueryOrderingItem> orderings,
Integer index,
Integer count,
Long revision,
List<AuditCriteria> auditCriteria)
Dynamically creates query and executes it.
|
protected List<Object> |
QueryExecutor.getAuditResultListInternal(List<com.whitestein.lsps.engine.sharedrecord.QueryExecutor.WhereExpression> whereExpressions,
List<com.whitestein.lsps.model.sharedrecord.QueryOrderingItem> orderings,
Integer index,
Integer count,
Long revision,
List<AuditCriteria> auditCriteria) |
List<Object> |
QueryExecutor.getAuditRevisions(Object id,
com.whitestein.lsps.model.sharedrecord.SharedRecordType sharedRecordType,
Date from,
Date to)
Returns audit revisions.
|
List<Object> |
QueryExecutor.getResultList(ClosureHolder closureWithQuery,
String recordIterator,
Expression additionalWhereExp,
List<com.whitestein.lsps.model.sharedrecord.QueryOrderingItem> orderings,
Integer index,
Integer count)
Dynamically creates query and executes it.
|
List<com.whitestein.lsps.model.sharedrecord.ExternalRecordEntity> |
QueryExecutor.getResultList(com.whitestein.lsps.model.sharedrecord.HQLQuerySpecification spec,
Collection<?> parameters)
Executes the query and returns a result list.
|
protected List<Object> |
QueryExecutor.getResultList(List<com.whitestein.lsps.engine.sharedrecord.QueryExecutor.WhereExpression> whereExpressions,
com.whitestein.lsps.engine.sharedrecord.QueryExecutor.Orderings orderings,
Integer index,
Integer count)
Dynamically creates query and executes it.
|
List<Object> |
NativeQueryExecutor.getResultList(com.whitestein.lsps.model.sharedrecord.NativeQuerySpecification spec,
Collection<?> parameters)
Executes the given query and returns a list of results.
|
List<com.whitestein.lsps.model.sharedrecord.ExternalRecordEntity> |
QueryExecutor.getResultList(com.whitestein.lsps.model.sharedrecord.QuerySpecification spec,
Collection<?> parameters)
Executes the given query and returns a list of results.
|
QueryResult<com.whitestein.lsps.model.sharedrecord.ExternalRecordEntity> |
QueryExecutor.getResultList(com.whitestein.lsps.model.sharedrecord.QuerySpecification spec,
Collection<?> parameters,
OrderingAndPagingCriteria pagingCriteria)
Executes the given query and returns a list of results.
|
List<Object> |
QueryExecutor.getResultList(com.whitestein.lsps.model.sharedrecord.SharedRecordType type,
String recordIterator,
Expression whereExp,
List<com.whitestein.lsps.model.sharedrecord.QueryOrderingItem> orderings,
Integer index,
Integer count)
Dynamically creates query and executes it.
|
com.whitestein.lsps.model.sharedrecord.ExternalRecordEntity |
QueryExecutor.getSingleResult(com.whitestein.lsps.model.sharedrecord.HQLQuerySpecification spec,
Collection<?> parameters)
Executes the query and returns a unique result.
|
Object |
NativeQueryExecutor.getSingleResult(com.whitestein.lsps.model.sharedrecord.NativeQuerySpecification spec,
Collection<?> parameters)
Executes the given query and returns unique results.
|
com.whitestein.lsps.model.sharedrecord.ExternalRecordEntity |
QueryExecutor.getSingleResult(com.whitestein.lsps.model.sharedrecord.QuerySpecification spec,
Collection<?> parameters)
Executes the given query and returns only the first result.
|
Decimal |
SharedRecordTypeFactoryImpl.hqlQueryCount(ExecutionContext context,
com.whitestein.lsps.model.sharedrecord.HQLQuerySpecification querySpecification,
Collection<?> parameters) |
ListHolder |
SharedRecordTypeFactoryImpl.hqlQueryList(ExecutionContext context,
com.whitestein.lsps.model.sharedrecord.HQLQuerySpecification querySpecification,
Collection<?> parameters) |
Object |
SharedRecordTypeFactoryImpl.hqlQuerySingle(ExecutionContext context,
com.whitestein.lsps.model.sharedrecord.HQLQuerySpecification querySpecification,
Collection<?> parameters) |
ListHolder |
SharedRecordTypeFactoryImpl.queryAuditList(ExecutionContext context,
com.whitestein.lsps.model.sharedrecord.SharedRecordType recordType,
String recordIterator,
Expression whereExpression,
List<com.whitestein.lsps.model.sharedrecord.QueryOrderingItem> orderings,
Integer index,
Integer count,
Long revision,
List<AuditCriteria> auditCriteria) |
ListHolder |
SharedRecordTypeFactoryImpl.queryList(ExecutionContext context,
ClosureHolder closureWithQuery,
String recordIterator,
Expression whereExpression,
List<com.whitestein.lsps.model.sharedrecord.QueryOrderingItem> orderings,
Integer index,
Integer count) |
ListHolder |
SharedRecordTypeFactoryImpl.queryList(ExecutionContext context,
Object querySpecification,
Collection<?> parameters) |
ListHolder |
SharedRecordTypeFactoryImpl.queryList(ExecutionContext context,
com.whitestein.lsps.model.sharedrecord.SharedRecordType recordType,
String recordIterator,
Expression whereExpression,
List<com.whitestein.lsps.model.sharedrecord.QueryOrderingItem> orderings,
Integer index,
Integer count) |
Object |
SharedRecordTypeFactoryImpl.querySingle(ExecutionContext context,
Object querySpecification,
Collection<?> parameters) |
Modifier and Type | Method and Description |
---|---|
protected Object |
RecordValidator.executeConstraint(com.whitestein.lsps.model.validation.ConstraintModel constraint,
RecordHolder record,
MapHolder validationContext,
CollectionHolder tags)
Executes a constraint type associated with a given constraint.
|
List<RecordHolder> |
RecordValidator.validate(RecordHolder record,
Property property,
CollectionHolder tags,
MapHolder context)
Validates a given record.
|
Collection<RecordHolder> |
RecordValidator.validateConstraint(com.whitestein.lsps.model.validation.ConstraintModel constraint,
RecordHolder record,
MapHolder validationContext,
CollectionHolder tags)
Validates a given record against a given constraint.
|
Modifier and Type | Method and Description |
---|---|
RecordHolder |
EnversFunctionsImpl.getCurrentRevision(ExecutionContext ctx,
Type revisionEntityType,
Boolean persist) |
RecordHolder |
EnversFunctions.getCurrentRevision(ExecutionContext ctx,
Type revisionEntityType,
Boolean persist)
Returns current revision data.
|
Modifier and Type | Method and Description |
---|---|
void |
TodoServiceBean.allocateTodo(long todoId,
String personId) |
void |
TodoService.escalateTodo(long todoId,
String reason)
Escalates to-do.
|
void |
TodoServiceBean.escalateTodo(long todoId,
String reason) |
List<DocumentInfo> |
GenericDocumentService.getAllDocuments()
Returns all generic documents.
|
List<DocumentInfo> |
GenericDocumentServiceBean.getAllDocuments() |
List<DocumentInfo> |
GenericDocumentService.getDocuments(DocumentParameters parameters)
Returns all generic documents for the parameters.
|
List<DocumentInfo> |
GenericDocumentServiceBean.getDocuments(DocumentParameters parameters) |
List<DocumentInfo> |
GenericDocumentService.getNonParametricDocuments()
Returns generic documents with no parameters only.
|
List<DocumentInfo> |
GenericDocumentServiceBean.getNonParametricDocuments() |
Decimal |
DynamicQueriesBean.queryRecordCount(ExecutionContext ctx,
ClosureHolder query,
String iterator,
String whereExpr) |
ListHolder |
DynamicQueriesBean.queryRecordList(ExecutionContext ctx,
ClosureHolder query,
Decimal startIndex,
Decimal count,
String iterator,
String whereExpr,
List<com.whitestein.lsps.model.sharedrecord.QueryOrderingItem> orderings) |
TodoList |
TodoService.sendSignalToModelInstance(long modelInstanceId,
ObjectValue signal)
Sends a signal to the process and returns next to-do group.
|
TodoList |
TodoServiceBean.sendSignalToModelInstance(long modelInstanceId,
ObjectValue signal) |
TodoList |
TodoService.sendSignalToModelInstanceInNewTransaction(long modelInstanceId,
ObjectValue signal)
Sends a signal to the process and returns next to-do group.
|
TodoList |
TodoServiceBean.sendSignalToModelInstanceInNewTransaction(long modelInstanceId,
ObjectValue signal) |
TodoList |
TodoService.sendSignalToModelInstanceWithDeadlockRetry(long modelInstanceId,
ObjectValue signal)
Sends a signal to the process and returns next to-do group.
|
TodoList |
TodoServiceBean.sendSignalToModelInstanceWithDeadlockRetry(long modelInstanceId,
ObjectValue signal) |
Decimal |
DynamicQueriesBean.sharedRecordCount(ExecutionContext ctx,
Type type,
String iterator,
String whereExpr) |
ListHolder |
DynamicQueriesBean.sharedRecordList(ExecutionContext ctx,
Type type,
Decimal startIndex,
Decimal count,
String iterator,
String whereExpr,
List<com.whitestein.lsps.model.sharedrecord.QueryOrderingItem> orderings) |
TodoList |
TodoService.startInterpretModelInstance(long modelInstanceId)
Starts the interpretation of an existing process for given process ID.
|
TodoList |
TodoServiceBean.startInterpretModelInstance(long modelInstanceId) |
void |
HumanActionsService.startInterpretModelInstance(long modelInstanceId,
boolean synchronously)
Starts the interpretation of an existing model instance for given model instance id.
|
void |
HumanActionsServiceBean.startInterpretModelInstance(long modelInstanceId,
boolean synchronously) |
TodoList |
TodoService.startInterpretModelInstanceInNewTransaction(long modelInstanceId)
Starts the interpretation of an existing process for given process ID.
|
TodoList |
TodoServiceBean.startInterpretModelInstanceInNewTransaction(long modelInstanceId) |
TodoList |
TodoService.startInterpretModelInstanceWithDeadlockRetry(long modelInstanceId)
Starts the interpretation of an existing process for given process ID.
|
ExecutionTrace |
TodoServiceBean.submit(long todoId,
ModelInstance detachedModelInstance) |
TodoList |
TodoService.submitTodo(long todoId,
ByteData data)
Submits the to-do and returns the next to-do group.
|
TodoList |
TodoServiceBean.submitTodo(long todoId,
ByteData result) |
TodoList |
TodoServiceBean.submitTodo(long todoId,
ModelInstance detachedModelInstance) |
TodoList |
TodoService.submitTodoInNewTransaction(long todoId,
ByteData data)
Submits the to-do and returns the next to-do group.
|
TodoList |
TodoServiceBean.submitTodoInNewTransaction(long todoId,
ByteData result) |
TodoList |
TodoServiceBean.submitTodoInNewTransaction(long todoId,
ModelInstance detachedModelInstance) |
TodoList |
TodoService.submitTodoWithDeadlockRetry(long todoId,
ByteData data)
Submits the to-do and returns the next to-do group.
|
TodoList |
TodoServiceBean.submitTodoWithDeadlockRetry(long todoId,
ByteData result) |
TodoList |
TodoServiceBean.submitTodoWithDeadlockRetry(long todoId,
ModelInstance detachedModelInstance) |
Modifier and Type | Method and Description |
---|---|
String |
ToJoinTodoListQuerySameDB.getConditionHqlString(com.whitestein.lsps.lang.query.PathResolver pathResolver,
Namespace namespace,
SortedMap<Integer,Object> positionalParameters) |
String |
ToJoinTodoListQuery.getConditionHqlString(com.whitestein.lsps.lang.query.PathResolver pathResolver,
Namespace namespace,
SortedMap<Integer,Object> positionalParameters) |
Modifier and Type | Method and Description |
---|---|
void |
HumanFunctionsImpl.allocateTodo(ExecutionContext context,
RecordHolder todo,
RecordHolder person) |
void |
HumanFunctions.allocateTodo(ExecutionContext context,
RecordHolder todo,
RecordHolder person)
Allocates the specified todo to the person.
|
void |
HumanFunctionsImpl.deleteSavedDocuments(ExecutionContext context,
SetHolder documents) |
void |
HumanFunctions.deleteSavedDocuments(ExecutionContext context,
SetHolder documents)
Deletes the specified saved documents.
|
SetHolder |
HumanFunctionsImpl.getTodoCurrentAssignees(ExecutionContext context,
RecordHolder todo) |
SetHolder |
HumanFunctions.getTodoCurrentAssignees(ExecutionContext context,
RecordHolder todo)
Returns a set of persons the specified todo is currently issued (visible) to, taking into
account also delegation, rejection and substitution.
|
SetHolder |
HumanFunctionsImpl.getTodoIdsFor(ExecutionContext ctx,
RecordHolder person,
String titlePattern) |
SetHolder |
HumanFunctions.getTodoIdsFor(ExecutionContext ctx,
RecordHolder person,
String titlePattern)
Returns a set of active todo ids assigned to the specified person according to the criteria.
|
SetHolder |
HumanFunctionsImpl.getTodoPerformers(ExecutionContext context,
RecordHolder todo) |
SetHolder |
HumanFunctions.getTodoPerformers(ExecutionContext context,
RecordHolder todo)
Returns a set of the original performers of the specified todo, as given by the corresponding
task.
|
SetHolder |
HumanFunctionsImpl.getTodosFor(ExecutionContext context,
RecordHolder person) |
SetHolder |
HumanFunctions.getTodosFor(ExecutionContext context,
RecordHolder person)
Returns a set of active todos assigned to the specified person.
|
SetHolder |
HumanFunctionsImpl.getTodosFor(ExecutionContext context,
RecordHolder person,
Boolean includeAllocatedByOthers) |
SetHolder |
HumanFunctions.getTodosFor(ExecutionContext context,
RecordHolder person,
Boolean includeAllocatedByOthers)
Returns a set of active todos assigned to the specified person.
|
SetHolder |
HumanFunctionsImpl.getTodosFor(ExecutionContext context,
RecordHolder person,
TodoListCriteria todoListCriteria) |
SetHolder |
HumanFunctions.getTodosFor(ExecutionContext context,
RecordHolder person,
TodoListCriteria todoListCriteria)
Returns a set of active todos assigned to the specified person according to the criteria.
|
RecordHolder |
HumanFunctionsImpl.getTodoSubmitter(ExecutionContext context,
RecordHolder todo) |
RecordHolder |
HumanFunctions.getTodoSubmitter(ExecutionContext context,
RecordHolder todo)
If the specified todo is in the "Accomplished" state, the function returns the person who
submitted that todo.
|
MapHolder |
HumanFunctionsImpl.getUIHistory(ExecutionContext context) |
MapHolder |
HumanFunctions.getUIHistory(ExecutionContext context)
A function which returns UI history.
|
void |
HumanFunctionsImpl.persist(ExecutionContext ctx) |
void |
HumanFunctions.persist(ExecutionContext ctx) |
void |
HumanFunctionsImpl.reassignTodo(ExecutionContext context,
RecordHolder todo,
SetHolder performers) |
void |
HumanFunctions.reassignTodo(ExecutionContext context,
RecordHolder todo,
SetHolder performers)
Changes the set of performers of the specified todo.
|
void |
HumanFunctionsImpl.resetTodo(ExecutionContext ctx,
RecordHolder todo) |
void |
HumanFunctions.resetTodo(ExecutionContext ctx,
RecordHolder todo)
Reset state of the todo.
|
String |
UiFunctions.rgb(ExecutionContext ctx,
Decimal red,
Decimal green,
Decimal blue)
Returns a string used to represent a color given by red, green and blue
components.
|
void |
EmailUtils.sendEmail(ExecutionContext context,
javax.mail.Session session,
RecordHolder from,
String subject,
String body,
SetHolder attachments,
SetHolder recipientsTo,
SetHolder recipientsCc,
SetHolder recipientsBcc,
String charset)
Deprecated.
|
void |
EmailUtils.sendEmail(ExecutionContext context,
javax.mail.Session session,
RecordHolder from,
String subject,
String body,
SetHolder attachments,
SetHolder recipientsTo,
SetHolder recipientsCc,
SetHolder recipientsBcc,
String mime,
String charset)
Sends an e-mail.
|
void |
EmailUtils.sendEmail(ExecutionContext context,
javax.mail.Session session,
String subject,
String body,
SetHolder attachments,
SetHolder recipientsTo,
SetHolder recipientsCc,
SetHolder recipientsBcc,
String charset)
Deprecated.
|
void |
EmailUtils.sendEmail(ExecutionContext context,
javax.mail.Session session,
String from,
String subject,
String body,
SetHolder attachments,
SetHolder recipientsTo,
SetHolder recipientsCc,
SetHolder recipientsBcc,
String mime,
String charset)
Sends an e-mail.
|
void |
SendEmailFunctionImpl.sendEmail(ExecutionContext context,
String subject,
String body,
SetHolder attachments,
SetHolder recipientsTo,
SetHolder recipientsCc,
SetHolder recipientsBcc,
String charset) |
void |
SendEmailFunction.sendEmail(ExecutionContext context,
String subject,
String body,
SetHolder attachments,
SetHolder recipientsTo,
SetHolder recipientsCc,
SetHolder recipientsBcc,
String charset)
Deprecated.
|
void |
SendEmailFunctionImpl.sendEmail(ExecutionContext context,
String subject,
String body,
SetHolder attachments,
String from,
SetHolder recipientsTo,
SetHolder recipientsCc,
SetHolder recipientsBcc,
String charset) |
void |
SendEmailFunction.sendEmail(ExecutionContext context,
String subject,
String body,
SetHolder attachments,
String from,
SetHolder recipientsTo,
SetHolder recipientsCc,
SetHolder recipientsBcc,
String charset)
Deprecated.
|
void |
SendEmailFunctionImpl.sendEmail(ExecutionContext context,
String subject,
String body,
SetHolder attachments,
String from,
SetHolder recipientsTo,
SetHolder recipientsCc,
SetHolder recipientsBcc,
String mime,
String charset) |
void |
SendEmailFunction.sendEmail(ExecutionContext context,
String subject,
String body,
SetHolder attachments,
String from,
SetHolder recipientsTo,
SetHolder recipientsCc,
SetHolder recipientsBcc,
String mime,
String charset)
Sends an e-mail.
|
ListHolder |
HumanFunctionsImpl.submit(ExecutionContext ctx) |
ListHolder |
HumanFunctions.submit(ExecutionContext ctx)
Submits a form that do not use evaluation levels:
Todo Form: Submits todos that do not use evaluation levels.
|
void |
HumanFunctionsImpl.unallocateTodo(ExecutionContext context,
RecordHolder todo) |
void |
HumanFunctions.unallocateTodo(ExecutionContext context,
RecordHolder todo)
Unallocates todo.
|
Modifier and Type | Method and Description |
---|---|
RecordHolder |
DocumentSignatureGeneration.DocOperation.execute(Namespace namespace,
String operation) |
Modifier and Type | Method and Description |
---|---|
protected Todo |
UserTask.addTodo(TaskContext context,
String type,
Serializable content) |
protected Todo |
CustomUIUserTask.addTodo(TaskContext context,
String type,
Serializable content) |
protected Todo |
BaseTodoTask.addTodo(TaskContext context,
String type,
Serializable content)
Creates a to-do (calls
BaseTodoTask.createTodo(TaskContext, String, Serializable) ) and adds the to-do
to the database. |
protected abstract Serializable |
BaseTodoTask.createContent(TaskContext context)
This method should return the todo content, it is called when starting a todo-task.
|
protected Todo |
BaseTodoTask.createTodo(TaskContext context,
String type,
Serializable content)
Creates a to-do and sets initial values.
|
Date |
BaseTodoTask.getEscalationDate(TaskContext context) |
ExecutableTask.Result |
BaseTodoTask.processInput(TaskContext context,
Object input) |
protected void |
UserTask.processReply(TaskContext context,
Object data) |
protected void |
BaseTodoTask.processReply(TaskContext context,
Object data)
Process the data submitted by the user.
|
ExecutableTask.Result |
SendEmail.start(TaskContext context) |
ExecutableTask.Result |
HumanInteractionTask.start(TaskContext context)
Deprecated.
|
ExecutableTask.Result |
BaseTodoTask.start(TaskContext context) |
void |
BaseTodoTask.terminate(TaskContext context,
TerminationReason reason) |
Modifier and Type | Method and Description |
---|---|
String |
JsonFunctions.convertToJson(ExecutionContext context,
Boolean useExternalRef,
Object object)
Creates a JSON document representing a given LSPS object.
|
String |
JsonFunctionsBean.convertToJson(ExecutionContext context,
Boolean useExternalRef,
Object object) |
String |
JsonFunctions.convertToJson(ExecutionContext context,
Object object)
Creates a JSON document representing a given LSPS object.
|
String |
JsonFunctionsBean.convertToJson(ExecutionContext context,
Object object) |
MapHolder |
JsonFunctions.jsonToMap(ExecutionContext context,
String jsonString)
TODO
|
MapHolder |
JsonFunctionsBean.jsonToMap(ExecutionContext context,
String json)
Deprecated.
|
MapHolder |
JsonFunctions.jsonToMap(ExecutionContext context,
String json,
Boolean doInsert,
Boolean doUpdate) |
MapHolder |
JsonFunctionsBean.jsonToMap(ExecutionContext context,
String json,
Boolean doInsert,
Boolean doUpdate) |
String |
JsonFunctions.mapToJson(ExecutionContext context,
Boolean useExternalRef,
MapHolder map)
Creates a JSON document representing the given map.
|
String |
JsonFunctionsBean.mapToJson(ExecutionContext context,
Boolean useExternalRef,
MapHolder map) |
String |
JsonFunctions.mapToJson(ExecutionContext context,
MapHolder map)
Creates a JSON document representing the given map.
|
String |
JsonFunctionsBean.mapToJson(ExecutionContext context,
MapHolder map) |
Object |
JsonFunctions.parseJson(ExecutionContext context,
String json,
Type resultType)
Parses the given JSON document into the instance of the given
type |
Object |
JsonFunctionsBean.parseJson(ExecutionContext context,
String json,
Type resultType)
Deprecated.
|
Object |
JsonFunctions.parseJson(ExecutionContext context,
String json,
Type resultType,
Boolean doInsert,
Boolean doUpdate)
Parses JSON string to internal data structures.
|
Object |
JsonFunctionsBean.parseJson(ExecutionContext context,
String json,
Type resultType,
Boolean doInsert,
Boolean doUpdate) |
String |
JsonFunctions.toJsonSchema(ExecutionContext context,
Boolean useExternalRef,
Type type) |
String |
JsonFunctionsBean.toJsonSchema(ExecutionContext context,
Boolean useExternalRef,
Type type) |
Modifier and Type | Method and Description |
---|---|
ErrorException |
InterpreterStackTraceElement.getException() |
ErrorException |
InterpreterStackTrace.setCurrentException(ErrorException exception) |
ErrorException |
DefaultInterpreterStackTrace.setCurrentException(ErrorException exception) |
Modifier and Type | Method and Description |
---|---|
ErrorException |
InterpreterStackTrace.setCurrentException(ErrorException exception) |
ErrorException |
DefaultInterpreterStackTrace.setCurrentException(ErrorException exception) |
void |
InterpreterStackTraceElement.setException(ErrorException exception) |
Modifier and Type | Method and Description |
---|---|
Namespace |
FunctionArgumentInterpreter.createFunctionNamespace(Interpreter interpreter,
List<Expression> arguments,
boolean variadicAsList,
InterpreterStackTrace stackTrace)
Creates a function namespace that is a child of the interpreter namespace
for the given function arguments.
|
Object |
OperationExpressionHolder.execute(InterpreterConfiguration configuration,
InterpreterStackTrace stackTrace,
Object... arguments) |
Object |
ExpressionAsClosureHolder.execute(InterpreterConfiguration configuration,
InterpreterStackTrace stackTrace,
Object... args) |
Object |
ClosureExpressionHolder.execute(InterpreterConfiguration configuration,
InterpreterStackTrace stackTrace,
Object... args) |
Object |
AbstractClosureHolder.execute(InterpreterConfiguration configuration,
Object... args) |
Object |
AbstractClosureHolder.execute(InterpreterStackTrace stackTrace,
Object... args) |
Object |
AbstractClosureHolder.execute(Object... args) |
Object |
OperationExpressionHolder.executeInNamespace(Namespace namespace,
InterpreterStackTrace stackTrace,
Object... arguments) |
Object |
ExpressionAsClosureHolder.executeInNamespace(Namespace namespace,
InterpreterStackTrace stackTrace,
Object... arguments) |
Object |
ClosureExpressionHolder.executeInNamespace(Namespace namespace,
InterpreterStackTrace stackTrace,
Object... args) |
Object |
AbstractMockNamespace.executeJavaOperation(String className,
String methodName,
Class<?>[] argClasses,
Object[] evaluatedArgs,
InterpreterStackTrace stackTrace) |
RecordHolder |
ReferenceExpressionHolder.getPropertyRecord(InterpreterStackTrace stackTrace) |
Object |
ReferenceExpressionHolder.getValue(InterpreterStackTrace stackTrace) |
Object |
Interpreter.interpret(Expression expression)
Interprets a given expression.
|
Object |
Interpreter.interpret(Expression expression,
InterpreterStackTrace stackTrace)
Interprets a given expression.
|
Object[] |
FunctionArgumentInterpreter.interpret(Interpreter interpreter,
List<Expression> arguments,
boolean variadicAsArray,
boolean variadicArgAsList,
InterpreterStackTrace stackTrace)
Interprets the given arguments with proper variadic argument handling.
|
void |
ReferenceExpressionHolder.setValue(Object value,
InterpreterStackTrace stackTrace) |
Modifier and Type | Method and Description |
---|---|
protected Object |
WhileExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
VariableExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
TryCatchExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
ThisConstructorExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
SwitchExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
SuperConstructorExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
SetExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
RecordExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
RecordConstructorExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
PropertyExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
MethodExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
MethodCallExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
MapExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
ListExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
InstanceofExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
IncDecExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
IfnullExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
FunctionCallWithNamedArgs.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
FunctionCallExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
ForeachExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
ForExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected abstract Object |
Expression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace)
Interpret expression.
|
protected Object |
DereferenceExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
DebugExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
ConditionalExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
CompoundAssignmentExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
ClosureInvocationExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
ChainedExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
CastExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
BlockExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
AssignmentExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
Expression.doInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace)
Interpretation of expression with debugger support.
|
protected boolean |
Expression.evalCondition(Interpreter interpreter,
InterpreterStackTrace stackTrace)
Evaluates expression as boolean expression.
|
protected List<Expression> |
Expression.evaluateToExpressions(Expression[] expressions,
Interpreter interpreter,
InterpreterStackTrace stackTrace) |
Object |
MethodExpression.execute(Interpreter interpreter,
List<?> args,
InterpreterStackTrace stackTrace)
Executes the method call.
|
protected Object |
MethodCallExpression.executeCompiled(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
FunctionCallExpression.executeCompiled(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
Expression.executeCompiled(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
Object |
Expression.interpret(Interpreter interpreter,
InterpreterStackTrace stackTrace)
Interpretation of the expression with handling of correct namespace.
|
protected Object |
VariableExpression.interpretCompoundAssignment(Operation operation,
Expression arg,
Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
PropertyExpression.interpretCompoundAssignment(Operation operation,
Expression arg,
Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
DereferenceExpression.interpretCompoundAssignment(Operation operation,
Expression arg,
Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected abstract Object |
AssignableExpression.interpretCompoundAssignment(Operation operation,
Expression arg,
Interpreter interpreter,
InterpreterStackTrace stackTrace) |
Object |
Expression.interpretInCurrentNamespace(Interpreter interpreter,
InterpreterStackTrace stackTrace)
Interpretation of the expression in the current interpreter namespace.
|
void |
VariableExpression.setValue(Object value,
Namespace namespace,
InterpreterStackTrace stackTrace,
ExpressionOrigin origin) |
void |
PropertyExpression.setValue(Object value,
Namespace namespace,
InterpreterStackTrace stackTrace,
ExpressionOrigin origin) |
void |
DereferenceExpression.setValue(Object value,
Namespace namespace,
InterpreterStackTrace stackTrace,
ExpressionOrigin origin) |
abstract void |
AssignableExpression.setValue(Object value,
Namespace namespace,
InterpreterStackTrace stackTrace,
ExpressionOrigin origin)
Assign a value into the assignable (e.g.
|
Modifier and Type | Method and Description |
---|---|
Object |
Compiled.execute(Namespace namespace,
InterpreterStackTrace stackTrace,
List<Object> arguments) |
Modifier and Type | Method and Description |
---|---|
static ErrorException |
Errors.createNullParameterError(Expression expression,
InterpreterStackTrace stackTrace)
Creates a null parameter error with a correct message
and an expression context information.
|
Modifier and Type | Method and Description |
---|---|
static <T> T |
Errors.checkParameterNotNull(T param,
String paramName)
Throws a null parameter error if the
param is null. |
static <T> T |
Errors.checkParameterNotNull(T param,
String paramName,
InterpreterStackTrace stackTrace)
Throws a null parameter error if the
param is null. |
Modifier and Type | Method and Description |
---|---|
Object |
MockClosureHolder.execute(InterpreterConfiguration configuration,
InterpreterStackTrace stackTrace,
Object... arguments) |
Object |
ClosureHolder.execute(InterpreterConfiguration configuration,
InterpreterStackTrace stackTrace,
Object... arguments)
Executes this closure with given arguments.
|
Object |
MockClosureHolder.execute(InterpreterConfiguration configuration,
Object... arguments) |
Object |
ClosureHolder.execute(InterpreterConfiguration configuration,
Object... arguments)
Executes this closure with given arguments.
|
Object |
ClosureHolder.execute(InterpreterStackTrace stackTrace,
Object... arguments)
Executes this closure with given arguments.
|
Object |
MockClosureHolder.execute(Object... arguments) |
Object |
ClosureHolder.execute(Object... arguments)
Executes this closure with given arguments.
|
Object |
ClosureHolderInternal.executeInNamespace(Namespace namespace,
InterpreterStackTrace stackTrace,
Object... arguments)
Execute this closure in the given namespace.
|
Object |
RecordHolder.executeMethod(Namespace parentNamespace,
FunctionSignature signature,
Object... arguments)
Executes method with parameters.
|
Object |
MockRecordHolder.executeMethod(Namespace parentNamespace,
FunctionSignature signature,
Object... arguments) |
default RecordHolder |
ReferenceHolder.getPropertyRecord()
Returns root record for the property if a property is referenced.
|
RecordHolder |
ReferenceHolder.getPropertyRecord(InterpreterStackTrace stackTrace)
Returns root record for the property if a property is referenced.
|
default Object |
ReferenceHolder.getValue()
Gets the value of the referenced element.
|
Object |
ReferenceHolder.getValue(InterpreterStackTrace stackTrace)
Gets the value of the referenced element.
|
Object |
PropertyPath.getValue(RecordHolder record)
Returns the value of the given property path of the given record object.
|
Object |
ReferenceHolder.getValue(String evaluationLevel,
InterpreterStackTrace stackTrace)
Returns value of referenced value-holder (variable/record) in the specified evaluation level.
|
default void |
ReferenceHolder.setValue(Object value)
Sets the value of the referenced element.
|
void |
ReferenceHolder.setValue(Object value,
InterpreterStackTrace stackTrace)
Sets the value of the referenced element.
|
void |
PropertyPath.setValue(RecordHolder record,
Object value)
Sets the value of the given property path of the given record object.
|
Modifier and Type | Method and Description |
---|---|
protected abstract Decimal |
IntegerBinaryArithmeticOperation.exec(Decimal left,
Decimal right,
InterpreterStackTrace stackTrace)
Executes the operation with the operands interpreted.
|
protected abstract Decimal |
DecimalBinaryArithmeticOperation.exec(Decimal left,
Decimal right,
InterpreterStackTrace stackTrace)
Executes the operation with the operands interpreted.
|
Boolean |
StringComparisonOperation.execute(Interpreter interpreter,
List<Expression> args,
boolean variadicArgAsList,
InterpreterStackTrace stackTrace) |
Object |
Operation.execute(Interpreter interpreter,
List<Expression> args,
boolean variadicArgAsList,
InterpreterStackTrace stackTrace)
Executes the expression.
|
Boolean |
LocalDateOperation.execute(Interpreter interpreter,
List<Expression> args,
boolean variadicArgAsList,
InterpreterStackTrace stackTrace) |
Object |
JavaOperation.execute(Interpreter interpreter,
List<Expression> args,
boolean variadicArgAsList,
InterpreterStackTrace stackTrace) |
Decimal |
IntegerUnaryOperation.execute(Interpreter interpreter,
List<Expression> args,
boolean variadicArgAsList,
InterpreterStackTrace stackTrace) |
Decimal |
IntegerBinaryArithmeticOperation.execute(Interpreter interpreter,
List<Expression> args,
boolean variadicArgAsList,
InterpreterStackTrace stackTrace) |
Object |
ExpressionOperation.execute(Interpreter interpreter,
List<Expression> args,
boolean variadicArgAsList,
InterpreterStackTrace stackTrace) |
Boolean |
EnumerationOperation.execute(Interpreter interpreter,
List<Expression> args,
boolean variadicArgAsList,
InterpreterStackTrace stackTrace) |
Decimal |
DecimalUnaryOperation.execute(Interpreter interpreter,
List<Expression> args,
boolean variadicArgAsList,
InterpreterStackTrace stackTrace) |
Boolean |
DecimalBinaryComparisonOperation.execute(Interpreter interpreter,
List<Expression> args,
boolean variadicArgAsList,
InterpreterStackTrace stackTrace) |
Decimal |
DecimalBinaryArithmeticOperation.execute(Interpreter interpreter,
List<Expression> args,
boolean variadicArgAsList,
InterpreterStackTrace stackTrace) |
Boolean |
DateOperation.execute(Interpreter interpreter,
List<Expression> args,
boolean variadicArgAsList,
InterpreterStackTrace stackTrace) |
Boolean |
BooleanOperation.execute(Namespace namespace,
String oper,
Boolean arg) |
Boolean |
BooleanOperation.execute(Namespace namespace,
String oper,
Boolean left,
Boolean right) |
Object |
CollectionOperation.execute(Namespace namespace,
String oper,
CollectionHolder collection,
Decimal index) |
Decimal |
ComparisonOperation.execute(Namespace namespace,
String oper,
Comparable left,
Comparable right) |
Decimal |
IntegerUnaryOperation.execute(Namespace namespace,
String operation,
Decimal arg) |
Decimal |
DecimalUnaryOperation.execute(Namespace namespace,
String operation,
Decimal arg) |
ListHolder |
RangeOperation.execute(Namespace namespace,
String oper,
Decimal first,
Decimal last) |
Decimal |
IntegerBinaryArithmeticOperation.execute(Namespace namespace,
String operation,
Decimal left,
Decimal right) |
boolean |
DecimalBinaryComparisonOperation.execute(Namespace namespace,
String operation,
Decimal left,
Decimal right) |
Decimal |
DecimalBinaryArithmeticOperation.execute(Namespace namespace,
String operation,
Decimal left,
Decimal right) |
Boolean |
EnumerationOperation.execute(Namespace namespace,
String operation,
EnumerationImpl left,
EnumerationImpl right) |
Object |
MapOperation.execute(Namespace namespace,
String operation,
MapHolder left,
Object right) |
Object |
ReferencedOperation.execute(Namespace namespace,
String operation,
Object[] args)
Executes the operation.
|
Boolean |
CollectionOperation.execute(Namespace namespace,
String oper,
Object item,
CollectionHolder collection) |
abstract Boolean |
ObjectOperation.execute(Namespace namespace,
String operation,
Object left,
Object right) |
Object |
ErrorOperation.execute(Namespace namespace,
String operation,
String errorCode) |
abstract Boolean |
StringLikeOperation.execute(Namespace namespace,
String operation,
String str,
String pattern) |
Boolean |
StringComparisonOperation.execute(Namespace namespace,
String operation,
String left,
String right) |
Object |
JavaOperationExecutor.executeJavaOperation(String className,
String methodName,
Class<?>[] argClasses,
Object[] evaluatedArgs,
InterpreterStackTrace stackTrace)
Executes the operation.
|
Modifier and Type | Method and Description |
---|---|
void |
LicenseServiceBean.uploadLicense(byte[] content) |
Modifier and Type | Method and Description |
---|---|
EvaluationResult |
ModelProviderServiceBean.evaluateExpression(long modelInstanceId,
Long contextId,
String source,
boolean fullExecutionModel,
boolean mergeEvaluation) |
EvaluationResult |
ModelProviderServiceBean.evaluateExpression(long modelInstanceId,
Long contextId,
String source,
String evaluationLevel,
boolean mergeEvaluation) |
EvaluationResult |
ModelProviderServiceBean.evaluateExpression(long modelInstanceId,
String source,
boolean fullExecutionModel) |
EvaluationResult |
ModelProviderServiceBean.evaluateExpression(long modelInstanceId,
String source,
boolean fullExecutionModel,
boolean mergeEvaluation) |
EvaluationResult |
ModelProviderServiceBean.evaluateExpression(long modelInstanceId,
String source,
String evaluationLevel,
boolean mergeEvaluation) |
EvaluationResult |
ModelProviderServiceBean.evaluateExpressionInModel(long modelId,
String source,
boolean fullExecutionModel) |
List<EvaluationResult> |
ModelProviderServiceBean.evaluateExpressions(long modelInstanceId,
List<String> sources,
boolean fullExecutionModel) |
List<EvaluationResult> |
ModelProviderServiceBean.evaluateExpressionsInModel(long modelId,
List<String> sources,
boolean fullExecutionModel) |
Modifier and Type | Method and Description |
---|---|
void |
MigrationServiceBean.abortModelUpdate(long modelInstanceId) |
void |
MigrationServiceBean.continuePostUpdate(long modelInstanceId) |
void |
MigrationServiceBean.continueTransform(long modelInstanceId) |
void |
MigrationServiceBean.updateModel(long modelInstanceId,
long migrationId) |
Modifier and Type | Method and Description |
---|---|
void |
PersonRoleUtils.addPersonToRole(ExecutionContext context,
PersonManagementServiceLocal personManagementService,
RecordHolder personRecord,
RecordHolder roleRecord)
Assign role to person.
|
void |
OrgStructureFunctionsImpl.addPersonToRole(ExecutionContext context,
RecordHolder personRecord,
RecordHolder roleRecord) |
void |
OrgStructureFunctions.addPersonToRole(ExecutionContext context,
RecordHolder personRecord,
RecordHolder roleRecord)
Assign role to person.
|
AnyPerformerHolder |
OrgStructureFunctionsImpl.anyPerformer(ExecutionContext context) |
AnyPerformerHolder |
OrgStructureFunctions.anyPerformer(ExecutionContext context)
Returns a special performer representing any known process performer.
|
SetHolder |
OrgStructureFunctionsImpl.children(ExecutionContext context,
RecordHolder roleUnitHolder) |
SetHolder |
OrgStructureFunctions.children(ExecutionContext context,
RecordHolder roleUnitHolder)
Returns a
SetHolder of children of the roleUnitHolder. |
RecordHolder |
OrgStructureFunctionsImpl.getCurrentPerson(ExecutionContext context) |
RecordHolder |
OrgStructureFunctions.getCurrentPerson(ExecutionContext context)
Returns the person who has initiates the current model processing request.
|
RecordHolder |
OrgStructureFunctionsImpl.getOrgUnit(ExecutionContext context,
String moduleName,
String localName,
MapHolder parameterMap) |
RecordHolder |
OrgStructureFunctions.getOrgUnit(ExecutionContext context,
String moduleName,
String localName,
MapHolder parameterMap)
Returns an organization unit given the module name and the organization unit name, or
null , if there is no such organization unit. |
RecordHolder |
OrgStructureFunctionsImpl.getOrgUnitRecordHolder(ExecutionContext context,
String moduleName,
String localName,
Map<?,?> parameterMap) |
RecordHolder |
OrgStructureFunctions.getOrgUnitRecordHolder(ExecutionContext context,
String moduleName,
String localName,
Map<?,?> parameterMap)
Returns an organization unit given the module name and the organization unit name, or
null , if there is no such organization unit. |
String |
OrgStructureFunctionsImpl.getPersonFullName(ExecutionContext context,
RecordHolder person) |
String |
OrgStructureFunctions.getPersonFullName(ExecutionContext context,
RecordHolder person)
Returns the full name of the specified person.
|
RecordHolder |
OrgStructureFunctionsImpl.getPersonPicture(ExecutionContext context,
RecordHolder person) |
RecordHolder |
OrgStructureFunctions.getPersonPicture(ExecutionContext context,
RecordHolder person)
Returns file with photo for the person.
|
MapHolder |
OrgStructureFunctionsImpl.getPersonProperties(ExecutionContext context,
RecordHolder person) |
MapHolder |
OrgStructureFunctions.getPersonProperties(ExecutionContext context,
RecordHolder person)
Returns the additional properties of the specified person.
|
SetHolder |
OrgStructureFunctionsImpl.getPersonRoles(ExecutionContext context,
RecordHolder person) |
SetHolder |
OrgStructureFunctions.getPersonRoles(ExecutionContext context,
RecordHolder person)
Returns a set of organization roles from the current model directly as signed to the
specified person.
|
RecordHolder |
OrgStructureFunctionsImpl.getPersonWithId(ExecutionContext context,
String id) |
RecordHolder |
OrgStructureFunctions.getPersonWithId(ExecutionContext context,
String id)
Returns a person given the id of the process performer or ErrorExcetion, if there is
no such person.
|
RecordHolder |
OrgStructureFunctionsImpl.getPersonWithLogin(ExecutionContext context,
String name) |
RecordHolder |
OrgStructureFunctions.getPersonWithLogin(ExecutionContext context,
String name)
Returns a person given the unique name of the process performer or ErrorExcetion, if there is
no such person.
|
RecordHolder |
OrgStructureFunctionsImpl.getRole(ExecutionContext context,
String moduleName,
String localName,
MapHolder parameterMap) |
RecordHolder |
OrgStructureFunctions.getRole(ExecutionContext context,
String moduleName,
String localName,
MapHolder parameterMap)
Returns a role given the module name and the local role name, or
null , if there is no
such role. |
RecordHolder |
OrgStructureFunctionsImpl.getRoleRecordHolder(ExecutionContext context,
String moduleName,
String localName,
Map<?,?> parameterMap) |
RecordHolder |
OrgStructureFunctions.getRoleRecordHolder(ExecutionContext context,
String moduleName,
String localName,
Map<?,?> parameterMap)
Returns a role given the module name and the local role name, or
null , if there is no
such role. |
RoleUnitHolder |
OrgStructureFunctionsImpl.getRoleUnitByName(ExecutionContext context,
String module,
String name) |
RoleUnitHolder |
OrgStructureFunctions.getRoleUnitByName(ExecutionContext context,
String module,
String name)
|
RoleUnitHolder |
OrgStructureFunctionsImpl.getRoleUnitByName(ExecutionContext context,
String module,
String name,
MapHolder parameters) |
RoleUnitHolder |
OrgStructureFunctions.getRoleUnitByName(ExecutionContext context,
String module,
String name,
MapHolder parameters)
Returns a
RoleUnit or OrgUnit specified by module name , RoleUnitName
and parameters defined in the given module. |
String |
OrgLabelFunctions.getRoleUnitLabel(ExecutionContext ctx,
RecordHolder roleUnit)
Returns the roleUnit label.
|
boolean |
OrgStructureFunctionsImpl.isPersonIn(ExecutionContext context,
RecordHolder personHolder,
RecordHolder roleUnitHolder) |
boolean |
OrgStructureFunctions.isPersonIn(ExecutionContext context,
RecordHolder personHolder,
RecordHolder roleUnitHolder)
Returns
true , if the given person belongs in the given organizational structure to
the given role or unit. |
boolean |
OrgStructureFunctionsImpl.isPersonStrictlyIn(ExecutionContext context,
RecordHolder personHolder,
RecordHolder roleHolder) |
boolean |
OrgStructureFunctions.isPersonStrictlyIn(ExecutionContext context,
RecordHolder personHolder,
RecordHolder roleHolder)
Returns
true , if the given person belongs in the given organizational structure
strictly to the given role or unit, not to their sub-roles or sub-units. |
SetHolder |
OrgStructureFunctionsImpl.personsStrictlyWith(ExecutionContext context,
RecordHolder roleHolder) |
SetHolder |
OrgStructureFunctions.personsStrictlyWith(ExecutionContext context,
RecordHolder roleHolder)
Returns a set of all persons that belong in the given organizational structure strictly to
the given role or unit, not to their sub-roles or sub-units.
|
SetHolder |
OrgStructureFunctionsImpl.personsWith(ExecutionContext context,
RecordHolder roleUnitHolder) |
SetHolder |
OrgStructureFunctions.personsWith(ExecutionContext context,
RecordHolder roleUnitHolder)
Returns a set of all persons that belong in the given organizational structure to the given
role or unit.
|
void |
PersonRoleUtils.removePersonFromRole(ExecutionContext context,
PersonManagementServiceLocal personManagementService,
RecordHolder personRecord,
RecordHolder roleRecord)
Remove person from role.
|
void |
OrgStructureFunctionsImpl.removePersonFromRole(ExecutionContext context,
RecordHolder personRecord,
RecordHolder roleRecord) |
void |
OrgStructureFunctions.removePersonFromRole(ExecutionContext context,
RecordHolder personRecord,
RecordHolder roleRecord)
Remove person from role.
|
void |
OrgStructureFunctionsImpl.setPersonPicture(ExecutionContext context,
RecordHolder person,
RecordHolder file) |
void |
OrgStructureFunctions.setPersonPicture(ExecutionContext context,
RecordHolder person,
RecordHolder file)
Sets file with photo to the person.
|
Modifier and Type | Method and Description |
---|---|
Object |
RoleUnitFunctionOperation.execute(Interpreter interpreter,
List<Expression> args,
boolean variadicArgAsList,
InterpreterStackTrace stackTrace) |
Modifier and Type | Method and Description |
---|---|
ExecutableTask.Result |
RemovePersonFromRole.start(TaskContext context) |
ExecutableTask.Result |
AddPersonToRole.start(TaskContext context) |
Modifier and Type | Method and Description |
---|---|
void |
DmnFunctionsImpl.addInputAt(ExecutionContext ctx,
Decimal index,
RecordHolder input)
Adds the input parameter at the given index.
|
void |
DmnFunctionsImpl.addOutputAt(ExecutionContext ctx,
Decimal index,
RecordHolder output)
Adds the output parameter at the given index.
|
ListHolder |
DmnFunctionsImpl.evaluateList(ExecutionContext ctx,
ListHolder inputValues)
Evaluates the decision table.
|
ListHolder |
DmnEvaluator.evaluateList(ListHolder inputValues)
Evaluates the decision table.
|
ListHolder |
DmnFunctionsImpl.evaluateMap(ExecutionContext ctx,
MapHolder inputValues)
Evaluates the decision table.
|
ListHolder |
DmnEvaluator.evaluateMap(MapHolder inputValues)
Evaluates the decision table.
|
SetHolder |
DmnPersistFunctionsBean.findDecisionTableIds(ExecutionContext ctx,
String idPattern) |
SetHolder |
DmnPersistFunctions.findDecisionTableIds(ExecutionContext ctx,
String idPattern)
Returns a set of ids of the saved decision tables matching the idPattern regexp.
|
SetHolder |
DmnPersistFunctionsBean.findDecisionTables(ExecutionContext ctx,
String idPattern) |
SetHolder |
DmnPersistFunctions.findDecisionTables(ExecutionContext ctx,
String idPattern)
Returns a set of the saved decision tables matching the idPattern regexp.
|
boolean |
DmnPersistFunctionsBean.load(ExecutionContext ctx,
String id) |
boolean |
DmnPersistFunctions.load(ExecutionContext ctx,
String id)
Loads the stored content of the decision table into "this" decision table
(replacing the current content).
|
void |
DmnFunctionsImpl.removeInputAt(ExecutionContext ctx,
Decimal index)
Removes the input parameter at the given index.
|
void |
DmnFunctionsImpl.removeOutputAt(ExecutionContext ctx,
Decimal index)
Removes the output parameter at the given index.
|
void |
DmnPersistFunctionsBean.save(ExecutionContext ctx,
String id) |
void |
DmnPersistFunctions.save(ExecutionContext ctx,
String id)
Persistently stores the content of the decision table under the given identifier.
|
Modifier and Type | Method and Description |
---|---|
Decimal |
NumberFunctions.abs(ExecutionContext ctx,
Decimal number)
Returns the absolute value of the
number . |
void |
ReflectionFunctionsImpl.activate(ExecutionContext ctx,
CollectionHolder goals) |
void |
ReflectionFunctions.activate(ExecutionContext ctx,
CollectionHolder goals)
(Re)activates inactive or finished goals.
|
CollectionHolder |
CollectionsFunctions.add(ExecutionContext ctx,
CollectionHolder collection,
Object... elements)
Returns a collection created by adding the specified element at the end of the collection.
|
ListHolder |
CollectionsFunctions.add(ExecutionContext ctx,
ListHolder list,
Object... elements)
Returns a list created by adding the specified element at the end of the list.
|
MapHolder |
CollectionsFunctions.add(ExecutionContext ctx,
MapHolder map,
Object key,
Object value)
Returns a map created by adding the specified key-value pair to the map.
|
SetHolder |
CollectionsFunctions.add(ExecutionContext ctx,
SetHolder set,
Object... elements)
Returns a set created by adding the specified element to the set.
|
ListHolder |
CollectionsFunctions.addAll(ExecutionContext ctx,
ListHolder... lists)
Deprecated.
This method was used in LSPS 2.6
|
ListHolder |
CollectionsFunctions.addAll(ExecutionContext ctx,
ListHolder list,
CollectionHolder... collections)
Returns a list created as concatenation of list and collections.
|
ListHolder |
CollectionsFunctions.addAll(ExecutionContext ctx,
ListHolder list,
Decimal index,
CollectionHolder... elements)
Returns a list created by adding the specified elements, given as a collections, from the position
specified by index to the list.
|
ListHolder |
CollectionsFunctions.addAll(ExecutionContext ctx,
ListHolder list,
Decimal index,
ListHolder... elements)
Deprecated.
This method was used in LSPS 2.6
|
MapHolder |
CollectionsFunctions.addAll(ExecutionContext ctx,
MapHolder... maps)
Returns a map created as union of maps.
|
SetHolder |
CollectionsFunctions.addAll(ExecutionContext ctx,
SetHolder... sets)
Deprecated.
This method was used in LSPS 2.6
|
SetHolder |
CollectionsFunctions.addAll(ExecutionContext ctx,
SetHolder set,
CollectionHolder... collections)
Returns a set created as concatenation of set and collections.
|
SetHolder |
CollectionsFunctions.addAll(ExecutionContext ctx,
SetHolder set,
Decimal index,
CollectionHolder... elements)
Returns a set created by adding the specified elements, given as a collections, from the position
specified by index to the set.
|
CollectionHolder |
CollectionsFunctions.addAllCollections(ExecutionContext ctx,
CollectionHolder... collections)
Returns a collection created as concatenation of collections.
|
CollectionHolder |
CollectionsFunctions.addAllCollections(ExecutionContext ctx,
CollectionHolder collection,
Decimal index,
CollectionHolder... elements)
Returns a collection created by adding the specified elements, given as a collections, from the position
specified by index to the collection.
|
CollectionHolder |
CollectionsFunctions.addAt(ExecutionContext ctx,
CollectionHolder collection,
Decimal index,
Object... elements)
Returns a collection created by adding the specified elements from the position specified by index
to the collection.
|
ListHolder |
CollectionsFunctions.addAt(ExecutionContext ctx,
ListHolder list,
Decimal index,
Object... elements)
Returns a list created by adding the specified elements from the position specified by index
to the list.
|
SetHolder |
CollectionsFunctions.addAt(ExecutionContext ctx,
SetHolder set,
Decimal index,
Object... elements)
Returns a set created by adding the specified elements from the position specified by index
to the set.
|
RecordHolder |
DateFunctions.addDurations(ExecutionContext ctx,
RecordHolder duration1,
RecordHolder duration2)
Returns a duration obtained by adding the values of the corresponding fields of duration1 and duration2.
|
Date |
DateFunctions.addDurationToDate(ExecutionContext ctx,
Date date,
RecordHolder duration)
Returns a date obtained by adding the duration to the date.
|
java.time.LocalDate |
DateFunctions.addDurationToLocalDate(ExecutionContext ctx,
java.time.LocalDate date,
RecordHolder duration)
Returns a date equal to
date + duration . |
Object |
ObjectFunctions.cast(ExecutionContext ctx,
Object object,
Type type)
If the type of the object is compatible with the specified type, the function returns the
object casted to the type.
|
CollectionHolder |
CollectionsFunctions.collect(ExecutionContext ctx,
CollectionHolder collection,
ClosureHolder function)
When given a collection
[a_1, a_2, ..., a_n] , this method returns [function(a_1),
function(a_2), ..., function(a_n)] . |
ListHolder |
CollectionsFunctions.collect(ExecutionContext ctx,
ListHolder list,
ClosureHolder function)
When given a list
[a_1, a_2, ..., a_n] , this method returns [function(a_1),
function(a_2), ..., function(a_n)] . |
SetHolder |
CollectionsFunctions.collect(ExecutionContext ctx,
SetHolder set,
ClosureHolder function)
When given a set
[a_1, a_2, ..., a_n] , this method returns [function(a_1),
function(a_2), ..., function(a_n)] . |
ListHolder |
CollectionsFunctions.collectMap(ExecutionContext ctx,
MapHolder map,
ClosureHolder function)
Collects over map entries.
|
CollectionHolder |
CollectionsFunctions.collectWithIndex(ExecutionContext ctx,
CollectionHolder collection,
ClosureHolder function)
Returns a set/list/collection of values obtained by applying the function
to each item of the set/list/collection.
|
ListHolder |
CollectionsFunctions.collectWithIndex(ExecutionContext ctx,
ListHolder list,
ClosureHolder function)
Returns a set/list/collection of values obtained by applying the function
to each item of the set/list/collection.
|
SetHolder |
CollectionsFunctions.collectWithIndex(ExecutionContext ctx,
SetHolder set,
ClosureHolder function)
Returns a set/list/collection of values obtained by applying the function
to each item of the set/list/collection.
|
CollectionHolder |
CollectionsFunctions.compact(ExecutionContext ctx,
CollectionHolder collection)
Returns a collection containing non-null elements from a given
collection.
|
ListHolder |
CollectionsFunctions.compact(ExecutionContext ctx,
ListHolder list)
Returns a list containing non-null elements from a given list.
|
SetHolder |
CollectionsFunctions.compact(ExecutionContext ctx,
SetHolder set)
Returns a set containing non-null elements from a given set.
|
boolean |
CollectionsFunctions.contains(ExecutionContext ctx,
CollectionHolder collection,
Object... elements)
Test method to find out whether passed collection contains element
|
boolean |
CollectionsFunctions.contains(ExecutionContext ctx,
ListHolder list,
Object... elements)
Test method to find out whether passed list contains element
|
boolean |
CollectionsFunctions.contains(ExecutionContext ctx,
SetHolder set,
Object... elements)
Test method to find out whether passed set contains element
|
boolean |
CollectionsFunctions.containsAll(ExecutionContext ctx,
CollectionHolder collection,
CollectionHolder elements)
Test method to find out whether a given collection contains all elements.
|
boolean |
CollectionsFunctions.containsAny(ExecutionContext ctx,
CollectionHolder collection,
CollectionHolder elements)
Returns
true if the given collection contains any of the elements
from the second collection. |
boolean |
CollectionsFunctions.containsKeys(ExecutionContext ctx,
MapHolder map,
Object... keys)
Test method whether map contains key
|
boolean |
CollectionsFunctions.containsValues(ExecutionContext ctx,
MapHolder map,
Object... values)
Test method whether map contains value
|
Decimal |
CollectionsFunctions.count(ExecutionContext ctx,
CollectionHolder collection,
ClosureHolder condition)
Counts the number of elements in the collection that fulfill the passed condition.
|
Decimal |
QueryFunctionsImpl.countAll(ExecutionContext ctx,
Type type) |
Decimal |
QueryFunctions.countAll(ExecutionContext ctx,
Type type)
Counts all shared records of a given type.
|
RecordHolder |
DataFunctionsImpl.createBinaryHandle(ExecutionContext context,
String fileName,
String description,
String content) |
RecordHolder |
DataFunctions.createBinaryHandle(ExecutionContext context,
String fileName,
String description,
String content)
Creates binary handle.
|
RecordHolder |
DataFunctionsImpl.createBinaryHandle(ExecutionContext context,
String fileName,
String description,
String content,
String mime,
String charset) |
RecordHolder |
DataFunctions.createBinaryHandle(ExecutionContext context,
String fileName,
String description,
String content,
String mime,
String charset)
Creates binary handle.
|
RecordHolder |
ActionFunctionsImpl.createInstance(ExecutionContext ctx,
Type type,
MapHolder values) |
RecordHolder |
ActionFunctions.createInstance(ExecutionContext ctx,
Type type,
MapHolder values)
Creates new instance of record type T.
|
RecordHolder |
ActionFunctionsImpl.createModelInstance(ExecutionContext ctx,
Boolean synchronous,
RecordHolder model,
MapHolder properties) |
RecordHolder |
ActionFunctions.createModelInstance(ExecutionContext ctx,
Boolean synchronous,
RecordHolder model,
MapHolder properties)
Creates a model instance.
|
RecordHolder |
ActionFunctionsImpl.createModelInstance(ExecutionContext ctx,
Boolean synchronous,
RecordHolder model,
RecordHolder processEntity,
MapHolder properties) |
RecordHolder |
ActionFunctions.createModelInstance(ExecutionContext ctx,
Boolean synchronous,
RecordHolder model,
RecordHolder processEntity,
MapHolder properties)
Creates a model instance with a specified process entity record.
|
void |
ActionFunctionsImpl.createProxyOfProperties(ExecutionContext ctx,
RecordHolder record,
Property... properties) |
void |
ActionFunctions.createProxyOfProperties(ExecutionContext ctx,
RecordHolder record,
Property... properties)
Creates change proxy for all object referenced by the property and sets the proxy values to the property.
|
Date |
DateFunctions.date(ExecutionContext ctx,
Decimal epochMillis)
Allocates a
Date object and initializes it to
represent the specified number of milliseconds since the
standard base time known as "the epoch", namely January 1,
1970, 00:00:00 GMT. |
Date |
DateFunctions.date(ExecutionContext ctx,
Decimal year,
Decimal month,
Decimal dayOfMonth)
Creates a date from year, month of year, and dayOfMonth.
|
Date |
DateFunctions.date(ExecutionContext ctx,
Decimal year,
Decimal month,
Decimal dayOfMonth,
Decimal hour,
Decimal minute,
Decimal second,
Decimal millis)
Creates a date from year, month of year, dayOfMonth, hour of day, minute of hour, second of
minute, and millisecond of second.
|
Date |
DateFunctions.date(ExecutionContext ctx,
String string)
Tries to parse given string to
Date value |
Date |
DateFunctions.date(ExecutionContext ctx,
String string,
String pattern)
Will parse date using passed pattern string and date string Must use patterns recognized by
SimpleDateFormat |
Date |
DateFunctions.date(ExecutionContext ctx,
String string,
String pattern,
String locale)
Will parse date using passed pattern string and date string Must use patterns recognized by
SimpleDateFormat |
void |
ReflectionFunctionsImpl.deactivate(ExecutionContext ctx,
CollectionHolder goals) |
void |
ReflectionFunctions.deactivate(ExecutionContext ctx,
CollectionHolder goals)
Deactivates not finished goals.
|
String |
ActionFunctionsImpl.debugLog(ExecutionContext ctx,
ClosureHolder message) |
String |
ActionFunctions.debugLog(ExecutionContext ctx,
ClosureHolder message)
Logs a message to the console at the debug logging level.
|
String |
ActionFunctionsImpl.debugLog(ExecutionContext ctx,
ClosureHolder message,
Decimal level) |
String |
ActionFunctions.debugLog(ExecutionContext ctx,
ClosureHolder message,
Decimal level)
Logs a message to the console at the specified logging level.
|
void |
ActionFunctionsImpl.deleteAllRecords(ExecutionContext ctx,
CollectionHolder records) |
void |
ActionFunctions.deleteAllRecords(ExecutionContext ctx,
CollectionHolder records)
Deletes the specified records and all related data links navigable from the deleted records.
|
void |
ActionFunctionsImpl.deleteRecords(ExecutionContext ctx,
RecordHolder... records) |
void |
ActionFunctions.deleteRecords(ExecutionContext ctx,
RecordHolder... records)
Deletes the specified records and all related data links navigable from the deleted records.
|
ListHolder |
CollectionsFunctions.difference(ExecutionContext ctx,
ListHolder list,
SetHolder set)
Subtracts the set from the list.
|
SetHolder |
CollectionsFunctions.difference(ExecutionContext ctx,
SetHolder set1,
SetHolder set2)
Subtracts the second set from the first set.
|
Object |
ObjectFunctions.error(ExecutionContext ctx,
String code)
Throws an error with the specified code.
|
Object |
ObjectFunctions.error(ExecutionContext ctx,
String code,
String message)
Throws an error with the specified code.
|
Object |
ActionFunctionsImpl.evaluateExpression(ExecutionContext ctx,
Boolean isFullExecutionMode,
ClosureHolder expression) |
Object |
ActionFunctions.evaluateExpression(ExecutionContext ctx,
Boolean isFullExecutionMode,
ClosureHolder expression)
This method evaluates an expression defined in the closure using defined evaluationMode.
|
void |
SqlFileExecuterImpl.execute(ExecutionContext context,
BinaryHolder binaryInput) |
void |
SqlFileExecuter.execute(ExecutionContext context,
BinaryHolder binaryExcelInput)
Execute provided SQL file.
|
protected void |
SqlFileExecuterImpl.executeAsMultiLine(ExecutionContext context,
BinaryHolder binaryInput) |
boolean |
CollectionsFunctions.exists(ExecutionContext ctx,
CollectionHolder collection,
ClosureHolder condition)
Test whether any element in collection will fulfill passed condition
|
boolean |
CollectionsFunctions.exists(ExecutionContext ctx,
ListHolder list,
ClosureHolder condition)
Test whether any element in list will fulfill passed condition
|
boolean |
CollectionsFunctions.exists(ExecutionContext ctx,
SetHolder set,
ClosureHolder condition)
Test whether any element in list will fulfill passed condition
|
RecordHolder |
PdfFunctionsImpl.fillPdfForm(ExecutionContext context,
RecordHolder pdfInput,
String fileName,
MapHolder values) |
RecordHolder |
PdfFunctions.fillPdfForm(ExecutionContext context,
RecordHolder pdfInput,
String fileName,
MapHolder values)
Deprecated.
|
BinaryHolder |
PdfFunctionsImpl.fillPdfTemplate(ExecutionContext context,
BinaryHolder pdfTemplate,
BinaryHolder fdfDocument) |
BinaryHolder |
PdfFunctions.fillPdfTemplate(ExecutionContext context,
BinaryHolder pdfTemplate,
BinaryHolder fdfDocument)
Creates a new PDF document from a template.
|
BinaryHolder |
PdfFunctionsImpl.fillPdfTemplate(ExecutionContext context,
BinaryHolder pdfTemplate,
MapHolder values) |
BinaryHolder |
PdfFunctions.fillPdfTemplate(ExecutionContext context,
BinaryHolder pdfTemplate,
MapHolder values)
Creates a new PDF document from a template.
|
BinaryHolder |
PdfFunctionsImpl.fillXfaPdfTemplate(ExecutionContext context,
BinaryHolder xfaTemplate,
RecordHolder data) |
BinaryHolder |
PdfFunctions.fillXfaPdfTemplate(ExecutionContext context,
BinaryHolder xfaTemplate,
RecordHolder data)
Creates a new PDF document from the XFA template.
|
BinaryHolder |
PdfFunctionsImpl.fillXfaPdfTemplate(ExecutionContext context,
BinaryHolder xfaTemplate,
String xml) |
BinaryHolder |
PdfFunctions.fillXfaPdfTemplate(ExecutionContext context,
BinaryHolder xfaTemplate,
String xml)
Creates a new PDF document from the XFA template.
|
ListHolder |
StringFunctions.find(ExecutionContext ctx,
String string,
String patternStr)
Finds all occurrences of the regexp in the specified string.
|
ListHolder |
QueryFunctionsImpl.findAll(ExecutionContext ctx,
Type type) |
ListHolder |
QueryFunctions.findAll(ExecutionContext ctx,
Type type)
Finds all shared records of a given type.
|
RecordHolder |
QueryFunctionsImpl.findById(ExecutionContext ctx,
Object id,
Type type) |
RecordHolder |
QueryFunctions.findById(ExecutionContext ctx,
Object id,
Type type)
Finds a shared record of a given type with a given primary key.
|
RecordHolder |
QueryFunctionsImpl.findById(ExecutionContext ctx,
Type type,
Object id) |
RecordHolder |
QueryFunctions.findById(ExecutionContext ctx,
Type type,
Object id)
Finds a shared record of a given type with a given primary key.
|
RecordHolder |
QueryFunctionsImpl.findByIdAndRevision(ExecutionContext ctx,
Object id,
Type type,
Decimal auditRevision) |
RecordHolder |
QueryFunctions.findByIdAndRevision(ExecutionContext ctx,
Object id,
Type type,
Decimal auditRevision)
Finds a shared record of a given type with a given primary key for specified audit revision.
|
RecordHolder |
QueryFunctionsImpl.findByRevision(ExecutionContext ctx,
RecordHolder record,
Decimal auditRevision) |
RecordHolder |
QueryFunctions.findByRevision(ExecutionContext ctx,
RecordHolder record,
Decimal auditRevision)
Returns the audited record in the given revision.
|
Decimal |
CollectionsFunctions.findIndex(ExecutionContext ctx,
CollectionHolder collection,
ClosureHolder condition)
Returns the index of the first occurrence of the collection element which
satisfies the specified condition; returns -1 if the condition is false
for all elements of the collection.
|
Decimal |
CollectionsFunctions.findIndex(ExecutionContext ctx,
CollectionHolder collection,
Decimal fromIndex,
ClosureHolder condition)
Returns the index of the first occurrence of the collection element
which satisfies the specified condition, starting at
fromIndex . |
Decimal |
CollectionsFunctions.findIndex(ExecutionContext ctx,
CollectionHolder collection,
Decimal fromIndex,
Decimal toIndex,
ClosureHolder condition)
Returns the index of the first occurrence of the collection element
which satisfies the specified condition, starting at
fromIndex
(inclusive) and finishing at toIndex (exclusive). |
Decimal |
CollectionsFunctions.findLastIndex(ExecutionContext ctx,
CollectionHolder collection,
ClosureHolder condition)
Returns the index of the last occurrence of the collection element which
satisfies the specified condition, searching backwards; returns -1 if the
condition is false for all elements of the collection.
|
Decimal |
CollectionsFunctions.findLastIndex(ExecutionContext ctx,
CollectionHolder collection,
Decimal toIndex,
ClosureHolder condition)
Returns the index of the last occurrence of the collection element which
satisfies the specified condition, searching backwards starting at index
toIndex - 1 ; returns -1 if no such element is found. |
Decimal |
CollectionsFunctions.findLastIndex(ExecutionContext ctx,
CollectionHolder collection,
Decimal fromIndex,
Decimal toIndex,
ClosureHolder condition)
Returns the index of the last occurrence of the collection element which
satisfies the specified condition, searching backwards starting at index
toIndex - 1 up to fromIndex ; returns -1 if no
such element is found. |
SetHolder |
ReflectionFunctionsImpl.findProcessInstances(ExecutionContext context,
ClosureHolder filter) |
SetHolder |
ReflectionFunctions.findProcessInstances(ExecutionContext context,
ClosureHolder filter)
Returns a set of process instances satisfying the specified filtering
criteria.
|
SetHolder |
ReflectionFunctionsImpl.findProcessInstances(ExecutionContext context,
RecordHolder modelInstance,
ClosureHolder filter) |
SetHolder |
ReflectionFunctions.findProcessInstances(ExecutionContext context,
RecordHolder modelInstance,
ClosureHolder filter)
Returns a set of process instances for a model instance satisfying the specified filtering
criteria.
|
RecordHolder |
ValidationFunctions.findTag(ExecutionContext ctx,
String name)
Finds a tag by a given name which can be a simple name or full name.
|
Object |
CollectionsFunctions.fold(ExecutionContext ctx,
CollectionHolder collection,
Object initialValue,
ClosureHolder function)
Combines the elements of the collection together using the binary function, starting with the
initialValue.
|
Object |
CollectionsFunctions.fold(ExecutionContext ctx,
ListHolder list,
Object initialValue,
ClosureHolder function)
Combines the elements of the list together using the binary function, starting with the
initialValue.
|
Object |
CollectionsFunctions.fold(ExecutionContext ctx,
SetHolder set,
Object initialValue,
ClosureHolder function)
Combines the elements of the set together using the binary function, starting with the
initialValue.
|
Object |
CollectionsFunctions.foldWithIndex(ExecutionContext ctx,
CollectionHolder collection,
Object initialValue,
ClosureHolder function)
Combines the elements of the collection together using the binary function, starting with the
initialValue.
|
boolean |
CollectionsFunctions.forAll(ExecutionContext ctx,
CollectionHolder collection,
ClosureHolder condition)
Test whether all elements in collection will fulfill passed condition
|
boolean |
CollectionsFunctions.forAll(ExecutionContext ctx,
ListHolder list,
ClosureHolder condition)
Test whether all elements in list will fulfill passed condition
|
boolean |
CollectionsFunctions.forAll(ExecutionContext ctx,
SetHolder set,
ClosureHolder condition)
Test whether all elements in list will fulfill passed condition
|
String |
DateFunctions.format(ExecutionContext ctx,
java.time.LocalDate date,
String pattern)
Formats a given local date.
|
String |
StringFunctions.format(ExecutionContext ctx,
String pattern,
Object... arguments)
Returns a formatted string using the specified format string and
arguments.
|
String |
DateFunctions.formatDate(ExecutionContext ctx,
Date date,
String pattern,
String timeZone)
Returns a string created by formatting the date to the specified format.
|
String |
DateFunctions.formatDate(ExecutionContext ctx,
Date date,
String pattern,
String timeZone,
String locale)
Returns a string created by formatting the date to the specified format.
|
String |
StringFunctions.formatWithLocale(ExecutionContext ctx,
String pattern,
String locale,
Object... arguments)
Returns a formatted string using the specified format string and
arguments.
|
SetHolder |
GoalFunctions.getAllSubGoals(ExecutionContext ctx,
RecordHolder goal) |
MapHolder |
ReflectionFunctionsImpl.getBinaryDataMetadata(ExecutionContext context,
RecordHolder binaryData) |
MapHolder |
ReflectionFunctions.getBinaryDataMetadata(ExecutionContext context,
RecordHolder binaryData)
Returns map of metadata of binary data.
|
RecordHolder |
DataFunctionsImpl.getBinaryHandle(ExecutionContext context,
Decimal id) |
RecordHolder |
DataFunctions.getBinaryHandle(ExecutionContext context,
Decimal id)
Returns a binary handle of the specified identifier.
|
Type |
TypeFunctions.getCollectionItemType(ExecutionContext ctx,
Type collectionType)
Returns the collection item type.
|
String |
SqlFileExecuterImpl.getCurrentDatabaseName() |
String |
SqlFileExecuter.getCurrentDatabaseName()
DBMS name
|
Decimal |
DateFunctions.getDayOfMonth(ExecutionContext ctx,
Date date)
Returns the day of a month of the date.
|
Decimal |
DateFunctions.getDayOfMonth(ExecutionContext ctx,
java.time.LocalDate date)
Returns the day of a month of the date.
|
Decimal |
DateFunctions.getDayOfWeek(ExecutionContext ctx,
Date date)
Returns the day of a week of the date.
|
Decimal |
DateFunctions.getDayOfWeek(ExecutionContext ctx,
java.time.LocalDate date)
Returns the day of a week of the date.
|
Decimal |
DateFunctions.getDayOfYear(ExecutionContext ctx,
Date date)
Returns the day of a year of the date.
|
Decimal |
DateFunctions.getDayOfYear(ExecutionContext ctx,
java.time.LocalDate date)
Returns the day of a year of the date.
|
SetHolder |
CollectionsFunctions.getDuplicates(ExecutionContext ctx,
CollectionHolder collection)
Returns a set of element which are contained more than one time
in a given collection.
|
String |
LabelFunctions.getEnumerationLiteralLabel(ExecutionContext ctx,
EnumerationImpl enumeration)
Returns the label of the given enumeration literal.
|
Decimal |
DateFunctions.getEpochMillis(ExecutionContext ctx,
Date date)
Returns the number of milliseconds since January 1, 1970, 00:00:00 GMT
represented by this Date object.
|
Object |
CollectionsFunctions.getFirst(ExecutionContext ctx,
CollectionHolder collection)
Returns the first item of the collection, or
null if the
collection is empty. |
Object |
CollectionsFunctions.getFirst(ExecutionContext ctx,
CollectionHolder collection,
ClosureHolder condition)
Returns the first element for which the given condition is true.
|
Decimal |
DateFunctions.getHour(ExecutionContext ctx,
Date date)
Returns the hour of a day of the date.
|
ListHolder |
TypeFunctions.getInstantiableRecordTypes(ExecutionContext ctx,
Type type)
Returns a list of concrete, non-system record types assignable to a given type.
|
Object |
CollectionsFunctions.getLast(ExecutionContext ctx,
CollectionHolder collection)
Returns the last item of the collection, or
null if the
collection is empty. |
Object |
CollectionsFunctions.getLast(ExecutionContext ctx,
CollectionHolder collection,
ClosureHolder condition)
Returns the last element for which the given condition is true.
|
Type |
TypeFunctions.getMapIndexType(ExecutionContext ctx,
Type mapType)
Deprecated.
|
Type |
TypeFunctions.getMapItemType(ExecutionContext ctx,
Type mapType)
Deprecated.
|
Type |
TypeFunctions.getMapKeyType(ExecutionContext ctx,
Type mapType)
Returns the map key type.
|
Type |
TypeFunctions.getMapValueType(ExecutionContext ctx,
Type mapType)
Returns the map value type.
|
Decimal |
DateFunctions.getMillis(ExecutionContext ctx,
Date date)
Returns the millisecond of a second of the date.
|
Decimal |
DateFunctions.getMinute(ExecutionContext ctx,
Date date)
Returns the minute of an hour of the date.
|
RecordHolder |
ReflectionFunctionsImpl.getModel(ExecutionContext ctx,
String name) |
RecordHolder |
ReflectionFunctions.getModel(ExecutionContext ctx,
String name)
Returns a model with the specified name or null, if there is
no such a model.
|
RecordHolder |
ReflectionFunctionsImpl.getModel(ExecutionContext ctx,
String name,
String version) |
RecordHolder |
ReflectionFunctions.getModel(ExecutionContext ctx,
String name,
String version)
Returns a model with the specified name and version, or null, if there is
no such a model instance.
|
RecordHolder |
ReflectionFunctionsImpl.getModelInstance(ExecutionContext context,
Decimal id) |
RecordHolder |
ReflectionFunctions.getModelInstance(ExecutionContext context,
Decimal id)
Returns a model instance with the specified id.
|
MapHolder |
ReflectionFunctionsImpl.getModelInstanceProperties(ExecutionContext context,
RecordHolder modelInstance) |
MapHolder |
ReflectionFunctions.getModelInstanceProperties(ExecutionContext context,
RecordHolder modelInstance)
Returns a map of initialization properties of the specified model
instance.
|
Decimal |
DateFunctions.getMonth(ExecutionContext ctx,
Date date)
Returns the month of a year of the date.
|
Decimal |
DateFunctions.getMonth(ExecutionContext ctx,
java.time.LocalDate date)
Returns the month of a year of the date.
|
RecordHolder |
ReflectionFunctionsImpl.getProcessEntity(ExecutionContext ctx,
Type type) |
RecordHolder |
ReflectionFunctions.getProcessEntity(ExecutionContext ctx,
Type type)
Returns the associated process entity.
|
ListHolder |
PropertyFunctions.getProperties(ExecutionContext ctx,
Type type)
Returns the properties of the given record type.
|
Property |
PropertyFunctions.getProperty(ExecutionContext ctx,
Type type,
String name)
Returns a property with a given name or
null
if there is no property with a given name. |
String |
LabelFunctions.getPropertyLabel(ExecutionContext ctx,
Property property)
Returns the label of the given property.
|
MapHolder |
PropertyFunctions.getPropertyMetadata(ExecutionContext ctx,
Property property)
Returns the property metadata.
|
String |
PropertyFunctions.getPropertyName(ExecutionContext ctx,
Property property)
Returns a property name (a name of the field or association).
|
ListHolder |
PropertyFunctions.getPropertyNames(ExecutionContext ctx,
PropertyPath propertyPath)
Returns the list of property names.
|
RecordType |
PropertyFunctions.getPropertyPathRecordType(ExecutionContext ctx,
PropertyPath propertyPath)
Returns the property path record type.
|
Type |
PropertyFunctions.getPropertyPathType(ExecutionContext ctx,
PropertyPath propertyPath)
Returns the property path type (the type of the last property).
|
Object |
PropertyFunctions.getPropertyPathValue(ExecutionContext ctx,
RecordHolder record,
PropertyPath propertyPath)
Returns the value of the given property path of the given record object.
|
RecordType |
PropertyFunctions.getPropertyRecordType(ExecutionContext ctx,
Property property)
Returns the record type in which this property is declared.
|
ReferenceHolder |
PropertyFunctions.getPropertyReference(ExecutionContext ctx,
ReferenceHolder reference,
Property... properties)
Returns the reference to the object defined by the last property parameter.
|
Type |
PropertyFunctions.getPropertyType(ExecutionContext ctx,
Property property)
Returns a property type.
|
Object |
PropertyFunctions.getPropertyValue(ExecutionContext ctx,
RecordHolder record,
Property property)
Returns the value of the given property of the given record object.
|
Type |
TypeFunctions.getRecordSupertype(ExecutionContext ctx,
Type recordType)
Returns the supertype of the given record type.
|
Type |
TypeFunctions.getReferencedType(ExecutionContext ctx,
Type referenceType)
Returns the referenced type.
|
ListHolder |
QueryFunctionsImpl.getRevisions(ExecutionContext ctx,
Object id,
Type type,
Date from,
Date to) |
ListHolder |
QueryFunctions.getRevisions(ExecutionContext ctx,
Object id,
Type type,
Date from,
Date to)
Returns audit revisions for the entity.
|
ListHolder |
QueryFunctionsImpl.getRevisions(ExecutionContext ctx,
RecordHolder record,
Date from,
Date to) |
ListHolder |
QueryFunctions.getRevisions(ExecutionContext ctx,
RecordHolder record,
Date from,
Date to)
Returns a list of revision identifiers in which the shared record was modified during the period defined by
the from and to parameters.
|
Decimal |
DateFunctions.getSecond(ExecutionContext ctx,
Date date)
Returns the second of a minute of the date.
|
EnumerationImpl |
RestartFunctionsImpl.getStartStatus(ExecutionContext context,
RecordHolder modelInstance) |
EnumerationImpl |
RestartFunctions.getStartStatus(ExecutionContext context,
RecordHolder modelInstance)
Return start status for given model instance
|
MapHolder |
RestartFunctionsImpl.getStartStatuses(ExecutionContext context,
SetHolder modelInstances) |
MapHolder |
RestartFunctions.getStartStatuses(ExecutionContext context,
SetHolder modelInstances)
Return start statuses for given model instances
|
SetHolder |
GoalFunctions.getSubGoals(ExecutionContext ctx,
RecordHolder goal) |
String |
LabelFunctions.getTypeLabel(ExecutionContext ctx,
Type type)
Returns the label of the given type.
|
Decimal |
DateFunctions.getWeek(ExecutionContext ctx,
Date date)
Returns the week of a year of the date.
|
Decimal |
DateFunctions.getYear(ExecutionContext ctx,
Date date)
Returns the year of the date.
|
Decimal |
DateFunctions.getYear(ExecutionContext ctx,
java.time.LocalDate date)
Returns the year of the date.
|
MapHolder |
CollectionsFunctions.groupBy(ExecutionContext ctx,
CollectionHolder collection,
ClosureHolder classifier)
Performs "group by".
|
boolean |
CollectionsFunctions.hasDuplicates(ExecutionContext ctx,
CollectionHolder collection)
Returns
true if the collection contains duplicate elements,
false otherwise. |
Object |
ObjectFunctions.ifNotNull(ExecutionContext ctx,
Object objToCheck,
String objToCheckName,
Object object)
Returns object if the objToCheck is not Null.
|
Decimal |
CollectionsFunctions.indexOf(ExecutionContext ctx,
CollectionHolder collection,
Object value)
Returns the index of the first occurrence of the specified element in the collection, or -1 if the
list does not contain the element.
|
Decimal |
CollectionsFunctions.indexOf(ExecutionContext ctx,
ListHolder list,
Object value)
Returns the index of the first occurrence of the specified element in the list, or -1 if the
list does not contain the element.
|
Decimal |
StringFunctions.indexOf(ExecutionContext ctx,
String string,
String substring)
Returns the index of the first occurrence of the specified substring
within the string.
|
Decimal |
StringFunctions.indexOf(ExecutionContext ctx,
String string,
String substring,
Decimal fromIndex)
Returns the index of the first occurrence of the specified substring
within the string, starting at the specified index.
|
Decimal |
DateFunctions.intervalInDays(ExecutionContext ctx,
Date date1,
Date date2)
Returns a number of days between two dates, date2 - date1.
|
Decimal |
DateFunctions.intervalInHours(ExecutionContext ctx,
Date date1,
Date date2)
Returns a number of hours between two dates, date2 - date1.
|
Decimal |
DateFunctions.intervalInMillis(ExecutionContext ctx,
Date date1,
Date date2)
Returns a number of milliseconds between two dates, date2 - date1.
|
Decimal |
DateFunctions.intervalInMinutes(ExecutionContext ctx,
Date date1,
Date date2)
Returns a number of minutes between two dates, date2 - date1.
|
Decimal |
DateFunctions.intervalInMonths(ExecutionContext ctx,
Date date1,
Date date2)
Returns a number of months between two dates, date2 - date1.
|
Decimal |
DateFunctions.intervalInSeconds(ExecutionContext ctx,
Date date1,
Date date2)
Returns a number of seconds between two dates, date2 - date1.
|
Decimal |
DateFunctions.intervalInWeeks(ExecutionContext ctx,
Date date1,
Date date2)
Returns a number of weeks between two dates, date2 - date1.
|
Decimal |
DateFunctions.intervalInYears(ExecutionContext ctx,
Date date1,
Date date2)
Returns a number of years between two dates, date2 - date1.
|
boolean |
PropertyFunctions.isAutogenerated(ExecutionContext ctx,
Property property)
Returns
true if the property is autogenerated. |
boolean |
StringFunctions.isBlank(ExecutionContext ctx,
String string)
Return
true if the string is either null or only consists of whitespaces. |
boolean |
CollectionsFunctions.isEmpty(ExecutionContext ctx,
CollectionHolder collection)
Test method to check if collection is empty
|
boolean |
CollectionsFunctions.isEmpty(ExecutionContext ctx,
ListHolder list)
Test method to check if list is empty
|
boolean |
CollectionsFunctions.isEmpty(ExecutionContext ctx,
MapHolder map)
Test method to check if map is empty
|
boolean |
CollectionsFunctions.isEmpty(ExecutionContext ctx,
SetHolder set)
Test method to check if passed set is empty
|
boolean |
StringFunctions.isEmpty(ExecutionContext ctx,
String string)
Returns
true if the string is either null or has zero length (contains no characters). |
Boolean |
ObjectFunctions.isInstance(ExecutionContext ctx,
Object object,
Type type)
Returns True, if the specified object is assignment-compatible with (is kind of) type.
|
Boolean |
ReflectionFunctionsImpl.isInState(ExecutionContext ctx,
RecordHolder goalPlan,
String state) |
Boolean |
ReflectionFunctions.isInState(ExecutionContext ctx,
RecordHolder goalPlan,
String state)
Returns true if a goalPlan is in the specified state or any of its
sub-states
|
boolean |
PropertyFunctions.isPrimaryKey(ExecutionContext ctx,
Property property)
Returns true if this property is a part of the primary key.
|
Boolean |
ReflectionFunctionsImpl.isProxy(ExecutionContext ctx,
RecordHolder record) |
Boolean |
ReflectionFunctions.isProxy(ExecutionContext ctx,
RecordHolder record)
Returns true if the record is proxy.
|
boolean |
PropertyFunctions.isReadOnly(ExecutionContext ctx,
PropertyPath propertyPath)
Returns
true if the property path is read-only. |
boolean |
CollectionsFunctions.isSubset(ExecutionContext ctx,
SetHolder set,
SetHolder set2)
Test method to find out whether set1 is subset of set2
|
Boolean |
ObjectFunctions.isSubtype(ExecutionContext ctx,
Type subtype,
Type supertype)
Returns True, if sub type is a sub type of super type.
|
boolean |
PropertyFunctions.isVersion(ExecutionContext ctx,
Property property)
Returns
true if the property is a version field. |
String |
CollectionsFunctions.join(ExecutionContext ctx,
CollectionHolder collection)
Joins string representations of objects in a given collection.
|
String |
CollectionsFunctions.join(ExecutionContext ctx,
CollectionHolder collection,
String joinString)
Joins string representations of objects in a given collection.
|
String |
CollectionsFunctions.join(ExecutionContext ctx,
CollectionHolder collection,
String joinString,
Boolean includeEmpty)
Joins string representations of objects in a given collection.
|
SetHolder |
CollectionsFunctions.keys(ExecutionContext ctx,
MapHolder map)
Returns a set of keys contained in the specified map.
|
SetHolder |
CollectionsFunctions.keysOf(ExecutionContext ctx,
MapHolder map,
Object value)
Returns a set of keys that are mapped to a given value.
|
Decimal |
CollectionsFunctions.lastIndexOf(ExecutionContext ctx,
CollectionHolder collection,
Object value)
Returns the index of the last occurrence of the specified element in the collection, or -1 if the
collection does not contain the element.
|
Decimal |
CollectionsFunctions.lastIndexOf(ExecutionContext ctx,
ListHolder list,
Object value)
Returns the index of the last occurrence of the specified element in the list, or -1 if the
list does not contain the element.
|
Decimal |
StringFunctions.lastIndexOf(ExecutionContext ctx,
String string,
String substring)
Returns the index of the rightmost occurrence of the specified substring
within the string.
|
Decimal |
StringFunctions.lastIndexOf(ExecutionContext ctx,
String string,
String substring,
Decimal fromIndex)
Returns the index of the last occurrence of the specified substring
within the string, searching backward starting at the specified index.
|
Decimal |
StringFunctions.length(ExecutionContext ctx,
String string)
Returns the length of String
|
ListHolder |
CollectionsFunctions.listUnion(ExecutionContext ctx,
CollectionHolder... collections)
Creates a list of all elements in the given collection of collections.
|
ListHolder |
EnumerationFunctions.literals(ExecutionContext ctx,
Type enumeration)
Returns a list of literals from the specified enumeration.
|
String |
EnumerationFunctions.literalToName(ExecutionContext ctx,
EnumerationImpl enumeration)
Transforms the specified enumeration literal to its name represented as string.
|
java.time.LocalDate |
DateFunctions.localDate(ExecutionContext ctx,
Decimal epochDay)
Returns an instance of
LocalDate from the epoch day count. |
java.time.LocalDate |
DateFunctions.localDate(ExecutionContext ctx,
Decimal year,
Decimal month,
Decimal dayOfMonth)
Creates a local date.
|
java.time.LocalDate |
DateFunctions.localDate(ExecutionContext ctx,
String string)
Parses a given local date.
|
String |
StringFunctions.localize(ExecutionContext ctx,
String string,
String language)
Returns the original string with all localizable strings replaced by
their translation.
|
void |
ActionFunctionsImpl.log(ExecutionContext ctx,
String message,
Decimal level) |
void |
ActionFunctions.log(ExecutionContext ctx,
String message,
Decimal level)
Logs a message to the application log on specified level.
|
MapHolder |
CollectionsFunctions.map(ExecutionContext ctx,
CollectionHolder keys,
ClosureHolder valueFunction)
For each key executes a given closure to obtain a map value.
|
MapHolder |
CollectionsFunctions.map(ExecutionContext ctx,
CollectionHolder collection,
ClosureHolder keyFunction,
ClosureHolder valueFunction)
For each element execute a keyFunction to obtain a map key and
valueFunction to obtain a map value.
|
MapHolder |
CollectionsFunctions.map(ExecutionContext ctx,
CollectionHolder keys,
CollectionHolder values)
Creates map from collection of keys and collection of values.
|
MapHolder |
CollectionsFunctions.map(ExecutionContext ctx,
ListHolder keys,
ListHolder values)
Creates map from list of keys and list of values Each of this lists must have same size
|
boolean |
StringFunctions.matches(ExecutionContext ctx,
String string,
String regexp)
Check method to find out if given string matches regex
|
Object |
CollectionsFunctions.max(ExecutionContext ctx,
CollectionHolder collection)
Returns the maximum element from the given collection.
|
Decimal |
NumberFunctions.max(ExecutionContext ctx,
Decimal... values)
Computes max long from all passed long
|
java.time.LocalDate |
DateFunctions.max(ExecutionContext ctx,
java.time.LocalDate... dates) |
Date |
CollectionsFunctions.maxDate(ExecutionContext ctx,
CollectionHolder collection) |
Decimal |
CollectionsFunctions.maxDecimal(ExecutionContext ctx,
CollectionHolder collection) |
Decimal |
CollectionsFunctions.maxInteger(ExecutionContext ctx,
CollectionHolder collection) |
java.time.LocalDate |
CollectionsFunctions.maxLocalDate(ExecutionContext ctx,
CollectionHolder collection) |
String |
CollectionsFunctions.maxString(ExecutionContext ctx,
CollectionHolder collection) |
void |
ActionFunctionsImpl.mergeEvaluation(ExecutionContext ctx) |
void |
ActionFunctions.mergeEvaluation(ExecutionContext ctx)
Merges auxiliary contexts and values to the original execution contexts and values.
|
Object |
CollectionsFunctions.min(ExecutionContext ctx,
CollectionHolder collection)
Returns the minimum element from the given collection.
|
Decimal |
NumberFunctions.min(ExecutionContext ctx,
Decimal... values)
Computes min long from all passed long
|
java.time.LocalDate |
DateFunctions.min(ExecutionContext ctx,
java.time.LocalDate... dates) |
Date |
CollectionsFunctions.minDate(ExecutionContext ctx,
CollectionHolder collection) |
Decimal |
CollectionsFunctions.minDecimal(ExecutionContext ctx,
CollectionHolder collection) |
Decimal |
CollectionsFunctions.minInteger(ExecutionContext ctx,
CollectionHolder collection) |
java.time.LocalDate |
CollectionsFunctions.minLocalDate(ExecutionContext ctx,
CollectionHolder collection) |
String |
CollectionsFunctions.minString(ExecutionContext ctx,
CollectionHolder collection) |
RecordHolder |
DateFunctions.multiplyDuration(ExecutionContext ctx,
RecordHolder duration,
Decimal number)
Returns a duration obtained by multiplying each field of the duration by the specified number and rounding the value down.
|
EnumerationImpl |
EnumerationFunctions.nameToLiteral(ExecutionContext ctx,
Type enumeration,
String name)
Transforms the specified enumeration’s literal name to the corresponding literal value.
|
RecordHolder |
DateFunctions.negateDuration(ExecutionContext ctx,
RecordHolder duration)
Returns a duration obtained by negating of each field of the specified duration.
|
boolean |
CollectionsFunctions.notEmpty(ExecutionContext ctx,
CollectionHolder collection)
Test method to check if collection is not empty.
|
boolean |
CollectionsFunctions.notEmpty(ExecutionContext ctx,
MapHolder map)
Test method to check if map is not empty.
|
void |
ActionFunctionsImpl.notifyModelInstance(ExecutionContext ctx,
Decimal modelInstanceId,
String reason,
Boolean synchronously) |
void |
ActionFunctions.notifyModelInstance(ExecutionContext ctx,
Decimal modelInstanceId,
String reason,
Boolean synchronously)
Notify provided model instance.
|
Decimal |
NumberFunctions.random(ExecutionContext ctx,
Decimal upperBound)
Returns a pseudorandom, uniformly distributed decimal value between 0 (inclusive) and the
upperBound (exclusive).
|
CollectionHolder |
CollectionsFunctions.remove(ExecutionContext ctx,
CollectionHolder collection,
Object... elements)
Returns a collection created by removing first occurrences of the elements from
the collection.
|
ListHolder |
CollectionsFunctions.remove(ExecutionContext ctx,
ListHolder list,
Object... elements)
Returns a list created by removing first occurrences of the elements from
the list.
|
SetHolder |
CollectionsFunctions.remove(ExecutionContext ctx,
SetHolder set,
Object... elements)
Returns a set created by removing first occurrences of the elements from
the set.
|
CollectionHolder |
CollectionsFunctions.removeAll(ExecutionContext ctx,
CollectionHolder collection,
CollectionHolder elements)
Returns a collection created by removing all occurrences of the elements from
the collection.
|
ListHolder |
CollectionsFunctions.removeAll(ExecutionContext ctx,
ListHolder list,
CollectionHolder elements)
Returns a list created by removing all occurrences of the elements from
the list.
|
ListHolder |
CollectionsFunctions.removeAll(ExecutionContext ctx,
ListHolder list,
SetHolder set)
Deprecated.
This method was used in LSPS 2.6
|
SetHolder |
CollectionsFunctions.removeAll(ExecutionContext ctx,
SetHolder set,
CollectionHolder elements)
Returns a set created by removing all occurrences of the elements from
the set.
|
SetHolder |
CollectionsFunctions.removeAll(ExecutionContext ctx,
SetHolder set1,
SetHolder set2)
Deprecated.
This method was used in LSPS 2.6
|
CollectionHolder |
CollectionsFunctions.removeAt(ExecutionContext ctx,
CollectionHolder collection,
Decimal index)
Returns a collection created by removing an element of the collection from the position specified by
index.
|
ListHolder |
CollectionsFunctions.removeAt(ExecutionContext ctx,
ListHolder list,
Decimal index)
Returns a list created by removing an element of the list from the position specified by
index.
|
SetHolder |
CollectionsFunctions.removeAt(ExecutionContext ctx,
SetHolder set,
Decimal index)
Returns a set created by removing an element of the set from the position specified by
index.
|
MapHolder |
CollectionsFunctions.removeKey(ExecutionContext ctx,
MapHolder map,
Object... keys)
Returns a map created by removing the specified key (and its corresponding value) from the
map.
|
MapHolder |
CollectionsFunctions.removeKeys(ExecutionContext ctx,
MapHolder map,
CollectionHolder keys)
Returns a map created by removing the specified keys (and the corresponding values) from the
map.
|
CollectionHolder |
CollectionsFunctions.removeRange(ExecutionContext ctx,
CollectionHolder collection,
Decimal fromIndex,
Decimal toIndex)
Returns a collection created by removing the specified range of elements
from the given collection.
|
ListHolder |
CollectionsFunctions.removeRange(ExecutionContext ctx,
ListHolder list,
Decimal fromIndex,
Decimal toIndex)
Returns a list created by removing the specified range of elements from
the given list.
|
SetHolder |
CollectionsFunctions.removeRange(ExecutionContext ctx,
SetHolder set,
Decimal fromIndex,
Decimal toIndex)
Returns a set created by removing the specified range of elements from
the given set.
|
MapHolder |
CollectionsFunctions.removeValue(ExecutionContext ctx,
MapHolder map,
Object... values)
Returns a map created by removing all occurrences of the specified value (and their
corresponding keys) from the map.
|
CollectionHolder |
CollectionsFunctions.replace(ExecutionContext ctx,
CollectionHolder collection,
Object element1,
Object element2)
Returns a collection created by replacing all occurrences of the element1 by element2 in the collection.
|
ListHolder |
CollectionsFunctions.replace(ExecutionContext ctx,
ListHolder list,
Object element1,
Object element2)
Returns a list created by replacing all occurrences of the element1 by element2 in the list.
|
SetHolder |
CollectionsFunctions.replace(ExecutionContext ctx,
SetHolder set,
Object element1,
Object element2)
Returns a set created by replacing all occurrences of the element1 by element2 in the set.
|
String |
StringFunctions.replaceAll(ExecutionContext ctx,
String string,
String regexp,
String replacement)
Replaces each substring of the string parameter that matches the regular
expression given by the regexp parameter with the string specified as the
replacement parameter.
|
String |
StringFunctions.replaceFirst(ExecutionContext ctx,
String string,
String regexp,
String replacement)
Replaces the first substring of the string that matches the regular
expression given by the regexp parameter with the string specified as the
replacement parameter.
|
MapHolder |
CollectionsFunctions.replaceValue(ExecutionContext ctx,
MapHolder map,
Object value1,
Object value2)
Returns a map created by replacing all occurrences of the values corresponding to the value1
by value2 in the map.
|
RecordHolder |
DataFunctionsImpl.resource(ExecutionContext context,
String module,
String path) |
RecordHolder |
DataFunctions.resource(ExecutionContext context,
String module,
String path)
Creates a binary handle from a module's resource located at the specified path.
|
CollectionHolder |
CollectionsFunctions.retainAll(ExecutionContext ctx,
CollectionHolder collection,
CollectionHolder... collections)
Returns a collection created by intersection of collections.
|
ListHolder |
CollectionsFunctions.retainAll(ExecutionContext ctx,
ListHolder list,
CollectionHolder... collections)
Returns a list created by intersection of list and all collections.
|
ListHolder |
CollectionsFunctions.retainAll(ExecutionContext ctx,
ListHolder list,
SetHolder set)
Deprecated.
This method was used in LSPS 2.6
|
SetHolder |
CollectionsFunctions.retainAll(ExecutionContext ctx,
SetHolder... sets)
Deprecated.
This method was used in LSPS 2.6
|
SetHolder |
CollectionsFunctions.retainAll(ExecutionContext ctx,
SetHolder set,
CollectionHolder... collections)
Returns a set created by intersection of set and all collections.
|
CollectionHolder |
CollectionsFunctions.reverse(ExecutionContext ctx,
CollectionHolder collection)
Returns a collection created by reversing the order of the elements in the specified collection.
|
ListHolder |
CollectionsFunctions.reverse(ExecutionContext ctx,
ListHolder list)
Returns a list created by reversing the order of the elements in the specified list.
|
SetHolder |
CollectionsFunctions.reverse(ExecutionContext ctx,
SetHolder set)
Returns a set created by reversing the order of the elements in the specified set.
|
Decimal |
NumberFunctions.roundCeiling(ExecutionContext ctx,
Decimal number)
Returns rounding of the number towards positive infinity.
|
Decimal |
NumberFunctions.roundDown(ExecutionContext ctx,
Decimal number)
Returns rounding of the number towards zero.
|
Decimal |
NumberFunctions.roundFloor(ExecutionContext ctx,
Decimal number)
Returns rounding of the number towards negative infinity.
|
Decimal |
NumberFunctions.roundHalfDown(ExecutionContext ctx,
Decimal number)
Returns rounding of the number towards the nearest neighbour, if both neighbors are
equidistant, rounds down.
|
Decimal |
NumberFunctions.roundHalfEven(ExecutionContext ctx,
Decimal number)
Returns rounding of the number towards the nearest neighbour, if both neighbors are
equidistant, rounds towards the even neighbor.
|
Decimal |
NumberFunctions.roundHalfUp(ExecutionContext ctx,
Decimal number)
Returns rounding of the number towards the nearest neighbour, if both neighbors are
equidistant, rounds up.
|
Decimal |
NumberFunctions.roundUp(ExecutionContext ctx,
Decimal number)
Returns rounding of the number away from zero.
|
Decimal |
NumberFunctions.scale(ExecutionContext ctx,
Decimal number)
Returns the scale of the number.
|
CollectionHolder |
CollectionsFunctions.select(ExecutionContext ctx,
CollectionHolder collection,
ClosureHolder condition)
Returns a collection all the elements
e from the original collection where condition(e) == true . |
CollectionHolder |
CollectionsFunctions.select(ExecutionContext ctx,
CollectionHolder collection,
Type type)
Returns a collection all elements of the given type, null elements
not included.
|
ListHolder |
CollectionsFunctions.select(ExecutionContext ctx,
ListHolder list,
ClosureHolder condition)
Returns a list containing all the elements
e from the original list where condition(e) == true . |
ListHolder |
CollectionsFunctions.select(ExecutionContext ctx,
ListHolder list,
Type type)
Returns a list all elements of the given type, null elements
not included.
|
MapHolder |
CollectionsFunctions.select(ExecutionContext ctx,
MapHolder map,
ClosureHolder condition)
Returns a map containing all the map entries
(k,v) from the original map where
condition(k,v) == true . |
SetHolder |
CollectionsFunctions.select(ExecutionContext ctx,
SetHolder set,
ClosureHolder condition)
Returns a set containing all the elements
e from the original set where condition(e) == true . |
SetHolder |
CollectionsFunctions.select(ExecutionContext ctx,
SetHolder set,
Type type)
Returns a set all elements of the given type, null elements
not included.
|
void |
ActionFunctionsImpl.sendSignal(ExecutionContext ctx,
Boolean synchronous,
SetHolder receivers,
Object signal) |
void |
ActionFunctions.sendSignal(ExecutionContext ctx,
Boolean sychronous,
SetHolder receivers,
Object signal)
Sends a sync or async signal to receivers.
|
CollectionHolder |
CollectionsFunctions.setAt(ExecutionContext ctx,
CollectionHolder collection,
Decimal index,
Object element)
Returns a collection created by replacing the element at the position given by index in the collection
with the specified element.
|
ListHolder |
CollectionsFunctions.setAt(ExecutionContext ctx,
ListHolder list,
Decimal index,
Object element)
Returns a list created by replacing the element at the position given by index in the list
with the specified element.
|
SetHolder |
CollectionsFunctions.setAt(ExecutionContext ctx,
SetHolder set,
Decimal index,
Object element)
Returns a set created by replacing the element at the position given by index in the set
with the specified element.
|
Date |
DateFunctions.setDate(ExecutionContext ctx,
Date date,
Decimal year,
Decimal month,
Decimal dayOfMonth)
Returns a copy of the date with the year, month, and dayOfMonth fields updated.
|
Date |
DateFunctions.setDayOfMonth(ExecutionContext ctx,
Date date,
Decimal dayOfMonth)
Returns a copy of the date with the dayOfMonth field updated.
|
Date |
DateFunctions.setDayOfWeek(ExecutionContext ctx,
Date date,
Decimal dayOfWeek)
Returns a copy of the date with the dayOfWeek field updated.
|
Date |
DateFunctions.setDayOfYear(ExecutionContext ctx,
Date date,
Decimal dayOfYear)
Returns a copy of the date with the dayOfYear field updated.
|
Date |
DateFunctions.setHour(ExecutionContext ctx,
Date date,
Decimal hour)
Returns a copy of the date with the hour (meaning hour of day) field updated.
|
Date |
DateFunctions.setMillis(ExecutionContext ctx,
Date date,
Decimal millis)
Returns a copy of the date with the millis (meaning millisecond of second) field updated.
|
Date |
DateFunctions.setMinute(ExecutionContext ctx,
Date date,
Decimal minute)
Returns a copy of the date with the minute (meaning minute of hour) field updated.
|
Date |
DateFunctions.setMonth(ExecutionContext ctx,
Date date,
Decimal month)
Returns a copy of the date with the month field updated.
|
void |
PropertyFunctions.setPropertyPathValue(ExecutionContext ctx,
RecordHolder record,
PropertyPath propertyPath,
Object value)
Sets the value of the given property path of the given record object.
|
Object |
PropertyFunctions.setPropertyValue(ExecutionContext ctx,
RecordHolder record,
Property property,
Object value)
Sets the value of the given property of the given record object.
|
Date |
DateFunctions.setSecond(ExecutionContext ctx,
Date date,
Decimal second)
Returns a copy of the date with the second (meaning second of minute) field updated.
|
Date |
DateFunctions.setTime(ExecutionContext ctx,
Date date,
Decimal hour,
Decimal minute,
Decimal second,
Decimal millis)
Returns a copy of the date with the hour (meaning hour of day), minute (meaning minute of
hour), second (meaning second of minute), and millis (meaning millisecond of second) fields
updated.
|
Date |
DateFunctions.setWeek(ExecutionContext ctx,
Date date,
Decimal week)
Returns a copy of the date with the week (meaning week of year) field updated.
|
Date |
DateFunctions.setYear(ExecutionContext ctx,
Date date,
Decimal year)
Returns a copy of the date with the year field updated.
|
Decimal |
DataFunctionsImpl.size(ExecutionContext ctx,
BinaryHolder binary) |
Decimal |
DataFunctions.size(ExecutionContext ctx,
BinaryHolder binary)
Returns the size of the binary data in bytes.
|
Decimal |
CollectionsFunctions.size(ExecutionContext ctx,
CollectionHolder collection)
Return size of a given collection.
|
Decimal |
CollectionsFunctions.size(ExecutionContext ctx,
ListHolder list)
Return size of passed list
|
Decimal |
CollectionsFunctions.size(ExecutionContext ctx,
MapHolder map)
Return size of passed map
|
Decimal |
CollectionsFunctions.size(ExecutionContext ctx,
SetHolder set)
Return size of SetHolder
|
CollectionHolder |
CollectionsFunctions.sort(ExecutionContext ctx,
CollectionHolder collection,
Boolean ascending)
Returns a list or set with items sorted in ascending or descending natural order.
|
CollectionHolder |
CollectionsFunctions.sort(ExecutionContext ctx,
CollectionHolder collection,
ClosureHolder comparator)
Returns items of the collection ordered according to the comparator.
|
ListHolder |
CollectionsFunctions.sort(ExecutionContext ctx,
ListHolder list,
Boolean ascending)
Returns a list with items sorted in ascending or descending natural order.
|
ListHolder |
CollectionsFunctions.sort(ExecutionContext ctx,
ListHolder list,
ClosureHolder comparator)
Returns items of the list ordered according to the comparator.
|
SetHolder |
CollectionsFunctions.sort(ExecutionContext ctx,
SetHolder set,
Boolean ascending)
Returns a set with items sorted in ascending or descending natural order.
|
SetHolder |
CollectionsFunctions.sort(ExecutionContext ctx,
SetHolder set,
ClosureHolder comparator)
Returns items of the set ordered according to the comparator.
|
ListHolder |
CollectionsFunctions.sortByKey(ExecutionContext ctx,
CollectionHolder collection,
ClosureHolder keyExtractor,
Boolean ascending,
Boolean nullsFirst)
Returns a list of elements sorted by keys produced by key extractor.
|
ListHolder |
StringFunctions.split(ExecutionContext ctx,
String string,
String regexp)
Splits the string around matches of regular expression given by the
regexp parameter.
|
ListHolder |
StringFunctions.splitPathname(ExecutionContext ctx,
String name)
Splits a fully specified element name to names of it components which are
separated by the namespace separator (::).
|
CollectionHolder |
CollectionsFunctions.subCollection(ExecutionContext ctx,
CollectionHolder collection,
Decimal fromIndex,
Decimal toIndex)
Returns a collection representing such a portion of the collection, which
starts from the specified fromIndex (inclusive) to the toIndex
(exclusive).
|
ListHolder |
CollectionsFunctions.subList(ExecutionContext ctx,
ListHolder list,
Decimal fromIndex,
Decimal toIndex)
Returns a list which represents the portion of the list between the specified fromIndex,
inclusive, and toIndex, exclusive.
|
SetHolder |
CollectionsFunctions.subSet(ExecutionContext ctx,
SetHolder set,
Decimal fromIndex,
Decimal toIndex)
Returns a set which represents the portion of the set between the
specified fromIndex, inclusive, and toIndex, exclusive.
|
String |
StringFunctions.substring(ExecutionContext ctx,
String string,
Decimal fromIndex,
Decimal toIndex)
Returns a substring of the string
|
Date |
DateFunctions.subtractDurationFromDate(ExecutionContext ctx,
Date date,
RecordHolder duration)
Returns a date obtained by subtracting the duration from the date.
|
java.time.LocalDate |
DateFunctions.subtractDurationFromLocalDate(ExecutionContext ctx,
java.time.LocalDate date,
RecordHolder duration)
Returns a date equal to
date - duration . |
RecordHolder |
DateFunctions.subtractDurations(ExecutionContext ctx,
RecordHolder duration1,
RecordHolder duration2)
Returns a duration obtained by subtracting each field of duration2 from the corresponding field of duration1.
|
RecordHolder |
DateFunctions.subtractLocalDates(ExecutionContext ctx,
java.time.LocalDate date1,
java.time.LocalDate date2)
Returns a duration representing a duration between two dates.
|
Decimal |
CollectionsFunctions.sum(ExecutionContext ctx,
CollectionHolder collection)
Returns a sum of decimals in the given collection.
|
ListHolder |
CollectionsFunctions.swap(ExecutionContext ctx,
ListHolder list,
Decimal index1,
Decimal index2)
Returns a new list of elements of original list with elements at given indexes swapped.
|
void |
ReflectionFunctionsImpl.terminateModelInstance(ExecutionContext context,
RecordHolder modelInstance) |
void |
ReflectionFunctions.terminateModelInstance(ExecutionContext context,
RecordHolder modelInstance)
Terminates given model instance
|
MapHolder |
ReflectionFunctions.thisModelInstanceProperties(ExecutionContext ctx)
Returns a map of initialization properties of the model instance that executed this function.
|
String |
ReflectionFunctionsImpl.thisModelInstanceProperty(ExecutionContext ctx,
String propertyName) |
String |
ReflectionFunctions.thisModelInstanceProperty(ExecutionContext ctx,
String propertyName)
Returns a value of the initialization property of the given name of the model instance
that executed this function.
|
void |
ActionFunctionsImpl.throwEscalation(ExecutionContext ctx,
String escalationCode,
Object payload) |
void |
ActionFunctions.throwEscalation(ExecutionContext ctx,
String escalationCode,
Object payload)
Throws an escalation event with the escalation code and optional payload.
|
Decimal |
StringFunctions.toDecimal(ExecutionContext ctx,
String string)
If possible, converts the string parameter to a decimal value.
|
EnumerationImpl |
EnumerationFunctions.toEnumeration(ExecutionContext ctx,
String string)
Parses a given enumeration full name into enumeration object.
|
Decimal |
StringFunctions.toInteger(ExecutionContext ctx,
String string)
Converts String value using 10 radix to long
|
Decimal |
StringFunctions.toInteger(ExecutionContext ctx,
String string,
Decimal radix)
Converts a given string value to integer using a given radix.
|
ListHolder |
CollectionsFunctions.toList(ExecutionContext ctx,
CollectionHolder collection)
Returns a list of values contained in the set.
|
ListHolder |
CollectionsFunctions.toList(ExecutionContext ctx,
SetHolder set)
Deprecated.
This method was used in LSPS 2.6
|
String |
StringFunctions.toLowerCase(ExecutionContext ctx,
String string)
Converts all characters of the specified string to lower case.
|
SetHolder |
CollectionsFunctions.toSet(ExecutionContext ctx,
CollectionHolder collection)
Returns a set of values contained in the collection.
|
SetHolder |
CollectionsFunctions.toSet(ExecutionContext ctx,
ListHolder list)
Deprecated.
This method was used in LSPS 2.6
|
String |
DataFunctionsImpl.toString(ExecutionContext ctx,
BinaryHolder binary,
String charset) |
String |
DataFunctions.toString(ExecutionContext ctx,
BinaryHolder binary,
String charset)
Converts binary to string.
|
Type |
TypeFunctions.toType(ExecutionContext ctx,
String string)
Parses a given string into a type object.
|
String |
StringFunctions.toUpperCase(ExecutionContext ctx,
String string)
Converts all characters of the string to upper case.
|
String |
StringFunctions.trim(ExecutionContext ctx,
String string)
Returns a copy of the string, with leading and trailing white space
omitted.
|
ListHolder |
ValidationFunctions.validate(ExecutionContext ctx,
CollectionHolder collection,
Property property,
CollectionHolder tags,
MapHolder context)
Validates a given collection of records.
|
ListHolder |
ValidationFunctions.validate(ExecutionContext ctx,
RecordHolder record,
Property property,
CollectionHolder tags,
MapHolder context)
Validates a given record.
|
ListHolder |
CollectionsFunctions.values(ExecutionContext ctx,
MapHolder map)
Returns a list of values contained in the map.
|
Modifier and Type | Class and Description |
---|---|
class |
FlywayErrorException |
Modifier and Type | Method and Description |
---|---|
void |
SqlFileLinesReader.endCurrentSql(int lineNumber)
Called when file ended, so that last statement can be executed in multiline mode.
|
void |
FlywaySqlRunner.executeByFlyway(ExecutionContext context,
BinaryHolder binaryInput,
int lineNumber) |
void |
FlywaySqlRunner.executeByFlyway(ExecutionContext context,
String input,
int lineNumber) |
void |
SqlFileLinesReader.processLine(String line,
int lineNumber)
Parse and run next input line.
|
protected void |
SqlFileLinesReader.runLikeSingleLine(String sql,
int lineNumber) |
Modifier and Type | Method and Description |
---|---|
String |
RunSQLImpl.getCurrentDatabaseName() |
String |
RunSQL.getCurrentDatabaseName() |
void |
RunSQLImpl.runSQL(ExecutionContext ctx,
String sql) |
void |
RunSQL.runSQL(ExecutionContext ctx,
String sql)
Runs a given SQL script in a current transaction.
|
void |
RunSQLImpl.runSQLInNewTransaction(ExecutionContext ctx,
String sql) |
void |
RunSQL.runSQLInNewTransaction(ExecutionContext ctx,
String sql)
Runs a given SQL script in a new transaction.
|
Modifier and Type | Method and Description |
---|---|
EvaluationResultValue |
ModelInstance.evaluateExpressionInEvaluationLevel(Long contextId,
String expression,
String evaluationLevel,
boolean mergeEvaluation)
Evaluates expression in the given context and the specified evaluation level.
|
EvaluationResultValue |
ModelInstance.evaluateExpressionInEvaluationLevel(String expression,
String evaluationLevel,
boolean mergeEvaluation)
Evaluates expression in the specified evaluation level.
|
EvaluationResultValue |
ModelInstance.execute(String expression)
Evaluates expression in base context.
|
Object |
Todo.execute(String expression)
Evaluates expression in base evaluation level in the context of this To-do.
|
EvaluationResultValue |
ModelInstance.execute(String expression,
Long contextId)
Evaluates expression in base evaluation level in the specified context.
|
List<String> |
LspsRemote.getDocumentTitles()
Calls
GenericDocumentService.getAllDocuments() and retrieves document names. |
Modifier and Type | Method and Description |
---|---|
EvaluationResultValue |
TestSupportServiceBean.evaluateExpression(long modelInstanceId,
Long contextId,
String source,
boolean fullExecutionMode,
boolean mergeEval) |
EvaluationResultValue |
TestSupportService.evaluateExpression(long modelInstanceId,
Long contextId,
String expression,
boolean fullExecutionMode,
boolean mergeEvaluation)
Parses the string source of expression and evaluates them.
|
EvaluationResultValue |
TestSupportServiceBean.evaluateExpressionInEvaluationLevel(long modelInstanceId,
Long contextId,
String source,
String evaluationLevel,
boolean mergeEvaluation) |
EvaluationResultValue |
TestSupportService.evaluateExpressionInEvaluationLevel(long modelInstanceId,
Long contextId,
String expression,
String evaluationLevel,
boolean mergeEvaluation)
Parses the string source of expression and evaluates them.
|
EvaluationResultValue |
TestSupportServiceBean.evaluateExpressionInEvaluationLevelDetached(byte[] serializedModelInstance,
Long contextId,
String source,
String evaluationLevel,
boolean mergeEvaluation) |
EvaluationResultValue |
TestSupportService.evaluateExpressionInEvaluationLevelDetached(byte[] serializedModelInstance,
Long contextId,
String source,
String evaluationLevel,
boolean mergeEvaluation)
Evaluates expression in the detached model instance.
|
Modifier and Type | Method and Description |
---|---|
static Object |
ParamUtil.getParameter(String name,
TaskContext context)
Gets the parameter from context.
|
Object |
WsSoapMessageParser.parseMessage(Document document,
ReferenceHolder errorReference,
ListHolder headersReferenceList)
Parse the response from the given xml document and store the result to the passed reference.
|
void |
WsSoapMessageParser.parseMessage(Document document,
ReferenceHolder objectReference,
ReferenceHolder errorReference,
ListHolder headersReferenceList)
Parse the response from the given xml document and store the result to the passed reference.
|
Object |
WsSoapMessageParser.parseMessage(String document,
ReferenceHolder errorReference,
ListHolder headersReferenceList)
Parse the response from the given xml string and store the result to the passed reference
|
void |
WsSoapMessageParser.parseMessage(String document,
ReferenceHolder objectReference,
ReferenceHolder errorReference,
ListHolder headersReferenceList)
Parse the response from the given xml string and store the result to the passed reference
|
Modifier and Type | Method and Description |
---|---|
Object |
WsSoapCallFunctionsImpl.call(ExecutionContext context,
MapHolder soapMetadata,
RecordHolder sslConfig,
String endpointAddress,
String login,
String password,
RecordHolder input,
ListHolder requestSoapHeaders,
MapHolder requestHeaders,
Decimal readTimeout,
Type outputType,
ListHolder responseSoapHeaders,
ReferenceHolder responseHeaders,
ReferenceHolder error,
Boolean logMessages) |
Object |
WsSoapCallFunctions.call(ExecutionContext context,
MapHolder soapMetadata,
RecordHolder sslConfig,
String endpointAddress,
String login,
String password,
RecordHolder input,
ListHolder requestSoapHeaders,
MapHolder requestHeaders,
Decimal readTimeout,
Type outputType,
ListHolder responseSoapHeaders,
ReferenceHolder responseHeaders,
ReferenceHolder error,
Boolean logMessages)
Webservice call.
|
String |
HttpCallFunctions.call(ExecutionContext ctx,
RecordHolder sslConfig,
String endpointAddress,
String httpMethod,
String requestContentType,
String input,
String login,
String password,
Decimal timeoutDecimal,
MapHolder requestHeaders,
ReferenceHolder responseHeaders,
ReferenceHolder resposeCode,
Boolean logMessages) |
HttpCallFunctions.HttpResponse |
HttpCallFunctions.call(SslConfig sslConfig,
String endpointAddress,
String httpMethod,
String requestContentType,
String input,
String login,
String password,
Integer timeout,
Map<String,String> requestHeaders,
Boolean logMessages) |
Modifier and Type | Method and Description |
---|---|
Serializable |
WsSoapCall.collectDataForExecution(TaskContext context) |
Serializable |
HttpClientTask.collectDataForExecution(TaskContext context) |
boolean |
WsSoapCall.executeAsynchronously(TaskContext context) |
boolean |
HttpClientTask.executeAsynchronously(TaskContext context) |
protected WsSoapMessageBuilder |
WsSoapCall.getBuilder(TaskContext context) |
protected Type |
WsSoapCall.getInputType(TaskContext context) |
void |
WsSoapCall.processExecutionResult(TaskContext context,
Serializable data) |
void |
HttpClientTask.processExecutionResult(TaskContext context,
Serializable result) |
Modifier and Type | Method and Description |
---|---|
ExecutableTask.Result |
WsRequestWaitPointTask.processInput(TaskContext context,
Object in) |
ExecutableTask.Result |
RestRequestWaitpointTask.processInput(TaskContext context,
Object input) |
ExecutableTask.Result |
WsResponseTask.start(TaskContext context) |
ExecutableTask.Result |
WsRequestWaitPointTask.start(TaskContext context)
This method starts the task - it only register the WsRequestWaitPoint (i.e.
|
ExecutableTask.Result |
RestResponseTask.start(TaskContext context) |
Modifier and Type | Method and Description |
---|---|
String |
XmlFunctionsImpl.convertToXml(ExecutionContext context,
Object object) |
String |
XmlFunctions.convertToXml(ExecutionContext context,
Object object)
Will convert the given lsps object to xml representation based on the defined xml mapping.
|
Object |
XmlFunctionsImpl.parseXml(ExecutionContext context,
String xml,
Type resultType) |
Object |
XmlFunctions.parseXml(ExecutionContext context,
String xml,
Type resultType)
Parses the given
xml string into the instance of the given type |
Modifier and Type | Method and Description |
---|---|
ExecutableTask.Result |
ParseXmlTask.start(TaskContext context) |
ExecutableTask.Result |
ConvertToXmlTask.start(TaskContext context) |
Modifier and Type | Class and Description |
---|---|
class |
XmlParsingException
This exception occurs if any problem with xml processing (parsing, building) is
detected.
|
class |
XmlProcessingException
This exception occurs if any problem with xml processing (parsing, building) is
detected.
|
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.