Class LumisExpressionEvaluatorImpl


  • public class LumisExpressionEvaluatorImpl
    extends lumis.portal.el.commonsel.ExpressionEvaluatorImpl
    Object that extends the standard ExpressionEvaluatorImpl. This object however does not store expressions in cache.
    Since:
    4.0.9
    Version:
    $Revision: 20622 $ $Date: 2017-10-18 13:14:01 -0200 (Wed, 18 Oct 2017) $
    • Constructor Detail

      • LumisExpressionEvaluatorImpl

        public LumisExpressionEvaluatorImpl()
    • Method Detail

      • customFunctionInvocationEvalution

        public static Object customFunctionInvocationEvalution​(lumis.portal.el.commonsel.FunctionInvocation functionInvocation,
                                                               VariableResolver pResolver,
                                                               FunctionMapper functions,
                                                               lumis.portal.el.commonsel.Logger pLogger)
                                                        throws ELException
        Throws:
        ELException
      • parseExpressionString

        public Object parseExpressionString​(String pExpressionString)
                                     throws ELException
        Description copied from class: lumis.portal.el.commonsel.ExpressionEvaluatorImpl
        Gets the parsed form of the given expression string. If the parsed form is cached (and caching is not bypassed), return the cached form, otherwise parse and cache the value. Returns either a String, Expression, or ExpressionString.
        Overrides:
        parseExpressionString in class lumis.portal.el.commonsel.ExpressionEvaluatorImpl
        Throws:
        ELException
      • evaluate

        public Object evaluate​(String expressionString,
                               Class expectedType,
                               VariableResolver resolver,
                               FunctionMapper functions)
                        throws ELException
        Description copied from class: lumis.portal.el.commonsel.ExpressionEvaluatorImpl
        Evaluates the given expression String
        Overrides:
        evaluate in class lumis.portal.el.commonsel.ExpressionEvaluatorImpl
        Parameters:
        expressionString - The expression to be evaluated.
        expectedType - The expected type of the result of the evaluation
        resolver - A VariableResolver instance that can be used at runtime to resolve the name of implicit objects into Objects.
        functions - A FunctionMapper to resolve functions found in the expression. It can be null, in which case no functions are supported for this invocation.
        Returns:
        the expression String evaluated to the given expected type
        Throws:
        ELException