Expression Function Libraries
This reference documents the function libraries displayed by the Enactor Configure the expression dialog. It covers the standard functions available out of the box. Project and workspace preferences can add more libraries, so the exact catalogue can vary by project.
Expression syntax
- Prefixed function:
prefix:method(argument1, argument2) - Simple/unprefixed function:
method(argument1, argument2) - Example:
notEmpty(name) ? concat('Hello ', name) : 'Hello'
Methods overloaded by Java signature are omitted from the expression builder because EL cannot select an overload reliably. Deprecated methods are also excluded by the Tools UI.
Library summary
| Library | Prefix | Usage |
|---|---|---|
| Client Functions | client | Client-side page-element operations such as focus, visibility, button clicks, text changes, downloads and uploads. |
| Convert Functions | convert | Conversion between Java/EL values, numbers, dates, booleans, hexadecimal values and internal or external currency amounts. |
| Crypto Functions | crpyto | Cryptographic keys, certificates, signatures, message authentication codes and key stores. The checked-in runtime prefix is spelt crpyto. |
| Database Functions | database | Database list-filter lookup, evaluation and result paging. |
| Date Functions | dates | Date/time creation, parsing, formatting, comparison, arithmetic, ranges and conversion. |
| Email Functions | email | Email-address parsing. |
| Encode Functions | encode | URL, Base64 and HTML encoding or decoding. |
| Filter Functions | filter | List-filter lookup and evaluation. This library may be hidden by the runtime package and exposed through the Tools function-library configuration. |
| Format Functions | format | Locale-aware formatting of numbers, amounts, currencies, quantities, percentages, dates, times and templates. |
| Group Functions | group | Access to the configured region root group and hierarchy. |
| PageDef Functions | pageDef | Page Definition lookup and resolution. |
| Priv Functions | priv | Checks whether the current user has required privileges. |
| Script Functions | script | Executes script text, optionally using a named library and supplied arguments. |
| Simple Functions | None | General-purpose unprefixed EL functions for values, collections, enums, types, messages, configuration, files and paging. |
| String Functions | strings | String validation, comparison, splitting, padding, replacement, masking, joining and conversion. |
| XML Functions | xmls | XML parsing, serialisation and XML utility operations. |
Client Functions
Client-side page-element operations such as focus, visibility, button clicks, text changes, downloads and uploads.
| Expression method | Returns | Purpose |
|---|---|---|
client:addToText(String, String) | String | Performs the add to text operation. |
client:buttonClick(String) | String | Provides the button click operation. |
client:clearText(String) | String | Performs the clear text operation. |
client:clearTextNR(String) | String | Performs the clear text nr operation. |
client:disableOKButton(String, String) | String | Provides the disable okbutton operation. |
client:downloadDynamicData(String, String) | String | Performs the download dynamic data operation. |
client:downloadFile(String, String) | String | Performs the download file operation. |
client:enableOKButton(String, String) | String | Provides the enable okbutton operation. |
client:eval(String) | String | Evaluates the supplied client-side expression. |
client:getVisible(String) | String | Returns the result of get visible. |
client:invoke(String) | String | Invokes the supplied client-side operation. |
client:selectTableRow(String, int) | String | Performs the select table row operation. |
client:setClientSideFunctionMapperImpl(IClientSideFunctionMapper) | void | Performs the set client side function mapper impl operation. |
client:setFocus(String) | String | Performs the set focus operation. |
client:setVisible(String, boolean) | String | Performs the set visible operation. |
client:uploadElementData(String, String, String, String) | String | Performs the upload element data operation. |
Convert Functions
Conversion between Java/EL values, numbers, dates, booleans, hexadecimal values and internal or external currency amounts.
| Expression method | Returns | Purpose |
|---|---|---|
convert:doubleAmountToLongAmount(double, String) | long | Provides the double amount to long amount operation. |
convert:toBigDecimalFromLong(long, int) | BigDecimal | Returns the result of to big decimal from long. |
convert:toBoolean(Object) | boolean | Returns the result of to boolean. |
convert:toDate(long) | Date | Returns the result of to date. |
convert:toDouble(Object) | double | Returns the result of to double. |
convert:toExternalCurrencyAmount(long, String) | BigDecimal | Returns the result of to external currency amount. |
convert:toHexStringFromInteger(int) | String | Returns the result of to hex string from integer. |
convert:toHexStringFromLong(long) | String | Returns the result of to hex string from long. |
convert:toInt(Object) | int | Returns the result of to int. |
convert:toIntDefault(Object, int) | int | Returns the result of to int default. |
convert:toInternalCurrencyAmount(BigDecimal, String) | long | Returns the result of to internal currency amount. |
convert:toLong(Object) | long | Returns the result of to long. |
convert:toLongFromBigDecimal(BigDecimal, int) | long | Returns the result of to long from big decimal. |
convert:toString(Object) | String | Returns the result of to string. |
Crypto Functions
Cryptographic keys, certificates, signatures, message authentication codes and key stores. The checked-in runtime prefix is spelt crpyto.
| Expression method | Returns | Purpose |
|---|---|---|
crpyto:convertBase64KeyToSecretKey(String) | SecretKey | Performs the convert base64 key to secret key operation. |
crpyto:convertDEREncodedSignatureToJWSConcatenated(byte[]) | byte[] | Performs the convert derencoded signature to jwsconcatenated operation. |
crpyto:createAESKey() | SecretKey | Performs the create aeskey operation. |
crpyto:createCertificateFromByteArray(byte[]) | Certificate | Performs the create certificate from byte array operation. |
crpyto:createCertificateFromFile(File) | Certificate | Performs the create certificate from file operation. |
crpyto:createCertificateFromInputStream(InputStream) | Certificate | Performs the create certificate from input stream operation. |
crpyto:createCertificateFromString(String) | Certificate | Performs the create certificate from string operation. |
crpyto:createNewKeyStore(String) | void | Performs the create new key store operation. |
crpyto:createNewTrustStore() | void | Performs the create new trust store operation. |
crpyto:createPrivateKey(String) | PrivateKey | Performs the create private key operation. |
crpyto:deleteSavedPassword(boolean) | boolean | Performs the delete saved password operation. |
crpyto:encodeMac(String, String, byte[]) | byte[] | Performs the encode mac operation. |
crpyto:encryptAndSavePassword(byte[]) | void | Performs the encrypt and save password operation. |
crpyto:encryptAndSetPassword(byte[]) | void | Performs the encrypt and set password operation. |
crpyto:encryptCTR(byte[], Long, SecretKey, int) | String | Performs the encrypt ctr operation. |
crpyto:generateKeyPair(int) | KeyPair | Performs the generate key pair operation. |
crpyto:get2ComplementRepForLong(long, int) | byte[] | Returns the result of get2 complement rep for long. |
crpyto:getEmptyKeyStore() | KeyStore | Returns the result of get empty key store. |
crpyto:getFileKeyStore(String, String) | KeyStore | Returns the result of get file key store. |
crpyto:getInMemoryPassword() | String | Returns the result of get in memory password. |
crpyto:getKeyStoreFromBytes(byte[], char[]) | KeyStore | Returns the result of get key store from bytes. |
crpyto:getSelfSignedKeyStore(String, String, Collection<String>, Collection<String>) | KeyStore | Returns the result of get self signed key store. |
crpyto:getSelfSignedKeyStoreForLocalHost() | KeyStore | Returns the result of get self signed key store for local host. |
crpyto:getTrustStoreFileName() | String | Returns the result of get trust store file name. |
crpyto:isUnlimitedStrengthPolicyAvailable() | boolean | Returns whether is unlimited strength policy available. |
crpyto:loadCertificateFromTrustStore(String) | Certificate | Returns the result of load certificate from trust store. |
crpyto:loadKeyEntryFromKeyStore(String, String) | KeyStore.PrivateKeyEntry | Returns the result of load key entry from key store. |
crpyto:loadTrustStore() | KeyStore | Returns the result of load trust store. |
crpyto:removePrivateKeyFromKeyStore(String, String) | void | Performs the remove private key from key store operation. |
crpyto:saveCertificateToTrustStore(String, X509Certificate) | void | Performs the save certificate to trust store operation. |
crpyto:signData(PrivateKey, String, InputStream) | String | Provides the sign data operation. |
crpyto:signDataUrlSafe(PrivateKey, String, InputStream) | String | Provides the sign data url safe operation. |
Database Functions
Database list-filter lookup, evaluation and result paging.
| Expression method | Returns | Purpose |
|---|---|---|
database:filterExists(IListCriteria, String) | boolean | Provides the filter exists operation. |
database:getFilter(IListCriteria, String) | IListFilter | Returns the result of get filter. |
database:getList(ISelectionListFilter, List<IListFilter>, Locale) | List<?> | Returns the result of get list. |
database:lastPageOffset(int, int) | int | Provides the last page offset operation. |
database:nextPageOffset(int, int, int) | int | Provides the next page offset operation. |
database:previousPageOffset(int, int, int) | int | Provides the previous page offset operation. |
Date Functions
Date/time creation, parsing, formatting, comparison, arithmetic, ranges and conversion.
| Expression method | Returns | Purpose |
|---|---|---|
dates:addDays(Date, int) | Date | Performs the add days operation. |
dates:addHours(Date, int) | Date | Performs the add hours operation. |
dates:addMinutes(Date, int) | Date | Performs the add minutes operation. |
dates:addMonths(Date, int) | Date | Performs the add months operation. |
dates:addSeconds(Date, int) | Date | Performs the add seconds operation. |
dates:addYears(Date, int) | Date | Performs the add years operation. |
dates:adjustCalendarTimeZone(Calendar, TimeZone) | Calendar | Provides the adjust calendar time zone operation. |
dates:beginningOfTime() | Date | Provides the beginning of time operation. |
dates:clearTime(Calendar) | void | Performs the clear time operation. |
dates:compareCalendar(Calendar, Calendar) | int | Provides the compare calendar operation. |
dates:compareCalendarToNow(Calendar) | int | Provides the compare calendar to now operation. |
dates:compareDates(Date, Date) | int | Provides the compare dates operation. |
dates:compareDateTimes(Date, Date) | int | Provides the compare date times operation. |
dates:compareHours(Date, Date) | int | Provides the compare hours operation. |
dates:compareLocalTimes(LocalTime, LocalTime) | int | Provides the compare local times operation. |
dates:compareLocalTimeToNow(LocalTime) | int | Provides the compare local time to now operation. |
dates:compareTimes(Date, Date) | int | Provides the compare times operation. |
dates:convertMonthsToRemainingMonths(int) | int | Performs the convert months to remaining months operation. |
dates:convertMonthsToYears(int) | int | Performs the convert months to years operation. |
dates:convertYYMMToMonthCount(String) | int | Performs the convert yymmto month count operation. |
dates:dayDiff(Date, Date) | int | Provides the day diff operation. |
dates:endOf(String, Date) | Date | Provides the end of operation. |
dates:endOfTime() | Date | Provides the end of time operation. |
dates:formatCompactDate(Locale, Date) | String | Formats a value using format compact date. |
dates:formatDateForString(Date, String) | String | Formats a value using format date for string. |
dates:formatDDMMMYYYY(Date) | String | Formats a value using format ddmmmyyyy. |
dates:formatDDMMYY(Date) | String | Formats a value using format ddmmyy. |
dates:formathhmm(Date) | String | Formats a value using formathhmm. |
dates:formathhmmss(Date) | String | Formats a value using formathhmmss. |
dates:formatInterval(long) | String | Formats a value using format interval. |
dates:formatISO8601Date(Calendar) | String | Formats a value using format iso8601 date. |
dates:formatISO8601DateNoMillisNoZone(Calendar) | String | Formats a value using format iso8601 date no millis no zone. |
dates:formatISO8601DateOnly(Calendar) | String | Formats a value using format iso8601 date only. |
dates:formatISO8601TimeOnly(Calendar) | String | Formats a value using format iso8601 time only. |
dates:formatJAXBISO8601Date(Calendar) | String | Formats a value using format jaxbiso8601 date. |
dates:formatJAXBISO8601DateNoMillis(Calendar) | String | Formats a value using format jaxbiso8601 date no millis. |
dates:formatLongDateTime(Locale, Date) | String | Formats a value using format long date time. |
dates:formatMediumDate(Locale, Date) | String | Formats a value using format medium date. |
dates:formatMediumDateTime(Locale, Date) | String | Formats a value using format medium date time. |
dates:formatMediumTime(Locale, Date) | String | Formats a value using format medium time. |
dates:formatODBCDate(Calendar) | String | Formats a value using format odbcdate. |
dates:formatShortDate(Locale, Date) | String | Formats a value using format short date. |
dates:formatShortDateMediumTime(Locale, Date) | String | Formats a value using format short date medium time. |
dates:formatShortDateTime(Locale, Date) | String | Formats a value using format short date time. |
dates:formatShortDateWithTwoDigitYear(Locale, Date) | String | Formats a value using format short date with two digit year. |
dates:formatShortTime(Locale, Date) | String | Formats a value using format short time. |
dates:formatUTFDate(Date) | String | Formats a value using format utfdate. |
dates:formatYYDDD(Date) | String | Formats a value using format yyddd. |
dates:formatYYMMDD(Date) | String | Formats a value using format yymmdd. |
dates:formatYYMMDDhhmm(Date) | String | Formats a value using format yymmddhhmm. |
dates:formatYYMMDDhhmmss(Date) | String | Formats a value using format yymmddhhmmss. |
dates:formatYYYYMMDD(Date) | String | Formats a value using format yyyymmdd. |
dates:formatYYYYMMDDhhmmss(Date) | String | Formats a value using format yyyymmddhhmmss. |
dates:formatYYYYMMDDhhmmssSSS(Date) | String | Formats a value using format yyyymmddhhmmss sss. |
dates:getAge(Date) | int | Returns the result of get age. |
dates:getCompactDatePattern(Locale) | String | Returns the result of get compact date pattern. |
dates:getCurrentMillis() | long | Returns the result of get current millis. |
dates:getDate(int, int, int) | Date | Returns the result of get date. |
dates:getDateFromMillis(long) | Date | Returns the result of get date from millis. |
dates:getDateFromUtcDate(Date) | Date | Returns the result of get date from utc date. |
dates:getDateTime(int, int, int, int, int, int) | Date | Returns the result of get date time. |
dates:getDateTimeValue(Date, int) | int | Returns the result of get date time value. |
dates:getDayEnd(Date) | Date | Returns the result of get day end. |
dates:getDayOfMonth(Date) | int | Returns the result of get day of month. |
dates:getDayOfWeek(Date) | int | Returns the result of get day of week. |
dates:getDayOfWeekDescription(Date) | String | Returns the result of get day of week description. |
dates:getDayOfYear(Date) | int | Returns the result of get day of year. |
dates:getDayStart(Date) | Date | Returns the result of get day start. |
dates:getDefaultTimeZoneCalendar() | Calendar | Returns the result of get default time zone calendar. |
dates:getDuration(LocalTime, LocalTime) | LocalTime | Returns the result of get duration. |
dates:getElapsedHours(Date) | long | Returns the result of get elapsed hours. |
dates:getElapsedMinutes(Date) | long | Returns the result of get elapsed minutes. |
dates:getElapsedSeconds(Date) | long | Returns the result of get elapsed seconds. |
dates:getEndOfWeek(Date) | Date | Returns the result of get end of week. |
dates:getHour(Date) | int | Returns the result of get hour. |
dates:getLocalCalendar(Date) | Calendar | Returns the result of get local calendar. |
dates:getLocalDateNow() | LocalDate | Returns the result of get local date now. |
dates:getLocalNow() | DateTimeWithTimeZone | Returns the result of get local now. |
dates:getLocalTimeNow() | LocalTime | Returns the result of get local time now. |
dates:getMillisFromDate(Date) | long | Returns the result of get millis from date. |
dates:getMinute(Date) | int | Returns the result of get minute. |
dates:getMonthDescription(Date) | String | Returns the result of get month description. |
dates:getMonthEnd(Date) | Date | Returns the result of get month end. |
dates:getMonthsList(boolean) | List<String> | Returns the result of get months list. |
dates:getMonthStart(Date) | Date | Returns the result of get month start. |
dates:getNextDay(Date) | Date | Returns the result of get next day. |
dates:getNow() | Date | Returns the result of get now. |
dates:getShortDatePattern(Locale) | String | Returns the result of get short date pattern. |
dates:getShortMonthDescription(int) | String | Returns the result of get short month description. |
dates:getStartOfWeek(Date) | Date | Returns the result of get start of week. |
dates:getUtcDateFromDate(Date) | Date | Returns the result of get utc date from date. |
dates:getUTCTimeZoneCalendar() | Calendar | Returns the result of get utctime zone calendar. |
dates:isBetween(Date, Date, Date) | boolean | Returns whether is between. |
dates:isZeroTime(Date) | boolean | Returns whether is zero time. |
dates:max(Date, Date) | Date | Provides the max operation. |
dates:mergeLocalTimeIntoDate(LocalTime, Date) | Date | Provides the merge local time into date operation. |
dates:mergeTimeIntoDate(Date, Date) | Date | Provides the merge time into date operation. |
dates:min(Date, Date) | Date | Provides the min operation. |
dates:parseCompactDate(Locale, String) | Date | Returns the result of parse compact date. |
dates:parseDateForString(String, String) | Date | Returns the result of parse date for string. |
dates:parseDateNoMillis(String) | Date | Returns the result of parse date no millis. |
dates:parseDDMMYY(String) | Date | Returns the result of parse ddmmyy. |
dates:parseHHMM(String) | Date | Returns the result of parse hhmm. |
dates:parsehhmm(String) | Date | Returns the result of parsehhmm. |
dates:parsehhmmss(String) | Date | Returns the result of parsehhmmss. |
dates:parseISO8601Date(String) | Calendar | Returns the result of parse iso8601 date. |
dates:parseISO8601DateOnly(String) | Calendar | Returns the result of parse iso8601 date only. |
dates:parseISO8601DateSafe(String) | Calendar | Returns the result of parse iso8601 date safe. |
dates:parseISO8601TimeOnly(String) | Calendar | Returns the result of parse iso8601 time only. |
dates:parseISOOffsetDateTime(String) | Date | Returns the result of parse isooffset date time. |
dates:parseYYMM(String) | Date | Returns the result of parse yymm. |
dates:parseYYMMDD(String) | Date | Returns the result of parse yymmdd. |
dates:parseYYMMDDhhmmss(String) | Date | Returns the result of parse yymmddhhmmss. |
dates:parseYYYYMMDD(String) | Date | Returns the result of parse yyyymmdd. |
dates:parseYYYYMMDDhhmm(String) | Date | Returns the result of parse yyyymmddhhmm. |
dates:parseYYYYMMDDhhmmss(String) | Date | Returns the result of parse yyyymmddhhmmss. |
dates:parseYYYYMMDDhhmmssSSS(String) | Date | Returns the result of parse yyyymmddhhmmss sss. |
dates:removeMillis(Date) | Date | Performs the remove millis operation. |
dates:removeMillisDateTimeWithTimeZone(IDateTimeWithTimeZone) | IDateTimeWithTimeZone | Performs the remove millis date time with time zone operation. |
dates:removeSeconds(Date) | Date | Performs the remove seconds operation. |
dates:roundToMinutes(Date, int) | Date | Performs the round to minutes operation. |
dates:roundUpToMinutes(Date, int) | Date | Performs the round up to minutes operation. |
dates:startOf(String, Date) | Date | Provides the start of operation. |
dates:testTimeout(long, long, long) | boolean | Returns whether test timeout. |
dates:testTimeoutReached(long, long) | boolean | Returns whether test timeout reached. |
dates:toLocalDate(Object) | LocalDate | Returns the result of to local date. |
dates:toLocalTime(Date) | LocalTime | Returns the result of to local time. |
dates:toTimeOnDate(LocalTime, Date) | Date | Returns the result of to time on date. |
Email Functions
Email-address parsing.
| Expression method | Returns | Purpose |
|---|---|---|
email:extractAddress(String) | String | Extracts the email address from the supplied address text. |
Encode Functions
URL, Base64 and HTML encoding or decoding.
| Expression method | Returns | Purpose |
|---|---|---|
encode:decodeBase64(String) | String | Performs the decode base64 operation. |
encode:decodeURL(String) | String | Performs the decode url operation. |
encode:encodeURL(String) | String | Performs the encode url operation. |
encode:escapeHTML(String) | String | Provides the escape html operation. |
encode:imgSrcDataHTML(String, byte[]) | String | Provides the img src data html operation. |
encode:isBase64FormatString(String) | boolean | Returns whether is base64 format string. |
Filter Functions
List-filter lookup and evaluation. This library may be hidden by the runtime package and exposed through the Tools function-library configuration.
| Expression method | Returns | Purpose |
|---|---|---|
filter:filterExists(IListCriteria, String) | boolean | Provides the filter exists operation. |
filter:getFilter(IListCriteria, String) | IListFilter | Returns the result of get filter. |
filter:getList(ISelectionListFilter, List<IListFilter>, Locale) | List<?> | Returns the result of get list. |
filter:lastPageOffset(int, int) | int | Provides the last page offset operation. |
filter:nextPageOffset(int, int, int) | int | Provides the next page offset operation. |
filter:previousPageOffset(int, int, int) | int | Provides the previous page offset operation. |
Format Functions
Locale-aware formatting of numbers, amounts, currencies, quantities, percentages, dates, times and templates.
| Expression method | Returns | Purpose |
|---|---|---|
format:formatAmount(long) | String | Formats a value using format amount. |
format:formatCurrency(long) | String | Formats a value using format currency. |
format:formatCurrencyCurrency(long, String) | String | Formats a value using format currency currency. |
format:formatCurrencyInWords(long) | String | Formats a value using format currency in words. |
format:formatDate(Date) | String | Formats a value using format date. |
format:formatDateFormat(Date, String) | String | Formats a value using format date format. |
format:formatDoubleFractionDigits(double, int) | String | Formats a value using format double fraction digits. |
format:formatExchangeRate(double) | String | Formats a value using format exchange rate. |
format:formatExchangeRateCurrency(double, String) | String | Formats a value using format exchange rate currency. |
format:formatLocaleString(Object) | String | Formats a value using format locale string. |
format:formatNumber(long) | String | Formats a value using format number. |
format:formatNumberInWords(long) | String | Formats a value using format number in words. |
format:formatNumberWithPattern(double, String) | String | Formats a value using format number with pattern. |
format:formatPercentage(float) | String | Formats a value using format percentage. |
format:formatPostCode(String) | String | Formats a value using format post code. |
format:formatQuantity(double) | String | Formats a value using format quantity. |
format:formatTime(Date) | String | Formats a value using format time. |
format:getCompactDatePattern() | String | Returns the result of get compact date pattern. |
format:getCurrencySymbol(String) | String | Returns the result of get currency symbol. |
format:getShortDatePattern() | String | Returns the result of get short date pattern. |
format:setDataFormatter(IApplicationProcessELContext, IDataFormatter) | void | Performs the set data formatter operation. |
format:templateFormat(String, Object) | String | Provides the template format operation. |
format:templateFormatData(String, IApplicationProcessData) | String | Provides the template format data operation. |
Group Functions
Access to the configured region root group and hierarchy.
| Expression method | Returns | Purpose |
|---|---|---|
group:getRegionRootGroupHierarchyId() | String | Returns the result of get region root group hierarchy id. |
group:getRegionRootGroupId() | String | Returns the result of get region root group id. |
group:getRegionRootKey() | IGroupKey | Returns the result of get region root key. |
PageDef Functions
Page Definition lookup and resolution.
| Expression method | Returns | Purpose |
|---|---|---|
pageDef:getPageDefinition(String) | IPageDefinition | Returns the result of get page definition. |
pageDef:resolvePageDefinition(String, String, String) | IPageDefinition | Returns the result of resolve page definition. |
Priv Functions
Checks whether the current user has required privileges.
| Expression method | Returns | Purpose |
|---|---|---|
priv:checkPrivilege(String) | boolean | Returns whether check privilege. |
priv:checkPrivileges(String, boolean) | boolean | Returns whether check privileges. |
priv:checkPrivilegeSet(Set<String>, boolean) | boolean | Returns whether check privilege set. |
Script Functions
Executes script text, optionally using a named library and supplied arguments.
| Expression method | Returns | Purpose |
|---|---|---|
script:execute(String) | Object | Executes the supplied script. |
script:executeWithArgs(String, Object...) | Object | Provides the execute with args operation. |
script:executeWithArguments(String, Map<String, Object>) | Object | Provides the execute with arguments operation. |
script:executeWithLibrary(String, String) | Object | Provides the execute with library operation. |
script:executeWithLibraryAndArguments(String, String, Map<String, Object>) | Object | Provides the execute with library and arguments operation. |
Simple Functions
General-purpose unprefixed EL functions for values, collections, enums, types, messages, configuration, files and paging.
| Expression method | Returns | Purpose |
|---|---|---|
abs(Number) | Object | Provides the abs operation. |
addDays(Date, int) | Date | Performs the add days operation. |
addSeconds(Date, int) | Date | Performs the add seconds operation. |
appendText(Object, Object, int) | String | Performs the append text operation. |
ceil(Double) | Double | Provides the ceil operation. |
checkPackageId(String) | boolean | Returns whether check package id. |
className(Object) | String | Provides the class name operation. |
cloneObject(Object, List<String>) | Object | Provides the clone object operation. |
compareDates(Date, Date) | int | Provides the compare dates operation. |
compareDateTimes(Date, Date) | int | Provides the compare date times operation. |
compareTimes(Date, Date) | int | Provides the compare times operation. |
concat(Object, Object) | String | Concatenates the supplied values as text. |
concatenate(Object...) | String | Provides the concatenate operation. |
contains(Object, Object) | boolean | Returns whether contains. |
containsNotNullData(IApplicationProcessData, String) | boolean | Returns whether contains not null data. |
createQName(String, String) | QName | Performs the create qname operation. |
currentTimeMs() | long | Provides the current time ms operation. |
elementAt(Object, int) | Object | Provides the element at operation. |
empty(Object) | boolean | Returns whether the supplied value is empty. |
entityIsNewer(ITimestampedEntity, ITimestampedEntity) | boolean | Provides the entity is newer operation. |
entrySet(Object) | Set<?> | Provides the entry set operation. |
entrySetToList(Object) | List<Map$Entry<?, ?>> | Provides the entry set to list operation. |
enumCompare(Enum<?>, String) | int | Provides the enum compare operation. |
enumEquals(Enum<?>, String) | boolean | Provides the enum equals operation. |
enumName(Enum<?>) | String | Provides the enum name operation. |
enumSetContains(EnumSet<?>, String) | boolean | Provides the enum set contains operation. |
enumValue(String, String) | Object | Provides the enum value operation. |
enumValues(String) | Object[] | Provides the enum values operation. |
exists(String) | boolean | Returns whether exists. |
fallbackDelay(int, int, int) | int | Provides the fallback delay operation. |
floor(Double) | Double | Provides the floor operation. |
getApplicationCommonDataHome() | String | Returns the result of get application common data home. |
getApplicationDataHome() | String | Returns the result of get application data home. |
getApplicationHome() | String | Returns the result of get application home. |
getApplicationVersion() | String | Returns the result of get application version. |
getBooleanConfigValue(String, boolean) | boolean | Returns the result of get boolean config value. |
getConfigValue(String, String) | String | Returns the result of get config value. |
getDateField(Date, int) | int | Returns the result of get date field. |
getFileName(String) | String | Returns the result of get file name. |
getFileSeperator() | String | Returns the result of get file seperator. |
getGUID() | Object | Creates and returns a globally unique identifier. |
getIntConfigValue(String, int) | int | Returns the result of get int config value. |
getLocalisedString(ILocaleStrings, Object) | String | Returns the result of get localised string. |
getLongConfigValue(String, long) | long | Returns the result of get long config value. |
getNewFile(String) | File | Returns the result of get new file. |
getOptionalData(IApplicationProcessData, String) | Object | Returns the result of get optional data. |
getPackageListIds() | List<String> | Returns the result of get package list ids. |
getUniqueFilename(String) | String | Returns the result of get unique filename. |
getValue(Object, Object) | Object | Returns the result of get value. |
getVersion(String) | String | Returns the result of get version. |
indexOf(Object, Object) | int | Provides the index of operation. |
instanceOf(Object, String) | boolean | Provides the instance of operation. |
invokeMethod(Object, String) | Object | Provides the invoke method operation. |
invokeStatic(String, String) | Object | Provides the invoke static operation. |
isClassAvailable(String) | boolean | Returns whether is class available. |
isConfigValueDefined(String) | boolean | Returns whether is config value defined. |
isEmpty(Object) | boolean | Returns whether the supplied value is null or empty. |
isEntity(IEntity, String, String) | boolean | Returns whether is entity. |
isSingular(double, Locale) | boolean | Returns whether is singular. |
itemToList(T) | List<T> | Provides the item to list operation. |
iterator(Object) | Iterator<?> | Provides the iterator operation. |
join(Object...) | List<?> | Provides the join operation. |
keySet(Object) | Set<?> | Provides the key set operation. |
lastPageOffset(int, int) | int | Provides the last page offset operation. |
length(String) | int | Provides the length operation. |
listToSet(List<T>) | Set<T> | Provides the list to set operation. |
max(Number, Number) | Object | Provides the max operation. |
min(Number, Number) | Object | Provides the min operation. |
nextPageOffset(int, int, int) | int | Provides the next page offset operation. |
notEmpty(Object) | boolean | Returns whether the supplied value is not null or empty. |
now() | Date | Returns the current date and time. |
nowDate() | Date | Returns the current date with the time cleared. |
nullObject() | Object | Returns a null object value for use in an expression. |
parseQName(String) | QName | Returns the result of parse qname. |
previousPageOffset(int, int, int) | int | Provides the previous page offset operation. |
print(String, Object) | void | Provides the print operation. |
putValue(Object, K, V) | Object | Performs the put value operation. |
readFileToString(String) | String | Provides the read file to string operation. |
resolveConstant(String, String) | Object | Returns the result of resolve constant. |
resolveLocaleMessage(String, String, Locale, Object) | Object | Returns the result of resolve locale message. |
resolveMessage(String, String) | String | Returns the result of resolve message. |
resolveMessageQuiet(String, String) | String | Returns the result of resolve message quiet. |
resolveMessageWithVariables(String, String, String...) | String | Returns the result of resolve message with variables. |
round(Object) | Object | Performs the round operation. |
simpleClassName(Object) | String | Provides the simple class name operation. |
size(Object) | int | Provides the size operation. |
subList(List<T>, int, int) | List<T> | Provides the sub list operation. |
toArray(Collection<T>) | T[] | Returns the result of to array. |
toList(T...) | List<T> | Returns the result of to list. |
toQName(String, String) | QName | Returns the result of to qname. |
valueOf(Object) | String | Provides the value of operation. |
values(Object) | Collection<?> | Provides the values operation. |
String Functions
String validation, comparison, splitting, padding, replacement, masking, joining and conversion.
| Expression method | Returns | Purpose |
|---|---|---|
strings:appendWithRestrictedLength(String, String, int, boolean) | String | Performs the append with restricted length operation. |
strings:byteToHex(byte) | String | Provides the byte to hex operation. |
strings:calculateEANCheckDigit(String) | char | Provides the calculate eancheck digit operation. |
strings:calculateLuhnCheckDigit(String) | int | Provides the calculate luhn check digit operation. |
strings:checkEANCheckDigit(String) | boolean | Returns whether check eancheck digit. |
strings:checkLuhnCheckDigit(String) | boolean | Returns whether check luhn check digit. |
strings:compareDotSeparated(String, String) | int | Provides the compare dot separated operation. |
strings:compareObjects(Object, Object) | boolean | Provides the compare objects operation. |
strings:compareStrings(String, String) | boolean | Provides the compare strings operation. |
strings:compareStringsIgnoreCase(String, String) | boolean | Provides the compare strings ignore case operation. |
strings:compareStringsLexicographically(String, String) | int | Provides the compare strings lexicographically operation. |
strings:compareStringsWithNullAsBlank(String, String) | boolean | Provides the compare strings with null as blank operation. |
strings:concatWithSeparator(String, String...) | String | Provides the concat with separator operation. |
strings:concatWithSeparatorIgnoreEmpty(String, String...) | String | Provides the concat with separator ignore empty operation. |
strings:containsMixedAlphaNumeric(String) | boolean | Returns whether contains mixed alpha numeric. |
strings:containsMixedCase(String) | boolean | Returns whether contains mixed case. |
strings:convertLineEndsLFToCRLF(String) | String | Performs the convert line ends lfto crlf operation. |
strings:convertToBeanName(String) | String | Performs the convert to bean name operation. |
strings:convertToList(String[]) | List<String> | Performs the convert to list operation. |
strings:convertToStringArray(List<String>) | String[] | Performs the convert to string array operation. |
strings:countOccurrences(String, char) | int | Provides the count occurrences operation. |
strings:createRawDigest(String, String) | byte[] | Performs the create raw digest operation. |
strings:createSHA1Digest(String) | String | Performs the create sha1 digest operation. |
strings:createUniqueReferenceId() | String | Performs the create unique reference id operation. |
strings:debugFormatChar(char) | String | Provides the debug format char operation. |
strings:debugFormatString(String) | String | Provides the debug format string operation. |
strings:descriptionModifier(String) | String | Provides the description modifier operation. |
strings:divideAtNewlines(String) | String[] | Provides the divide at newlines operation. |
strings:emptyIfNull(String) | String | Provides the empty if null operation. |
strings:emptyString() | String | Provides the empty string operation. |
strings:endsWith(String, String) | boolean | Provides the ends with operation. |
strings:escapeString(String) | String | Provides the escape string operation. |
strings:expandExceptionMsg(Throwable) | String | Provides the expand exception msg operation. |
strings:findAndReplace(String, String, String) | String | Returns the result of find and replace. |
strings:findAndReplaceLeftMost(String, String, String) | String | Returns the result of find and replace left most. |
strings:findAndReplaceRightMost(String, String, String) | String | Returns the result of find and replace right most. |
strings:firstNotEmpty(String...) | String | Provides the first not empty operation. |
strings:firstNotNull(String...) | String | Provides the first not null operation. |
strings:formatAlphaEncodedLong(long) | String | Formats a value using format alpha encoded long. |
strings:formatForSearch(String) | String | Formats a value using format for search. |
strings:formatPAN(String, String) | String | Formats a value using format pan. |
strings:formatString(String, int, int) | String | Formats a value using format string. |
strings:fromByteArray(byte[]) | String | Provides the from byte array operation. |
strings:getAlphaNumericContent(String) | String | Returns the result of get alpha numeric content. |
strings:getBoolean(Object) | boolean | Returns the result of get boolean. |
strings:getEffectiveLength(String) | int | Returns the result of get effective length. |
strings:getFirstToken(String, String) | String | Returns the result of get first token. |
strings:getIPAddressString(byte[]) | String | Returns the result of get ipaddress string. |
strings:getNewUrl(String, String) | String | Returns the result of get new url. |
strings:getNumber2A(int) | String | Returns the result of get number2 a. |
strings:getNumericContent(String) | String | Returns the result of get numeric content. |
strings:getPAN(String) | String | Returns the result of get pan. |
strings:getPlaceholder(String) | String | Returns the result of get placeholder. |
strings:getReverseVMID() | String | Returns the result of get reverse vmid. |
strings:getStringAfter(String, char, String) | String | Returns the result of get string after. |
strings:getStringBefore(String, char, String) | String | Returns the result of get string before. |
strings:getStyleSet(String, Class<E>) | <E extends Enum<E>> EnumSet<E> | Returns the result of get style set. |
strings:getUrlParameterByName(String, String) | String | Returns the result of get url parameter by name. |
strings:getUUID() | String | Returns the result of get uuid. |
strings:getVMID() | String | Returns the result of get vmid. |
strings:getWordsAllowingEnclosedSeparators(String, char, char) | String[] | Returns the result of get words allowing enclosed separators. |
strings:hasPlaceholders(String) | boolean | Returns whether has placeholders. |
strings:hexToByte(String, int) | byte | Provides the hex to byte operation. |
strings:hexToShort(String) | short | Provides the hex to short operation. |
strings:humanReadableByteCount(long) | String | Provides the human readable byte count operation. |
strings:indexOf(String, String) | int | Provides the index of operation. |
strings:isAlphaNumeric(String) | boolean | Returns whether is alpha numeric. |
strings:isAlphaNumericChar(char) | boolean | Returns whether is alpha numeric char. |
strings:isBoolean(Object) | boolean | Returns whether is boolean. |
strings:isEmpty(Object) | boolean | Returns whether the supplied value is null or empty. |
strings:isInteger(String) | boolean | Returns whether is integer. |
strings:isMark(char) | boolean | Returns whether is mark. |
strings:isNumeric(String) | boolean | Returns whether is numeric. |
strings:isNumericAndNotEmpty(String) | boolean | Returns whether is numeric and not empty. |
strings:isPrintableAscii(String) | boolean | Returns whether is printable ascii. |
strings:isStringLiteral(String) | boolean | Returns whether is string literal. |
strings:joinNotEmpty(String, String...) | String | Provides the join not empty operation. |
strings:joinWithSeparator(Collection<String>, String) | String | Provides the join with separator operation. |
strings:lastIndexOf(String, String) | int | Provides the last index of operation. |
strings:locateText(String, String) | int[] | Provides the locate text operation. |
strings:locateTextIgnoreCase(String, String) | int[] | Provides the locate text ignore case operation. |
strings:makeFullClassName(String, String) | String | Provides the make full class name operation. |
strings:manglePAN(String) | String | Provides the mangle pan operation. |
strings:manglePANLess(String) | String | Provides the mangle panless operation. |
strings:mangleString(String, int, int) | String | Provides the mangle string operation. |
strings:mangleStringEnd(String, int) | String | Provides the mangle string end operation. |
strings:mangleStringStart(String, int) | String | Provides the mangle string start operation. |
strings:mangleText(String) | String | Provides the mangle text operation. |
strings:overlayStrings(String, String) | String | Provides the overlay strings operation. |
strings:padLeftZeros(String, int) | String | Provides the pad left zeros operation. |
strings:padRightBlanks(String, int) | String | Provides the pad right blanks operation. |
strings:padRightChar(String, int, char) | String | Provides the pad right char operation. |
strings:padRightZeros(String, int) | String | Provides the pad right zeros operation. |
strings:parseAlphaEncodedLong(String) | long | Returns the result of parse alpha encoded long. |
strings:removeWhitespace(String) | String | Performs the remove whitespace operation. |
strings:replaceAndAppend(String, String, int, int) | String | Performs the replace and append operation. |
strings:replaceChar(String, char, String) | String | Performs the replace char operation. |
strings:replaceNewlinesWithSpace(String) | String | Performs the replace newlines with space operation. |
strings:replaceString(String, String, String) | String | Performs the replace string operation. |
strings:replaceWhitespaceWithSpace(String) | String | Performs the replace whitespace with space operation. |
strings:resolveClientPlaceholders(String) | String | Returns the result of resolve client placeholders. |
strings:resolveMultiplePlaceholders(String) | String | Returns the result of resolve multiple placeholders. |
strings:resolvePlaceholdersWithMap(String, Map<String, String>) | String | Returns the result of resolve placeholders with map. |
strings:resolveSinglePlaceholder(String) | String | Returns the result of resolve single placeholder. |
strings:resolveSystemPlaceholders(String) | String | Returns the result of resolve system placeholders. |
strings:rightStringPadLeft(String, int, char) | String | Provides the right string pad left operation. |
strings:rightStringPadLeftWhiteSpace(String, int) | String | Provides the right string pad left white space operation. |
strings:rightStringPadLeftZeros(String, int) | String | Provides the right string pad left zeros operation. |
strings:rightStringPadRightZeros(String, int) | String | Provides the right string pad right zeros operation. |
strings:separateIntoLines(String, int) | String[] | Provides the separate into lines operation. |
strings:separateIntoLinesString(String, int) | String | Provides the separate into lines string operation. |
strings:shortToHex(short) | String | Provides the short to hex operation. |
strings:splitCommaDelimitedString(String) | String[] | Provides the split comma delimited string operation. |
strings:splitStringWithEscapedCharSupport(String, Character, Character, boolean) | String[] | Provides the split string with escaped char support operation. |
strings:splitStringWithQuoteCharacters(String, char, char, boolean) | String[] | Provides the split string with quote characters operation. |
strings:startsWith(String, String) | boolean | Provides the starts with operation. |
strings:stringMatchesGlob(String, String) | boolean | Provides the string matches glob operation. |
strings:stringMatchesPattern(String, String) | boolean | Provides the string matches pattern operation. |
strings:stripEnclosingQuotes(String) | String | Provides the strip enclosing quotes operation. |
strings:stripLeadingZeros(String) | String | Provides the strip leading zeros operation. |
strings:substring(String, Integer, Integer) | String | Provides the substring operation. |
strings:toByteArray(String) | byte[] | Returns the result of to byte array. |
strings:toInteger(String, Integer) | Integer | Returns the result of to integer. |
strings:toLeadingUpperCase(String) | String | Returns the result of to leading upper case. |
strings:toLowerCase(String) | String | Returns the result of to lower case. |
strings:toString(Object) | String | Returns the result of to string. |
strings:toUpperCase(String) | String | Returns the result of to upper case. |
strings:translate(String, String, String) | String | Provides the translate operation. |
strings:trim(String[]) | String[] | Performs the trim operation. |
strings:trimSlashes(String) | String | Performs the trim slashes operation. |
strings:trimString(String) | String | Performs the trim string operation. |
strings:truncate(String, int) | String | Provides the truncate operation. |
strings:wrapString(String, int) | String | Provides the wrap string operation. |
XML Functions
XML parsing, serialisation and XML utility operations.
| Expression method | Returns | Purpose |
|---|---|---|
xmls:addEnclosingTag(String, String) | String | Performs the add enclosing tag operation. |
xmls:beautifyXML(String) | String | Provides the beautify xml operation. |
xmls:createDocumentBuilderFactory() | DocumentBuilderFactory | Performs the create document builder factory operation. |
xmls:createSAXParserFactory() | SAXParserFactory | Performs the create saxparser factory operation. |
xmls:createSchemaValidator(String, InputStream) | Validator | Performs the create schema validator operation. |
xmls:createTransformerFactory() | TransformerFactory | Performs the create transformer factory operation. |
xmls:createXmlInputFactory() | XMLInputFactory | Performs the create xml input factory operation. |
xmls:createXMLReader() | XMLReader | Performs the create xmlreader operation. |
xmls:decodeInvalidXml(String) | String | Performs the decode invalid xml operation. |
xmls:encodeInvalidXml(String) | String | Performs the encode invalid xml operation. |
xmls:findNodeOffset(org.w3c.dom.Node, org.xml.sax.InputSource) | long[] | Returns the result of find node offset. |
xmls:getFirstTag(String) | String | Returns the result of get first tag. |
xmls:getNodeValue(Object) | String | Returns the result of get node value. |
xmls:getTagContents(String, String) | String | Returns the result of get tag contents. |
xmls:isValidXML(String) | boolean | Returns whether is valid xml. |
xmls:now() | String | Returns the current date and time. |
xmls:parseBoolean(String) | boolean | Returns the result of parse boolean. |
xmls:parseEnum(Class<Enum>, String) | Enum<Enum> | Returns the result of parse enum. |
xmls:parseFloat(String) | float | Returns the result of parse float. |
xmls:parseInt(String) | int | Returns the result of parse int. |
xmls:parseLong(String) | long | Returns the result of parse long. |
xmls:parseString(String) | String | Returns the result of parse string. |
xmls:parseVersion(String) | IVersion | Returns the result of parse version. |
xmls:resolveXPath(String, String) | String | Returns the result of resolve xpath. |
xmls:stripDefaultNamespace(byte[]) | byte[] | Provides the strip default namespace operation. |
xmls:stripNamespaces(String) | String | Provides the strip namespaces operation. |
xmls:testEquality(org.w3c.dom.Node, org.w3c.dom.Node) | boolean | Returns whether test equality. |
xmls:unwrap(Object) | Object | Provides the unwrap operation. |
xmls:xmlDeSerialise(String) | Object | Provides the xml de serialise operation. |
xmls:xmlSerialise(Object) | String | Provides the xml serialise operation. |