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.
|
Decimal |
SharedRecordTypeFactory.hqlQueryCount(ExecutionContext context,
com.whitestein.lsps.model.sharedrecord.HQLQuerySpecification querySpecification,
Collection<?> parameters)
Executes the given HQL count query.
|
Modifier and Type | Method and Description |
---|---|
Decimal |
DecimalValue.toObject() |
Modifier and Type | Method and Description |
---|---|
protected static Decimal |
CompiledNamespace.special(Decimal before,
Decimal after) |
Modifier and Type | Method and Description |
---|---|
Object |
CompiledNamespace.get(CollectionHolder collection,
Decimal index) |
protected static Decimal |
CompiledNamespace.special(Decimal before,
Decimal after) |
Modifier and Type | Method and Description |
---|---|
Decimal |
QueryExecutor.count(ClosureHolder closureWithQuery,
String recordIterator,
Expression additionalWhereExp)
Dynamically creates query and executes it.
|
Decimal |
SharedRecordTypeFactoryImpl.count(ExecutionContext context,
ClosureHolder closureWithQuery,
String iterator,
Expression whereExpression) |
Decimal |
SharedRecordTypeFactoryImpl.count(ExecutionContext context,
Object querySpecification,
Collection<?> parameters) |
Decimal |
SharedRecordTypeFactoryImpl.count(ExecutionContext context,
com.whitestein.lsps.model.sharedrecord.SharedRecordType recordType,
String iterator,
Expression whereExpression) |
Decimal |
QueryExecutor.count(com.whitestein.lsps.model.sharedrecord.HQLQuerySpecification spec,
Collection<?> parameters)
Executes the count query.
|
protected Decimal |
QueryExecutor.count(List<com.whitestein.lsps.engine.sharedrecord.QueryExecutor.WhereExpression> whereExpressions)
Dynamically creates query and executes it.
|
Decimal |
QueryExecutor.count(com.whitestein.lsps.model.sharedrecord.QuerySpecification spec,
Collection<?> parameters)
Executes the given query and returns a list of results.
|
Decimal |
QueryExecutor.count(com.whitestein.lsps.model.sharedrecord.SharedRecordType type,
String recordIterator,
Expression whereExp)
Dynamically creates query and executes it.
|
Decimal |
QueryExecutor.countAll(RecordType recordType)
Runs a count query for records of a given type.
|
Decimal |
SharedRecordTypeFactoryImpl.hqlQueryCount(ExecutionContext context,
com.whitestein.lsps.model.sharedrecord.HQLQuerySpecification querySpecification,
Collection<?> parameters) |
Modifier and Type | Method and Description |
---|---|
Decimal |
SDecimalValue.getValue() |
Decimal |
SDecimalAdapter.unmarshal(String v) |
Modifier and Type | Method and Description |
---|---|
String |
SDecimalAdapter.marshal(Decimal v) |
Constructor and Description |
---|
SDecimalValue(Decimal value)
Creates new instance of
SDecimalValue . |
Modifier and Type | Method and Description |
---|---|
Decimal |
DecimalValue.getValue() |
Constructor and Description |
---|
DecimalValue(Decimal value)
Creates new instance of
DecimalValue . |
Modifier and Type | Method and Description |
---|---|
Decimal |
TestFunctionsImpl.dynamicCountQuery(ExecutionContext ctx,
ClosureHolder closureWithQuery,
String iterator,
String where) |
Decimal |
TestFunctions.dynamicCountQuery(ExecutionContext ctx,
ClosureHolder closureWithQuery,
String iterator,
String where) |
Decimal |
TestFunctionsImpl.dynamicCountQuery(ExecutionContext ctx,
Type recordType,
String iterator,
String where) |
Decimal |
TestFunctions.dynamicCountQuery(ExecutionContext ctx,
Type recordType,
String iterator,
String where) |
Modifier and Type | Method and Description |
---|---|
String |
TestFunctionsImpl.compareModelInstances(Decimal modelInstanceId1,
Decimal modelInstanceId2) |
String |
TestFunctions.compareModelInstances(Decimal modelInstanceId1,
Decimal modelInstanceId2)
Compares two model instances.
|
ListHolder |
TestFunctionsImpl.dynamicAuditQuery(ExecutionContext ctx,
Type recordType,
String iterator,
String where,
ListHolder ordering,
Decimal index,
Decimal count,
Decimal revision,
ListHolder auditCriteria) |
ListHolder |
TestFunctions.dynamicAuditQuery(ExecutionContext ctx,
Type recordType,
String iterator,
String where,
ListHolder ordering,
Decimal index,
Decimal count,
Decimal revision,
ListHolder auditCriteria) |
ListHolder |
TestFunctionsImpl.dynamicQuery(ExecutionContext ctx,
ClosureHolder closureWithQuery,
String iterator,
String where,
ListHolder ordering,
Decimal index,
Decimal count) |
ListHolder |
TestFunctions.dynamicQuery(ExecutionContext ctx,
ClosureHolder closureWithQuery,
String iterator,
String where,
ListHolder ordering,
Decimal index,
Decimal count) |
ListHolder |
TestFunctionsImpl.dynamicQuery(ExecutionContext ctx,
Type recordType,
String iterator,
String where,
ListHolder ordering,
Decimal index,
Decimal count) |
ListHolder |
TestFunctions.dynamicQuery(ExecutionContext ctx,
Type recordType,
String iterator,
String where,
ListHolder ordering,
Decimal index,
Decimal count) |
Modifier and Type | Method and Description |
---|---|
Decimal |
TestRecordD.func2(Decimal par1) |
Decimal |
TestRecordC.func2(Decimal par1) |
Modifier and Type | Method and Description |
---|---|
Decimal |
TestRecordD.func2(Decimal par1) |
Decimal |
TestRecordC.func2(Decimal par1) |
Modifier and Type | Method and Description |
---|---|
Decimal |
DynamicQueriesBean.queryRecordCount(ExecutionContext ctx,
ClosureHolder query,
String iterator,
String whereExpr) |
Decimal |
DynamicQueriesBean.sharedRecordCount(ExecutionContext ctx,
Type type,
String iterator,
String whereExpr) |
Modifier and Type | Method and Description |
---|---|
ListHolder |
DynamicQueriesBean.queryRecordList(ExecutionContext ctx,
ClosureHolder query,
Decimal startIndex,
Decimal count,
String iterator,
String whereExpr,
List<com.whitestein.lsps.model.sharedrecord.QueryOrderingItem> orderings) |
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 |
---|---|
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.
|
Modifier and Type | Field and Description |
---|---|
static Decimal |
Decimal.MINUS_ONE
Decimal with value -1.
|
static Decimal |
Decimal.ONE
Decimal with value 1.
|
static Decimal |
Decimal.ZERO
Decimal with value 0.
|
Modifier and Type | Method and Description |
---|---|
Decimal |
Decimal.abs()
Returns a
Decimal whose value is the absolute value of this
Decimal , and whose scale is this.scale() . |
Decimal |
Decimal.add(Decimal augend)
Returns a
Decimal whose value is (this + augend) . |
Decimal |
Decimal.divide(Decimal divisor)
Returns a
Decimal whose value is (this / divisor) . |
Decimal |
Decimal.divideToIntegralValue(Decimal divisor)
Returns a
Decimal whose value is the integer part of the quotient
(this / divisor) rounded down. |
Decimal |
DurationRecord.getDaysDecimal()
Returns the days property.
|
Decimal |
DurationRecord.getHoursDecimal()
Returns the hours property.
|
Decimal |
DurationRecord.getMillisDecimal()
Returns the millis property.
|
Decimal |
DurationRecord.getMinutesDecimal()
Returns the minutes property.
|
Decimal |
DurationRecord.getMonthsDecimal()
Returns the months property.
|
Decimal |
DurationRecord.getSecondsDecimal()
Returns the seconds property.
|
Decimal |
DurationRecord.getWeeksDecimal()
Returns the weeks property.
|
Decimal |
DurationRecord.getYearsDecimal()
Returns the years property.
|
Decimal |
Decimal.multiply(Decimal multiplicand)
Returns a
Decimal whose value is (this ×
multiplicand) . |
Decimal |
Decimal.negate()
Returns a
Decimal whose value is (-this) . |
Decimal |
Decimal.pow(int n)
Returns a
Decimal whose value is (this<sup>n</sup>) , The
power is computed exactly, to unlimited precision. |
Decimal |
Decimal.remainder(Decimal divisor)
Returns a
Decimal whose value is (this % divisor) . |
Decimal |
Decimal.setScale(int newScale,
RoundingMode roundingMode)
Returns a
Decimal whose scale is the specified value, and whose
unscaled value is determined by multiplying or dividing this Decimal 's unscaled value by the appropriate power of ten to maintain its
overall value. |
Decimal |
Decimal.subtract(Decimal subtrahend)
Returns a
Decimal whose value is (this - subtrahend) . |
static Decimal |
Decimal.valueOf(double val)
Translates a double into a Decimal, using the
double's canonical string representation provided by the
Double.toString(double) method. |
static Decimal |
Decimal.valueOf(float val)
Translates a float into a Decimal, using the
float's canonical string representation provided by the
Float.toString(float) method. |
static Decimal |
Decimal.valueOf(int val)
Translates a int value into a Decimal with a scale of
zero.
|
static Decimal |
Decimal.valueOf(long val)
Translates a long value into a Decimal with a scale of
zero.
|
static Decimal |
Decimal.valueOf(Number number)
Attempts to construct the decimal using a best-fit algorithm:
Long, Integer, Short, Byte uses the
valueOf(long) method
Float uses valueOf(float)
Double uses valueOf(double)
BigInteger uses Decimal(java.math.BigInteger)
BigDecimal uses Decimal(java.math.BigDecimal)
Decimal just return the number
All other numbers are rejected to avoid precision loss. |
Modifier and Type | Method and Description |
---|---|
Decimal |
Decimal.add(Decimal augend)
Returns a
Decimal whose value is (this + augend) . |
int |
Decimal.compareTo(Decimal val)
Compares this
Decimal with the specified Decimal . |
Decimal |
Decimal.divide(Decimal divisor)
Returns a
Decimal whose value is (this / divisor) . |
Decimal |
Decimal.divideToIntegralValue(Decimal divisor)
Returns a
Decimal whose value is the integer part of the quotient
(this / divisor) rounded down. |
Decimal |
Decimal.multiply(Decimal multiplicand)
Returns a
Decimal whose value is (this ×
multiplicand) . |
Decimal |
Decimal.remainder(Decimal divisor)
Returns a
Decimal whose value is (this % divisor) . |
void |
DurationRecord.setDays(Decimal days)
Sets the days property.
|
void |
DurationRecord.setHours(Decimal hours)
Sets the hours property.
|
void |
DurationRecord.setMillis(Decimal millis)
Sets the millis property.
|
void |
DurationRecord.setMinutes(Decimal minutes)
Sets the minutes property.
|
void |
DurationRecord.setMonths(Decimal months)
Sets the months property.
|
void |
DurationRecord.setSeconds(Decimal seconds)
Sets the seconds property.
|
void |
DurationRecord.setWeeks(Decimal weeks)
Sets the weeks property.
|
void |
DurationRecord.setYears(Decimal years)
Sets the years property.
|
Decimal |
Decimal.subtract(Decimal subtrahend)
Returns a
Decimal whose value is (this - subtrahend) . |
Modifier and Type | Method and Description |
---|---|
protected abstract Decimal |
IntegerUnaryOperation.exec(Decimal arg)
Executes the operation with the operands interpreted.
|
protected abstract Decimal |
DecimalUnaryOperation.exec(Decimal arg)
Executes the operation with the operands interpreted.
|
protected abstract Decimal |
IntegerBinaryArithmeticOperation.exec(Decimal left,
Decimal right,
InterpreterStackTrace stackTrace)
Executes the operation with the operands interpreted.
|
protected abstract Decimal |
DecimalBinaryArithmeticOperation.exec(Decimal left,
Decimal right,
InterpreterStackTrace stackTrace)
Executes the operation with the operands interpreted.
|
Decimal |
IntegerUnaryOperation.execute(Interpreter interpreter,
List<Expression> args,
boolean variadicArgAsList,
InterpreterStackTrace stackTrace) |
Decimal |
IntegerBinaryArithmeticOperation.execute(Interpreter interpreter,
List<Expression> args,
boolean variadicArgAsList,
InterpreterStackTrace stackTrace) |
Decimal |
DecimalUnaryOperation.execute(Interpreter interpreter,
List<Expression> args,
boolean variadicArgAsList,
InterpreterStackTrace stackTrace) |
Decimal |
DecimalBinaryArithmeticOperation.execute(Interpreter interpreter,
List<Expression> args,
boolean variadicArgAsList,
InterpreterStackTrace stackTrace) |
Decimal |
ComparisonOperation.execute(Namespace namespace,
String oper,
Comparable left,
Comparable right) |
Decimal |
IntegerUnaryOperation.execute(Namespace namespace,
String operation,
Decimal arg) |
Decimal |
DecimalUnaryOperation.execute(Namespace namespace,
String operation,
Decimal arg) |
Decimal |
IntegerBinaryArithmeticOperation.execute(Namespace namespace,
String operation,
Decimal left,
Decimal right) |
Decimal |
DecimalBinaryArithmeticOperation.execute(Namespace namespace,
String operation,
Decimal left,
Decimal right) |
Modifier and Type | Method and Description |
---|---|
protected abstract Decimal |
IntegerUnaryOperation.exec(Decimal arg)
Executes the operation with the operands interpreted.
|
protected abstract Decimal |
DecimalUnaryOperation.exec(Decimal arg)
Executes the operation with the operands interpreted.
|
protected abstract Boolean |
DecimalBinaryComparisonOperation.exec(Decimal left,
Decimal right)
Executes the operation with the operands interpreted.
|
protected abstract Decimal |
IntegerBinaryArithmeticOperation.exec(Decimal left,
Decimal right,
InterpreterStackTrace stackTrace)
Executes the operation with the operands interpreted.
|
protected abstract Decimal |
DecimalBinaryArithmeticOperation.exec(Decimal left,
Decimal right,
InterpreterStackTrace stackTrace)
Executes the operation with the operands interpreted.
|
Object |
CollectionOperation.execute(Namespace namespace,
String oper,
CollectionHolder collection,
Decimal index) |
Decimal |
IntegerUnaryOperation.execute(Namespace namespace,
String operation,
Decimal arg) |
Decimal |
DecimalUnaryOperation.execute(Namespace namespace,
String operation,
Decimal arg) |
ListHolder |
RangeOperation.execute(Namespace namespace,
String oper,
Decimal first,
Decimal last) |
Decimal |
IntegerBinaryArithmeticOperation.execute(Namespace namespace,
String operation,
Decimal left,
Decimal right) |
boolean |
DecimalBinaryComparisonOperation.execute(Namespace namespace,
String operation,
Decimal left,
Decimal right) |
Decimal |
DecimalBinaryArithmeticOperation.execute(Namespace namespace,
String operation,
Decimal left,
Decimal right) |
Modifier and Type | Method and Description |
---|---|
static Decimal |
ParserUtil.parseIntegerLiteral(String str)
Parser a given string assuming it is an integer literal.
|
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.
|
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.
|
Modifier and Type | Method and Description |
---|---|
Decimal |
NumberFunctions.abs(ExecutionContext ctx,
Decimal number)
Returns the absolute value of the
number . |
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.
|
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. |
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.
|
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.
|
Decimal |
DateFunctions.getHour(ExecutionContext ctx,
Date date)
Returns the hour of a day of the date.
|
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.
|
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.
|
Decimal |
ActionFunctionsImpl.getProxyLevel(RecordHolder record) |
Decimal |
ActionFunctions.getProxyLevel(RecordHolder record)
Returns proxy level of the record.
|
Decimal |
DateFunctions.getSecond(ExecutionContext ctx,
Date date)
Returns the second of a minute of the date.
|
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.
|
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.
|
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
|
Decimal |
NumberFunctions.max(ExecutionContext ctx,
Decimal... values)
Computes max long from all passed long
|
Decimal |
CollectionsFunctions.maxDecimal(ExecutionContext ctx,
CollectionHolder collection) |
Decimal |
CollectionsFunctions.maxInteger(ExecutionContext ctx,
CollectionHolder collection) |
Decimal |
NumberFunctions.min(ExecutionContext ctx,
Decimal... values)
Computes min long from all passed long
|
Decimal |
CollectionsFunctions.minDecimal(ExecutionContext ctx,
CollectionHolder collection) |
Decimal |
CollectionsFunctions.minInteger(ExecutionContext ctx,
CollectionHolder collection) |
Decimal |
NumberFunctions.random()
Returns a pseudorandom, uniformly distributed decimal value between 0.0 (inclusive) and 1.0
(exclusive).
|
Decimal |
NumberFunctions.random(ExecutionContext ctx,
Decimal upperBound)
Returns a pseudorandom, uniformly distributed decimal value between 0 (inclusive) and the
upperBound (exclusive).
|
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.
|
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
|
Decimal |
CollectionsFunctions.sum(ExecutionContext ctx,
CollectionHolder collection)
Returns a sum of decimals in the given collection.
|
Decimal |
StringFunctions.toDecimal(ExecutionContext ctx,
String string)
If possible, converts the string parameter to a decimal value.
|
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.
|
Modifier and Type | Method and Description |
---|---|
Decimal |
NumberFunctions.abs(ExecutionContext ctx,
Decimal number)
Returns the absolute value of the
number . |
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
|
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 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.
|
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.
|
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.
|
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,
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,
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. |
RecordHolder |
DataFunctionsImpl.getBinaryHandle(ExecutionContext context,
Decimal id) |
RecordHolder |
DataFunctions.getBinaryHandle(ExecutionContext context,
Decimal id)
Returns a binary handle of the specified identifier.
|
RecordHolder |
ReflectionFunctionsImpl.getModelInstance(ExecutionContext context,
Decimal id) |
RecordHolder |
ReflectionFunctions.getModelInstance(ExecutionContext context,
Decimal id)
Returns a model instance with the specified id.
|
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 |
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.
|
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.
|
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.
|
Decimal |
NumberFunctions.max(ExecutionContext ctx,
Decimal... values)
Computes max long from all passed long
|
Decimal |
NumberFunctions.min(ExecutionContext ctx,
Decimal... values)
Computes min long from all passed long
|
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.
|
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.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.
|
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.
|
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.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.
|
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.
|
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
|
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.
|
Decimal |
StringFunctions.toInteger(ExecutionContext ctx,
String string,
Decimal radix)
Converts a given string value to integer using a given radix.
|
Modifier and Type | Method and Description |
---|---|
void |
VaadinUtilsCommon.notify(ExecutionContext ctx,
String caption,
String description,
EnumerationImpl type,
EnumerationImpl alignment,
Decimal delayMillis,
String cssStyle,
Boolean htmlContentAllowed)
Shows notification.
|
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) |
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.