Modifier and Type | Method and Description |
---|---|
protected ExecutionContext |
InlineStartEventInterpreter.getEventContext() |
ExecutionContext |
ModelProviderClientService.getExecutionContext(long modelInstanceId)
Returns an execution context for the given model instance id or null if it does not exist.
|
ExecutionContext |
ModelProviderClientService.getExecutionContext(long modelInstanceId,
long contextId)
Returns an execution context for the given context in the model instance or null if it does not exist.
|
ExecutionContext |
ModelProviderClientService.getExecutionContext(long modelInstanceId,
long contextId,
String level)
Returns an execution context for the given context in the model instance or null if it does not exist.
|
ExecutionContext |
ModelProviderClientService.getExecutionContext(long modelId,
ModelInstanceType modelInstanceType,
String level)
Returns an execution context for the given model or null if it does not exist.
|
ExecutionContext |
ModelProviderClientService.getPersistentExecutionContext(long modelId,
ModelInstanceType type,
String evaluationLevel)
Returns an execution context for the given model or null if it does not exist.
|
protected ExecutionContext |
InlineStartEventInterpreter.getVariableExecutionContext() |
Modifier and Type | Method and Description |
---|---|
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.
|
static void |
ActivationUtil.deactivateGoal(long processInstanceId,
String name,
ExecutionContext agent,
boolean force)
Deactivates given goal if not null and if it can be deactivated.
|
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.
|
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) |
static void |
ActivationUtil.reactivateGoal(long processInstanceId,
String name,
ExecutionContext agent,
boolean force)
Reactivates given goal if not null and if it can be activated.
|
Type |
ModelCache.resolveType(String type,
ExecutionContext ctx)
Parses given type string representation using resolver for current process.
|
Modifier and Type | Interface and Description |
---|---|
interface |
TaskContext |
Modifier and Type | Class and Description |
---|---|
class |
AbstractExecutionContext
This class contains functionality of
ExecutionContext that should be
common to all its implementations. |
class |
ExecutionContextImpl
Simple implementation of
ExecutionContext . |
class |
JavaOperationExecutionContext
An execution context for a Java operation.
|
class |
TaskContextImpl |
Modifier and Type | Method and Description |
---|---|
ExecutionContext |
EvaluationLevelConverter.executionContextInLevel(String level,
ExecutionContext executionContext)
Returns an execution context for an specified evaluation level.
|
ExecutionContext |
AbstractContextNamespace.getExecutionContext() |
ExecutionContext |
JavaOperationExecutionContext.getParentContext() |
ExecutionContext |
ExecutionContextImpl.getParentContext() |
ExecutionContext |
ExecutionContext.getParentContext()
Returns the parent execution context or null if it does not exist.
|
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.
|
ExecutionContext |
EvaluationLevelConverter.executionContextInLevel(String level,
ExecutionContext executionContext)
Returns an execution context for an specified evaluation level.
|
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.
|
Constructor and Description |
---|
JavaOperationExecutionContext(ExecutionContext executionContext,
InterpreterStackTrace stackTrace)
Creates a new execution context for a Java operation.
|
JavaOperationExecutorImpl(ExecutionContext executionContext)
Constructs a new Java operation executor.
|
Modifier and Type | Class and Description |
---|---|
class |
AdditionalExpressionCompiledContext |
class |
CompiledContext
Java class that represents execution context in the generated java code.
|
Modifier and Type | Method and Description |
---|---|
ExecutionContext |
CompiledRecord.getExecutionContext() |
protected ExecutionContext |
CompiledContext.getExecutionContext() |
static ExecutionContext |
CompiledRecord.getExecutionContext(Namespace namespace) |
ExecutionContext |
CompiledContext.getParentContext() |
Modifier and Type | Method and Description |
---|---|
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 |
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) |
Constructor and Description |
---|
NativeQueryExecutor(ModelProvider modelProvider,
ExecutionContext context)
Creates new instance.
|
NativeQueryExecutor(ModelProvider modelProvider,
ExecutionContext context,
InterpreterStackTrace stackTrace)
Creates new instance.
|
QueryExecutor(ExecutionContext context)
Creates new instance.
|
QueryExecutor(ExecutionContext context,
InterpreterStackTrace stackTrace)
Creates new instance.
|
Modifier and Type | Class and Description |
---|---|
class |
MockExecutionContext
This is a simple implementation of
ExecutionContext which should be
used for testing. |
class |
MockTaskContext |
Modifier and Type | Method and Description |
---|---|
ExecutionContext |
MockExecutionContext.getParentContext() |
ExecutionContext |
MockTaskContext.getParentContext() |
Constructor and Description |
---|
MockExecutionContext(Namespace namespace,
ExecutionContext parentContext,
long contextId,
com.whitestein.lsps.model.ContextModelElement element)
Creates new instance.
|
MockJavaOperationExecutor(ExecutionContext executionContext) |
MockTaskContext(ExecutionContext executionContext)
Creates new instance.
|
MockTaskContext(ExecutionContext executionContext,
com.whitestein.lsps.model.Task task,
long taskId,
Map<String,?> parameters)
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
protected ExecutionContext |
RecordValidator.getExecutionContext()
Returns the execution context.
|
Constructor and Description |
---|
RecordValidator(ExecutionContext ctx)
Creates a record validator.
|
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 |
---|---|
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) |
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) |
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.
|
RecordHolder |
HumanFunctionsImpl.getCurrentTodo(ExecutionContext context) |
RecordHolder |
HumanFunctions.getCurrentTodo(ExecutionContext context)
Returns the currently opened to-do.
|
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.rejectTodo(ExecutionContext context,
RecordHolder todo,
SetHolder persons,
String reason) |
void |
HumanFunctions.rejectTodo(ExecutionContext context,
RecordHolder todo,
SetHolder persons,
String reason)
Reject todo for all specified persons.
|
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 |
---|---|
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 |
---|---|
Object |
JsonGenericParser.parse(String json,
ExecutionContext ctx)
Deprecated.
|
Object |
JsonGenericParser.parse(String json,
ExecutionContext ctx,
boolean doInsert,
boolean doUpdate) |
Object |
JsonParser.parse(String json,
Type resultType,
ExecutionContext ctx)
Parses the JSON string and produces LSPS objects out of it.
|
Object |
JsonParser.parse(String json,
Type resultType,
ExecutionContext ctx,
boolean doInsert,
boolean doUpdate) |
Modifier and Type | Method and Description |
---|---|
ExecutionContext |
ModelProviderServiceBean.getExecutionContext(long modelInstanceId) |
ExecutionContext |
ModelProviderServiceBean.getExecutionContext(long modelInstanceId,
long contextId) |
ExecutionContext |
ModelProviderServiceBean.getExecutionContext(long modelInstanceId,
long contextId,
String evaluationLevel) |
ExecutionContext |
ModelProviderServiceBean.getExecutionContext(long modelId,
ModelInstanceType type,
String evaluationLevel) |
ExecutionContext |
ModelProviderServiceBean.getPersistentExecutionContext(long modelId,
ModelInstanceType type,
String evaluationLevel) |
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 |
---|---|
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.
|
static DmnEvaluator |
DmnEvaluator.create(ExecutionContext ctx,
HitPolicy hitPolicy,
com.whitestein.lsps.stdlib.dmn.DmnExpressionEvaluator expressionEvaluator,
String module,
List<Parameter> inputs,
List<Parameter> outputs,
List<Rule> rules)
Creates an evaluator instance.
|
ListHolder |
DmnFunctionsImpl.evaluateList(ExecutionContext ctx,
ListHolder inputValues)
Evaluates the decision table.
|
ListHolder |
DmnFunctionsImpl.evaluateMap(ExecutionContext ctx,
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.
|
void |
ActionFunctionsImpl.cleanEvaluation(ExecutionContext ctx) |
void |
ActionFunctions.cleanEvaluation(ExecutionContext ctx)
Cleans auxiliary contexts and values used by the evaluation in the 'isFullExecutionMode = false' mode.
|
void |
RestartFunctionsImpl.clearApplicationRestartData(ExecutionContext context) |
void |
RestartFunctions.clearApplicationRestartData(ExecutionContext context)
Clears the information about previous application restart.
|
Object |
ObjectFunctions.clone(ExecutionContext ctx,
Object object)
If the object is
RecordHolder a copy is created otherwise the same object is
returned. |
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.
|
ClosureHolder |
ActionFunctionsImpl.compileClosure(ExecutionContext ctx,
String closureString) |
ClosureHolder |
ActionFunctions.compileClosure(ExecutionContext ctx,
String closureString) |
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.
|
RecordProxySetHolder |
ActionFunctionsImpl.createProxySet(ExecutionContext ctx,
RecordHolder parentProxySet) |
RecordProxySetHolder |
ActionFunctions.createProxySet(ExecutionContext ctx,
RecordHolder parentProxySet)
Creates new record proxy set.
|
java.time.LocalDate |
DateFunctions.currentDate(ExecutionContext ctx)
Returns the current date (today).
|
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
|
void |
RestartFunctionsImpl.explicitFinishing(ExecutionContext context) |
void |
RestartFunctions.explicitFinishing(ExecutionContext context)
Specifies that the current model instance starting is finished explicitly,
by calling the modelInstanceStartSucceeded() function.
|
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.findModelInstances(ExecutionContext context,
String model,
String version,
Boolean isRunning,
MapHolder properties) |
SetHolder |
ReflectionFunctions.findModelInstances(ExecutionContext context,
String model,
String version,
Boolean isRunning,
MapHolder properties)
Returns a set of model instances satisfying the specified criteria.
|
SetHolder |
ReflectionFunctionsImpl.findModels(ExecutionContext ctx,
String name,
String version,
Boolean latestOnly) |
SetHolder |
ReflectionFunctions.findModels(ExecutionContext ctx,
String name,
String version,
Boolean latestOnly)
Returns a set of all uploaded models satisfying the specified filtering
criteria.
|
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.
|
void |
ActionFunctionsImpl.flushAndRefresh(ExecutionContext ctx,
RecordHolder... record) |
void |
ActionFunctions.flushAndRefresh(ExecutionContext ctx,
RecordHolder... record)
Executes flush on all relevant sessions and performs refresh (re-read from database) on the specified records.
|
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.
|
ListHolder |
AdvancedReflectionFunctionsImpl.getAllGoals(ExecutionContext ctx) |
ListHolder |
AdvancedReflectionFunctions.getAllGoals(ExecutionContext ctx) |
ListHolder |
AdvancedReflectionFunctionsImpl.getAllRoleUnits(ExecutionContext ctx) |
ListHolder |
AdvancedReflectionFunctions.getAllRoleUnits(ExecutionContext ctx) |
SetHolder |
GoalFunctions.getAllSubGoals(ExecutionContext ctx,
RecordHolder goal) |
Object |
ApplicationDataFunctions.getApplicationData(ExecutionContext ctx,
String key)
Returns an application data object with the specified key.
|
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.
|
Decimal |
ReflectionFunctionsImpl.getCurrentInvocationTimestamp(ExecutionContext ctx) |
Decimal |
ReflectionFunctions.getCurrentInvocationTimestamp(ExecutionContext ctx)
Returns current invocation timestamp.
|
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.getEpochDay(ExecutionContext ctx,
java.time.LocalDate date)
Returns the epoch day.
|
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.
|
String |
UtilFunctions.getErrorCode(ExecutionContext ctx) |
String |
UtilFunctions.getErrorMessage(ExecutionContext ctx) |
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.
|
ListHolder |
AdvancedReflectionFunctionsImpl.getForms(ExecutionContext ctx,
String namePattern,
ListHolder arguments,
MapHolder metadataPattern) |
ListHolder |
AdvancedReflectionFunctions.getForms(ExecutionContext ctx,
String namePattern,
ListHolder arguments,
MapHolder metadataPattern) |
ListHolder |
AdvancedReflectionFunctionsImpl.getFunctions(ExecutionContext ctx,
String namePattern,
ListHolder arguments,
Type returnType,
MapHolder metadataPattern) |
ListHolder |
AdvancedReflectionFunctions.getFunctions(ExecutionContext ctx,
String namePattern,
ListHolder arguments,
Type returnType,
MapHolder metadata) |
ListHolder |
AdvancedReflectionFunctionsImpl.getFunctions(ExecutionContext ctx,
String name,
MapHolder arguments,
Type returnType) |
ListHolder |
AdvancedReflectionFunctions.getFunctions(ExecutionContext ctx,
String name,
MapHolder arguments,
Type returnType) |
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.
|
Type |
CollectionsFunctions.getItemType(ExecutionContext ctx,
Type type)
Deprecated.
Replaced by
TypeFunctions.getCollectionItemType(ExecutionContext, Type) . This function is used in LSPS 3.1 |
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) |
ListHolder |
ActionFunctionsImpl.mergeAllProxies(ExecutionContext ctx,
Boolean checkConflicts,
CollectionHolder records) |
ListHolder |
ActionFunctions.mergeAllProxies(ExecutionContext ctx,
Boolean checkConflicts,
CollectionHolder records)
Merges changes from the proxies to the proxied records.
|
void |
ActionFunctionsImpl.mergeEvaluation(ExecutionContext ctx) |
void |
ActionFunctions.mergeEvaluation(ExecutionContext ctx)
Merges auxiliary contexts and values to the original execution contexts and values.
|
ListHolder |
ActionFunctionsImpl.mergeProxies(ExecutionContext ctx,
Boolean checkConflicts,
Object... records) |
ListHolder |
ActionFunctions.mergeProxies(ExecutionContext ctx,
Boolean checkConflicts,
Object... records)
Merges changes from the proxies to the proxied records.
|
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) |
void |
RestartFunctionsImpl.modelInstanceStartSucceeded(ExecutionContext context) |
void |
RestartFunctions.modelInstanceStartSucceeded(ExecutionContext context)
Tells that the model instance starting succeded.
|
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.
|
void |
RestartFunctionsImpl.setCountOfModelInstancesToStart(ExecutionContext context,
Decimal count) |
void |
RestartFunctions.setCountOfModelInstancesToStart(ExecutionContext context,
Decimal count)
Sets the number of model instances to be restarted.
|
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
|
RecordHolder |
DateFunctions.subtractDates(ExecutionContext ctx,
Date date1,
Date date2)
Returns a duration obtained by subtracting the date2 from the date1.
|
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
|
RecordHolder |
ReflectionFunctionsImpl.thisModel(ExecutionContext ctx) |
RecordHolder |
ReflectionFunctions.thisModel(ExecutionContext ctx) |
RecordHolder |
ReflectionFunctionsImpl.thisModelInstance(ExecutionContext ctx) |
RecordHolder |
ReflectionFunctions.thisModelInstance(ExecutionContext ctx) |
MapHolder |
ReflectionFunctionsImpl.thisModelInstanceProperties(ExecutionContext ctx) |
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.
|
ProcessInstanceHolder |
ReflectionFunctionsImpl.thisProcessInstance(ExecutionContext ctx) |
ProcessInstanceHolder |
ReflectionFunctions.thisProcessInstance(ExecutionContext ctx) |
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.
|
BinaryHolder |
DataFunctionsImpl.toBinary(ExecutionContext ctx,
String str) |
BinaryHolder |
DataFunctions.toBinary(ExecutionContext ctx,
String str)
Converts the specified string to binary.
|
Date |
DateFunctions.toDate(ExecutionContext ctx,
java.time.LocalDate localDate)
Create an instance of
Date from the LocalDate instance (at start of day). |
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
|
java.time.LocalDate |
DateFunctions.toLocalDate(ExecutionContext ctx,
Date date)
Create an instance of
LocalDate from the Date instance. |
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.
|
String |
StringFunctions.toString(ExecutionContext ctx,
Object object)
Converts object to String using
Object.toString() method |
String |
StringFunctions.toString(ExecutionContext ctx,
Object object,
Boolean expandRecords)
Converts object to String using
Object.toString() method. |
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.
|
String |
UtilFunctions.uuid(ExecutionContext ctx) |
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.
|
void |
RestartFunctionsImpl.watchStarting(ExecutionContext context,
RecordHolder modelInstance) |
void |
RestartFunctions.watchStarting(ExecutionContext context,
RecordHolder modelInstance)
Adds the model instance to a list of started model instances.
|
Modifier and Type | Method and Description |
---|---|
void |
FlywaySqlRunner.executeByFlyway(ExecutionContext context,
BinaryHolder binaryInput,
int lineNumber) |
void |
FlywaySqlRunner.executeByFlyway(ExecutionContext context,
String input,
int lineNumber) |
Constructor and Description |
---|
SqlFileLinesReader(ExecutionContext context,
RunSQL runner,
FlywaySqlRunner flywayRunner) |
Modifier and Type | Method and Description |
---|---|
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 |
---|---|
void |
VaadinUtilsCommon.addTab(ExecutionContext ctx,
RecordHolder tabbedLayout,
RecordHolder tab)
Adds tab to tabbed layout.
|
void |
VaadinUtilsCommon.clear(ExecutionContext ctx,
CollectionHolder viewModels) |
void |
VaadinUtilsCommon.collectGarbage(ExecutionContext ctx) |
RecordHolder |
VaadinUtilsCommon.createAndAdd(ExecutionContext ctx,
Object wwhat,
RecordHolder wwhere) |
RecordHolder |
VaadinUtilsCommon.createAndShow(ExecutionContext ctx,
RecordHolder def)
Only popup is supported.
|
ListHolder |
VaadinUtilsCommon.findTopmostComponents(ExecutionContext ctx,
Type type,
RecordHolder root) |
RecordHolder |
VaadinUtilsCommon.getBrowserWindowSize(ExecutionContext ctx) |
ListHolder |
VaadinUtilsCommon.getChildren(ExecutionContext ctx,
RecordHolder def) |
ListHolder |
VaadinUtilsCommon.getTabs(ExecutionContext ctx,
RecordHolder tabbedLayout) |
void |
VaadinUtilsCommon.hideAndDestroy(ExecutionContext ctx,
RecordHolder def)
Hide pop-up.
|
void |
VaadinUtilsCommon.invoke(ExecutionContext ctx,
CollectionHolder targets,
String methodName,
ListHolder parameters)
Invoke method on each target container.
|
boolean |
VaadinUtilsCommon.isDescendantOrSelf(ExecutionContext ctx,
RecordHolder parent,
RecordHolder child) |
void |
VaadinUtilsCommon.merge(ExecutionContext ctx,
CollectionHolder viewModels) |
void |
VaadinUtilsCommon.notify(ExecutionContext ctx,
String caption,
String description,
EnumerationImpl type,
EnumerationImpl alignment,
Decimal delayMillis,
String cssStyle,
Boolean htmlContentAllowed)
Shows notification.
|
void |
VaadinUtilsCommon.persist(ExecutionContext ctx)
Persist execution contexts.
|
void |
VaadinUtilsCommon.refresh(ExecutionContext ctx,
CollectionHolder components)
Refresh components
|
void |
VaadinUtilsCommon.removeAll(ExecutionContext ctx,
RecordHolder wwhere)
Remove all childs of VerticalLayout, HorizontalLayout or FormLayout
|
void |
VaadinUtilsCommon.removeAndDestroy(ExecutionContext ctx,
RecordHolder wwhat,
RecordHolder wwhere)
Remove and destroy what component.
|
void |
VaadinUtilsCommon.removeTab(ExecutionContext ctx,
RecordHolder tabbedLayout,
RecordHolder tab)
Remove the tab.
|
void |
VaadinUtilsCommon.requestSubmit(ExecutionContext ctx)
Marks the screen for submission.
|
void |
VaadinUtilsCommon.requestSubmitAndNavigate(ExecutionContext ctx,
RecordHolder navigateTo)
Marks the screen for submission and navigate away.
|
void |
VaadinUtilsCommon.selectTab(ExecutionContext ctx,
RecordHolder tabbedLayout,
RecordHolder tab)
Open the tab.
|
void |
VaadinUtilsCommon.showConstraintViolations(ExecutionContext ctx,
ListHolder constraintViolations)
Map constraint violations to visible components.
|
Constructor and Description |
---|
WsSoapMessageParser(ExecutionContext context,
Type outputType,
List<RecordType> soapFaultTypes,
Map<String,String> metadata,
String metadataPrefix,
boolean useDefaultMapping,
BinaryDataService binaryDataService,
CoreTypeFactory coreTypeFactory)
Constructs new instance initialized with given output type and soap fault types.
|
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) |
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 |
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.