Framework Web Tools


  • Available UEL Methods

Uel string key Uel Method class Uel method params Uel description
math:cosh class java.lang.Math double Returns the hyperbolic cosine of a double value.
math:minInt class java.lang.Math int, int Returns the smaller of two int values.
util:label class org.apache.ofbiz.base.util.string.UelFunctions java.lang.String, java.lang.String, java.util.Locale Returns the size of Maps,
math:absFloat class java.lang.Math float Returns the absolute value of a float value.
dom:readHtmlDocument class org.apache.ofbiz.base.util.string.UelFunctions java.lang.String Reads an HTML file and returns a org.w3c.dom.Document instance.
math:log10 class java.lang.Math double Returns the base 10 logarithm of a double value.
str:replaceFirst class org.apache.ofbiz.base.util.string.UelFunctions java.lang.String, java.lang.String, java.lang.String Replaces the first substring of this string that matches the given regular expression with the given replacement.
math:exp class java.lang.Math double Returns Euler's number e raised to the power of a double value.
dom:writeXmlDocument class org.apache.ofbiz.base.util.string.UelFunctions java.lang.String, org.w3c.dom.Node, java.lang.String, boolean, boolean, int Writes a org.w3c.dom.Node to an XML file and returns true if successful.
util:defaultLocale class java.util.Locale   Returns the default TimeZone.
date:week class org.apache.ofbiz.base.util.UtilDateTime java.sql.Timestamp, java.util.TimeZone, java.util.Locale Returns the week value of Timestamp.
str:substring class org.apache.ofbiz.base.util.string.UelFunctions java.lang.String, int, int Returns a new string that is a substring of this string. The substring begins at the specified beginIndex and extends to the character at index endIndex - 1. Thus the length of the substring is endIndex-beginIndex.
math:minFloat class java.lang.Math float, float Returns the smaller of two float values.
math:maxLong class java.lang.Math long, long Returns the greater of two long values.
date:monthEnd class org.apache.ofbiz.base.util.UtilDateTime java.sql.Timestamp, java.util.TimeZone, java.util.Locale Returns Timestamp set to end of month.
str:toString class org.apache.ofbiz.base.util.string.UelFunctions java.lang.Object Converts all of the characters in this String to lower case using the rules of the default locale.
math:random class java.lang.Math   Returns a double value with a positive sign, greater than or equal to 0.0 and less than 1.0.
date:weekStart class org.apache.ofbiz.base.util.UtilDateTime java.sql.Timestamp, java.util.TimeZone, java.util.Locale Returns Timestamp set to start of week.
math:maxInt class java.lang.Math int, int Returns the greater of two int values.
math:roundDouble class java.lang.Math double Returns the closest long to the argument.