|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.uif.util.ExpressionUtils
public class ExpressionUtils
Utility class for UIF expressions
Constructor Summary | |
---|---|
ExpressionUtils()
|
Method Summary | |
---|---|
static void |
evaluateCurrentStack(String stack,
List<String> controlNames)
Used internally by parseExpression to evalute if the current stack is a property name (ie, will be a control on the form) |
static String |
parseExpression(String exp,
List<String> controlNames)
Takes in an expression and a list to be filled in with names(property names) of controls found in the expression. |
static void |
populatePropertyExpressionsFromGraph(UifDictionaryBean expressionConfigurable,
boolean buildRefreshGraphs)
Pulls expressions within the expressionConfigurable's expression graph and moves them to the property expressions map for the expressionConfigurable or a nested expressionConfigurable (for the case of nested expression property names) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExpressionUtils()
Method Detail |
---|
public static void populatePropertyExpressionsFromGraph(UifDictionaryBean expressionConfigurable, boolean buildRefreshGraphs)
Expressions that are configured on properties and pulled out by the UifBeanFactoryPostProcessor
and put in the UifDictionaryBean.getExpressionGraph()
for the bean that is
at root (non nested) level. Before evaluating the expressions, they need to be moved to the
UifDictionaryBean.getPropertyExpressions()
map for the expressionConfigurable that
property
is on.
expressionConfigurable
- - expressionConfigurable instance to process expressions forbuildRefreshGraphs
- - indicates whether the expression graphs for component refresh should be builtpublic static String parseExpression(String exp, List<String> controlNames)
exp
- controlNames
-
public static void evaluateCurrentStack(String stack, List<String> controlNames)
stack
- controlNames
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |