org.ofbiz.widget.tree
Class ModelTreeCondition.IfHasPermission

java.lang.Object
  extended by org.ofbiz.widget.tree.ModelTreeCondition.TreeCondition
      extended by org.ofbiz.widget.tree.ModelTreeCondition.IfHasPermission
Enclosing class:
ModelTreeCondition

public static class ModelTreeCondition.IfHasPermission
extends ModelTreeCondition.TreeCondition


Field Summary
protected  FlexibleStringExpander actionExdr
           
protected  FlexibleStringExpander permissionExdr
           
 
Fields inherited from class org.ofbiz.widget.tree.ModelTreeCondition.TreeCondition
modelTree
 
Constructor Summary
ModelTreeCondition.IfHasPermission(ModelTree modelTree, org.w3c.dom.Element condElement)
           
 
Method Summary
 boolean eval(java.util.Map<java.lang.String,java.lang.Object> context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

permissionExdr

protected FlexibleStringExpander permissionExdr

actionExdr

protected FlexibleStringExpander actionExdr
Constructor Detail

ModelTreeCondition.IfHasPermission

public ModelTreeCondition.IfHasPermission(ModelTree modelTree,
                                          org.w3c.dom.Element condElement)
Method Detail

eval

public boolean eval(java.util.Map<java.lang.String,java.lang.Object> context)
Specified by:
eval in class ModelTreeCondition.TreeCondition